Concept:
Classes in java are the collection of objects which has some similar properties. A class in java contains fields, methods, constructors, blocks, interfaces.
Explanation:
Everything is associated with classes and objects. An object is an instance of the class which has some state and behavior.
An object class(java.lang.object) is the parent class of all the java classes. It can be used when we do not know about the type of the object. By having the object as the super class , without knowing the type we can pass around objects using the object declaration.




