Answer to Question #25028 in Java | JSP | JSF for HLy

Question #25028
I am new to JAVA ! When I am going to write a program , how can I decide how many Class I have to create ? And how can I know what members , method in each class ? What the purpose of MAIN CLASS How can Classes as well as methods connected to run my program ? With C++ before , I usually write code only on one main screen with all variables together. Thank you
1
Expert's answer
2013-02-26T09:58:23-0500
It depends how the programfits inside your head. If you see it requiring four classes, then that's how
many you should use. Just make sure that your classes aren't doing too much-
small is generally better with methods and classes.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS