You notice that even though Program has a main method, the only main method appearing in that printout is in Hello. Then you get its inheritance hierarchy that is peculiar having a console application which extends applet.Īnd names of all methods. }It shows that you get the Hello World output, then no interfaces (I had thought it implemented Runnable but apparently not). I enhanced your class to print out methods and interfaces. Although Program (which you are extending) has a main method, it requires you have a main method in your cirrent class. Still, snags are likely as with every major upgrade of your OS. Many hints about upgrading have already been written. I tried that same program as you had and got exactly the same Exception. After royally procrastinating the last OS X upgrade, I figured Id tackle the OS X Yosemite upgrade a little earlier this time, starting with my least critical machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |