Answer Posted / som shekhar
1 byte.
Reason being when compiler sees an empty class then then it
assigns a 1 byte memory, since the compiler sees the
declaration of the class so he needs to assign some space in
the memory, and hence assign 1 byte memory to hold the
address of the class.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the use of oops?
What is meant by oops concept?
Can you inherit a private class?
what are the realtime excercises in C++?
Please send ford technologies placement paper 2 my mail id
What is oops in simple words?
Give two or more real cenario of virtual function and vertual object
What are two types of polymorphism?
What is the difference between encapsulation and polymorphism?
Why do we use oop?
What is encapsulation with real life example?
What is the difference between a constructor and a destructor?
Can private class be inherited?
what are the ways in which a constructors can be called?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?