What is the difference between class and object?

Answer Posted / kanchi

class is the advance version of structure because it contains the data and functions both so it is wrapped into a single unit called encapsulation.
Object is the instance of class and it always created at run time

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is constructor overloading in oop?

601


What are the components of marker interface?

600


Is abstract thinking intelligence?

592


What does and I oop mean in text?

619


How does polymorphism work?

635






What is the highest level of cohesion?

575


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1637


What is the difference between a constructor and a destructor?

609


What are the benefits of oop?

602


What is balance factor?

580


What is interface in oop?

658


What is abstraction in oops with example?

770


What is object-oriented programming? Webopedia definition

717


Why oops is important?

603


What is abstraction in oop?

630