Computer Science, asked by Anonymous, 5 months ago

\huge \mathscr \pink \underline {question} \red


What is an object class in Java??


Please give relevant answers only☑️

Don't spam ❌

Answers

Answered by Anonymous
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 sairam1919
23

\huge\fbox{\fbox{Answer}}

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