LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 373 users online 225231 members 101 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
tigard
I haven't filled out my profile...
Mood: Scheming
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
3 online / 32 MPM
Christmas!
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic what is the main class and function for
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Echo one Posted at 11:31 am on Mar. 25, 2007
Okay, I solved the previous problem, but now I'm confused.

Why do you need a main class. Every tutorial I've tried doesn't use a main class, and many of the simpler programs don't use a
public static void main (String[] args) type function.

What are these for, why are they necessary, what rules are there in using them, and why doesn't it let you run without it?

Thank you so much in advance to whoever can help.

Replies
Echo one Posted at 11:31 am on Mar. 25, 2007
Okay, I solved the previous problem, but now I'm confused.

Why do you need a main class. Every tutorial I've tried doesn't use a main class, and many of the simpler programs don't use a
public static void main (String[] args) type function.

What are these for, why are they necessary, what rules are there in using them, and why doesn't it let you run without it?

Thank you so much in advance to whoever can help.

All 3 previous replies displayed.