+ 3
Java
I really want to know , how do you know the number of classes you need when creating an app?#java
9 Antworten
+ 2
its just how you deaign the application , its upon you , when you create some applications small ones you understand that yourself there is no hard rule
+ 4
It can be only one or two classes or may be thousands of classes it depends upon the app or software. Realistic and dynamic programmes contain many classes.
+ 3
Y Jesse Jagaba depends on your problem statement, when you look at the needs of the customer you can pick out classes from most of the nouns used in the problem and the verbs are typically put into methods. in any business related profession understanding the problem is half your solution.
+ 3
Y Jesse Jagaba yes exactly any noun that has some information you need, so say your candidates had to take a test, we now have a test class that contains questions and question could be a class that contains the question to be asked and the answer to it and means for checking the answer given and returning the correct one, then the test class could have ways of seeing how many questions were answered right and whether they pass or fail, and candidate could contain the name, age, DOB, and contact info.
+ 1
yes , but there should be a technich to identify how many classes will be in a program
+ 1
lets take for instance you want to create an app that that accepts candidates details and display if you are eligble for work or addmision ? how do i know how many classes i will need
+ 1
Y Jesse Jagaba well one clear 1 would be candidate, and then perhaps a utility class for determining eligibility and storing potential candidated
+ 1
thats to say the nouns are your class ?
0
I just learn to sololearn