what is the size of an empty class

Answers were Sorted based on User's Feedback



what is the size of an empty class..

Answer / rams

no spece because that is empty that's why garbage collector
will catch

Is This Answer Correct ?    5 Yes 12 No

what is the size of an empty class..

Answer / abu

1 KB

Is This Answer Correct ?    0 Yes 8 No

Post New Answer

More OOPS Interview Questions

What is the types of inheritance?

0 Answers  


What are oops methods?

0 Answers  


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

2 Answers  


I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe

1 Answers  


What is Virtual Keyword?

9 Answers   IBM, NA,






Will I be able to get a picture in D drive to the c++ program? If so, help me out?

0 Answers  


diff between Virtual mathod and abstract method?

1 Answers  


why to use operator overloading

3 Answers  


what is the need of abstraction? what is abstraction?what is the abstraction for stack?

8 Answers   CTS, Verizon,


What is encapsulation in simple terms?

0 Answers  


Can destructor be overloaded?

0 Answers  


What is the purpose of enum?

0 Answers  


Categories