Object class in Java :
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.
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. For example:
Object obj=getObject();//we don't know what object will be returned from this method
On this page of the site you can watch the video online Lesson - 1 : java.lang Package - Object Class in Java Programming Language with a duration of hours minute second in good quality, which was uploaded by the user Sada Learning Hub 12 February 2017, share the link with friends and acquaintances, this video has already been watched 1,600 times on youtube and it was liked by 10 viewers. Enjoy your viewing!