difference between class and object

Answer Posted / maheshbirajdar

Class -
Class is collection of data member and member function .....
Class is logical entity...
Class is blueprint of object.....

class is collection of objects which holds properties of class...occupy
Object -

object that holds state , behaviour and identity properties

object is nothing but the having same memory space in ram.(minimum 1 byte compiler dependent).....

object is instance of class...............

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 overriding in oop?

548


What is the renewal class?

2161


What is the main purpose of inheritance law?

667


What is a class oop?

590


What is abstract class in oop?

526






What is the difference between static polymorphism and dynamic polymorphism?

579


What are the 4 main oop principles?

676


what type of questions

1695


What are the types of abstraction?

551


What is difference between multiple inheritance and multilevel inheritance?

601


Can enum be null?

583


What is encapsulation example?

545


Why is destructor used?

578


What is oops in programming?

562


Can you explain polymorphism?

576