When is a memory allocated to a class?

Answer Posted / sourav das

when object is created of that class then only memory is
allocated.with out object there is no Existence 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 the importance of oop?

613


How to use CMutex, CSemaphore in VC++ MFC

4333


What is the main purpose of inheritance law?

673


Can abstract class have normal methods?

616


What is abstraction in oops with example?

776






write a program to find 2^n+1 ?

1553


What is encapsulation with example?

581


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1780


Why do we need polymorphism in c#?

688


what is the drawback of classical methods in oops?

2920


What is the diamond problem in inheritance?

579


What are the 5 oop principles?

603


What is encapsulation process?

584


What does no cap mean?

592


Why oops is important?

616