\huge \mathscr \pink \underline {question} \red
What is an object class in Java??
Please give relevant answers only☑️
Don't spam ❌
Answers
Answered by
0
The Object class is the parent class of all the classes in java by default. In other words, it is the topmost class of java. The Object class is beneficial if you want to refer any object whose type you don't know. Notice that parent class reference variable can refer the child class object, know as upcasting.
Answered by
23
The Object class is the parent class of all the classes in java by default. In other words, it is the topmost class of java. The Object class is beneficial if you want to refer any object whose type you don't know. Notice that parent class reference variable can refer the child class object, know as upcasting.
Similar questions
Business Studies,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago
Sociology,
5 months ago
Physics,
10 months ago
Math,
10 months ago