What is the difference between a Class and an Object ?

What is the difference between a Class and an Object ?

A class is a construct that defines a collection of properties and methods. It can be viewed as a template.
Object is an instance of a class.

By:Sumit Tripathi
Date:2026-05-15 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher