Skip to content

re: Why does this Java code keep throwing Exception in thread "main" at line 8 when line 8 is the declaration for the main method? VIEW POST

re: From Googling, it seems this may be something that Eclipse does when you have a compile error somewhere in your project. For one, you must have a ...

BufferedImage is a part of awt, however he could remove the bottom two imports since he has all of awt already imported.


Yea, but it just helps to do that because I know in the past when I didn't do that it would sometimes complain that I didn't have those classes, so I double down to be safe.

code of conduct - report abuse