LyonJay
asked on
Simple Java
Dear all,
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?
Regards
Lyon JT
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?
Regards
Lyon JT
Can you please explain a bit better? and also post the code you have at the moment
ASKER
I need to answer that question above basically.
I have no code at the moment i wanted to understand the question before i code it.
Regards
Lyon JT
I have no code at the moment i wanted to understand the question before i code it.
Regards
Lyon JT
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.