Plz read the question very carefully.I need call all the member methods from the main method by creating object only.And all the member methods are necessary.The constructor is parametrized.I need the answer according to the question only and not in ur own way.
Define a class student
described as below:-
Data Members-
name,age,m1,m2,m
3(marks in 3 sub)
,maximum,average
Member Methods-
1)A parametrized
constructor to initialize
the data members
2)To accept the details of a
student
3)To compute average and
maximum out of 3 marks
4)To display
name,age,marks in 3
sub,max,avg
Write a main method
create an object and CALL
THE ABOVE METHODS