Create a class 'Student' with three data members which are name, age and address. The
constructor of the class assigns default values name as "unknown", age as '0' and address as
"not available". It has two members with the same name 'setInfo'. First method has two
parameters for name and age and assigns the same whereas the second method takes has
three parameters which are assigned to name, age and address respectively. Print the name,
age and address of 10 students.
Hint - Use array of objects
Answers
Answered by
0
hhhhhhhn
Answer:
nnnnjjjjjknnjj
Explanation:
vvbhhhjiioo9i66yyyyyyuiiiiigg
Similar questions
Computer Science,
2 months ago
India Languages,
2 months ago
Math,
2 months ago
English,
5 months ago
English,
5 months ago
Math,
10 months ago
Biology,
10 months ago