+ 3

Java

I really want to know , how do you know the number of classes you need when creating an app?#java

13th Aug 2018, 4:02 PM
Y Jesse Jagaba
Y Jesse Jagaba - avatar
9 ответов
+ 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
14th Aug 2018, 5:24 PM
Rajat Tyagi
Rajat Tyagi - avatar
+ 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.
13th Aug 2018, 4:23 PM
Maninder $ingh
Maninder $ingh - avatar
+ 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.
13th Aug 2018, 5:08 PM
StealthyTaco
StealthyTaco - avatar
+ 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.
14th Aug 2018, 11:41 AM
StealthyTaco
StealthyTaco - avatar
+ 1
yes , but there should be a technich to identify how many classes will be in a program
13th Aug 2018, 4:26 PM
Y Jesse Jagaba
Y Jesse Jagaba - avatar
+ 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
14th Aug 2018, 6:59 AM
Y Jesse Jagaba
Y Jesse Jagaba - avatar
+ 1
Y Jesse Jagaba well one clear 1 would be candidate, and then perhaps a utility class for determining eligibility and storing potential candidated
14th Aug 2018, 10:22 AM
StealthyTaco
StealthyTaco - avatar
+ 1
thats to say the nouns are your class ?
14th Aug 2018, 11:20 AM
Y Jesse Jagaba
Y Jesse Jagaba - avatar
0
I just learn to sololearn
13th Aug 2018, 5:17 PM
Jarin mun
Jarin mun - avatar