I am new to Java language and just trying to get to grips with it.
I have been given this question:
Write a class in which use instance variables name and myval and make objects of this class and assign the value of myval variable using Math.random() method and print the name of objects who gets the maximum and minimum values .
The problem is it asking to print the name of objects wh gets the maximum and minimum values?
What are they asking from that?