Hi All,

I tried running the example as typed here, with this line:

public class GreatestNumber

...but nothing happened.  I assume that's because you need a Main class as
the entry point, correct?

So is this a typo?  The only way I could get this to run was to change the
class name (and therefore the file name) back to Main (and Main.java),
respectively.


Just wanted to clarify for anyone else who might be having trouble, and to
verify that my understanding is correct.

Thanks!

Cheers,

-m

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to