My teacher wanted something like this, but I do not fully understand it. Can you help me, I'm just starting java. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My teacher wanted something like this, but I do not fully understand it. Can you help me, I'm just starting java.

Student class is defined as follows.   Class Student {int Number                          String Name} Using the “Student” class write a Java program that reads student’s data on the screen into one dimension array. List the data that you red in array. Test your program for 10 students and show the result list.

26th Nov 2020, 6:14 PM
Hasan Aydın
Hasan Aydın - avatar
2 Answers
26th Nov 2020, 6:46 PM
JaScript
JaScript - avatar
0
for 10 students create an object of Student s to s.name add number (from a user) to s.name add name add s to an array print data from array
26th Nov 2020, 8:10 PM
zemiak