Difference between Class and Object.

Class is a blue print or a model, objects are actual things which are created using these blue prints/models.

Generally, objects are created at runtime when you start JVM with java command and JVM will start executing your code, whenever JVM encounters new keyword it will create an object.

Comments