User Profile
Collapse
-
I fixed it, but the problem is that now I've just made some input (Alex, 1, 2, FEMALE), but this should be done by the user of the program. Do you know how to fix that?... -
Yeah, you're correct. Had actually done that, seems like it got lost... The program worked when I compiled it. Probably forgot to save the last changes.
And yes, this: new Human("John",Hu man.MALE,3,2). This should be default. Should be read in from the keyboard by the user of the program. The same is this: HumanTable = new Human[30];...Leave a comment:
-
Well, I done some stuff, but I'm uncertain about the rest. I have to classes and one client. It's working now, but as it should do. Now I've decided the Humans information, but this should also be done by the user. As you can see above, there are several things that ain't working... I hope you can help me a bit!
class Human {
// Constants
final static boolean MALE = false;
final static boolean FEMALE = true;...Leave a comment:
-
please help me (object modelling)
Hi. I hope someone can help me with this-
First there is a category Human, which has information about name, gender, age and unique ID.
Human shall be saved in a class Town using a table.
The constructor Town(int numberhumans) has parameters, which says the number of humans the town can have (maximum). The program shall let the user do as followed:
- make a Town
- add a Human...
No activity results to display
Show More
Leave a comment: