Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Simple question

807599Feb 22 2007 — edited Feb 22 2007
im having a hard time with constructors... i keep declaring a method instead of a constructor..

so basically, is the constructor supposed have a separate class? and is it supposed to be outside the main method?

thanks in advance

-Arch-^_^
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2007
Added on Feb 22 2007
17 comments
224 views