package dustin.examples; import java.util.Arrays; import static java.lang.System.out; /** * Simple demonstration of Arrays.toString(Object[]) method and the * Arrays ...
System.out.println("Roll number of the student is " + rno); System.out.println("Mark of the first subject is " + m1); System.out.println("Mark of the second subject is " + m2); ...
In Java, you can create an array of objects just like you would create an array of primitive types. An array of objects allows you to store multiple instances of a class in a single data structure.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results