Answer Posted / ankit sharma
size of empty class is 1 byte.
if object does not point to any resource.
it shows object is null but object also get some space in
memory by default either it is empty or not.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is destructor give example?
Can bst contain duplicates?
What is class encapsulation?
What is an advantage of polymorphism?
Why is polymorphism needed?
What is oops in simple words?
why reinterpret cast is considered dangerous?
What is abstraction in oop?
What is object and example?
what type of question are asked in thoughtworks pair programming round ?
What is the purpose of polymorphism?
What is object-oriented programming? Webopedia definition
What is encapsulation in oops?
What is polymorphism give a real life example?
Templates mean