Answer to Question #25028 in Java | JSP | JSF for HLy
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
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.
I think I'm satisfied. I didn't really understand the last 2 projects you completed for me so i don't know if they were missing anything. I will note that the first 4 projects did contain small errors or did not incorporate all the instructions but these were easy fixes and helped with my learning experience. i will use your service again if the need ever arises.