When is a memory allocated to a class?

Answers were Sorted based on User's Feedback



When is a memory allocated to a class?..

Answer / pushpankar mishra

i woould like to clear one thing that object and instance
are two sligthly differnt things

int a; // 'a 'is instance
a=20;//'a' is a object

eg:object+instance
|

int a=20// object + instance;;

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More OOPS Interview Questions

What are the benefits of oop?

0 Answers  


What do you mean by overloading?

0 Answers  


Explain the advantages of inheritance.

0 Answers   TCS,


What is friend function?

12 Answers   Wipro,


why reinterpret cast is considered dangerous?

0 Answers   TCS,






There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?

2 Answers  


what is an qt4 interface?

1 Answers   IBM,


What is an object?

14 Answers   HCL,


Can bst contain duplicates?

0 Answers  


What do you mean by public, private, protected and friendly?

3 Answers   CA,


How Do you Code Composition and Aggregation in C++ ?

3 Answers   IBM, NET,


What is use of overloading?

0 Answers  


Categories