Analyst Integration Question:

What is the difference between a class and an object?

Tweet Share WhatsApp

Answer:

A class is a blue print on which objects are created. A class has code and behavior but an object has state and behavior. You cannot create an object without creating a class to represent its structure. Class is also used to map an object in memory, in Java, JVM does that for you.

Download Integration Programmer PDF Read All 87 Integration Programmer Questions
Previous QuestionNext Question
What is the difference between Overriding and Overloading?What is a strongly typed programming language?