||Object is an instance of a class.
||Class is a blueprint or template from which objects are created.
||Object is a real world entity such as pen, laptop, mobile, bed, keyboard, mouse, chair etc.
||Class is a group of similar objects.
||Object is a physical entity.
||Class is a logical entity.
||Object is created through new keyword mainly e.g.
Student s1=new Student();
|Class is declared using class keyword e.g.
||Object is created many times as per requirement.
||Class is declared once.
||Object allocates memory when it is created.
||Class doesn't allocated memory when it is created.
||There are many ways to create object in java such as new keyword, newInstance() method, clone() method, factory method and deserialization.