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 difference between class template and template class?
What is a class in oop?
What is encapsulation and abstraction? How are they implemented in C++?
Why polymorphism is used in oops?
What is polymorphism used for?
Why it is called runtime polymorphism?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is the fundamental idea of oop?
What is the difference between a mixin and inheritance?
What is abstraction in oops with example?
When not to use object oriented programming?
c++ program to swap the objects of two different classes
What are the benefits of oop?
What makes a language oop?
Can a varargs method be overloaded?