Analyst Integration Question:
What is the difference between a class and an object?
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.
Previous Question | Next Question |
What is the difference between Overriding and Overloading? | What is a strongly typed programming language? |