write a java program to enter marks and names of 10 students in two different arrays and print it in a formatted tabular manner.
the format is...
Name Marks
Answers
Answered by
0
Answer:
2) Object and Class Example: Initialization through method
class Student{
int rollno;
String name;
void insertRecord(int r, String n){
rollno=r;
name=n;
}
void displayInformation(){System.out.println(rollno+" "+name);}
More items...
Similar questions