Computer Science, asked by sahil123431, 6 months ago

--------object is parent of all objects.​

Answers

Answered by llMichFabulousll
12

Explanation:

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. ... Let's take an example, there is getObject() method that returns an object but it can be of any type like Employee,Student etc, we can use Object class reference to refer that object.

Answered by PriyankaPriyanka
3

Answer:

|| ✬ᴀɴsᴡᴇʀ✬ ||

lang. Object is the root of the class hierarchy in Java. Every class has Object as a superclass either directly or indirectly. All objects, including arrays, extends from the Object class and implement the methods of this class.

|| ♕ᴍɪss_ɪɴɴᴏᴄᴇɴᴛ♕ ||

Similar questions