When is a memory allocated to a class?

Answer Posted / achal

when an object of that class is created and constructor
runs. memory is allocated in Stack (part of RAM)

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pure oop?

599


Why do we use polymorphism?

579


What is the importance of oop?

613


to find out the minimum of two integer number of two different classes using friend function

1645


Are polymorphisms mutations?

703






What is the highest level of cohesion?

581


What is polymorphism and types?

602


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6487


What is the important feature of inheritance?

635


What is multilevel inheritance?

727


What is the advantage of oop over procedural language?

630


What are main features of oop?

635


What is a class and object?

600


What is for loop and its syntax?

598


What is abstraction and encapsulation?

575