When is a memory allocated to a class?

Answer Posted / ramakrishna

A class is a template.As Teginder said,it will get
allocated memory when u create object of that class.

Is This Answer Correct ?    22 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain polymorphism?

583


What is inheritance in simple words?

627


write a C++ program for booking using constructor and destructor.

2053


What is the difference between abstraction and polymorphism?

619


What is a class in oop?

606






Why multiple inheritance is not possible?

602


What is encapsulation and abstraction? How are they implemented in C++?

637


What causes polymorphism?

577


What is difference between polymorphism and inheritance?

618


What is multilevel inheritance explain with example?

628


What are two types of polymorphism?

614


What does no cap mean?

592


Which language is not a true object oriented programming language?

646


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2108


What is protected in oop?

604