- 4

Write a Java program that displays your name, age, and state of origin

Please help me, it's an assignment

25th Aug 2019, 7:32 AM
Jehoshephard Jebson
Jehoshephard Jebson - avatar
3 Antworten
+ 1
The best way to do this is to use classes, I made a quick example but it's not worth using it if you dont understand it you can learn all this in java tutorials. https://code.sololearn.com/c5Jud6aF749K/?ref=app
25th Aug 2019, 10:32 AM
D_Stark
D_Stark - avatar
0
Thanks mahn
25th Aug 2019, 9:14 AM
Jehoshephard Jebson
Jehoshephard Jebson - avatar
- 1
easy create 3 variables string name, origin; int age; //get input for all the three variables //then print them btw im not a java person so i dont know how to get input or print stuff
25th Aug 2019, 7:59 AM
Cat Sauce
Cat Sauce - avatar