. Define a class as :
class :
instance variables :
methods
:
Employee
default constructor
void print)
Prints grade of the employee as :
if sal >=50000
'A
if sal >=15,000 but less than 25,000 C
if sal < 15,000 'D'
String name, double sal, String addr
Employee ( String, double, String) parameterized constructor
if sal >=25,000 but less than 50,000 B
Answers
Answered by
0
Explanation:
l don't understand what you want to ask
Answered by
2
Answer:
sorry but can't understand what u told
Similar questions