pretty vague as to what example your working on...
but, yes, main is the program starting point...
if you forgot to check the 'Create Main Class' when you created the
project, you can
also set/change the class in the project properties/Set Configuration/
Customize... option

On Feb 15, 2:10 pm, "[email protected]" <[email protected]> wrote:
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to