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 are classes oop?

604


what is different between oops and c++

2010


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’.

1791


What is the difference between abstraction and polymorphism?

625


What is object and class in oops?

597






INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1641


How many human genes are polymorphic?

583


What is coupling in oop?

608


What does I oop mean?

625


Which method cannot be overridden?

584


What is difference between abstraction and encapsulation?

598


What is static modifier?

644


Can enum be null?

594


What is polymorphism give a real life example?

572


What is the point of polymorphism?

600