what is the size of an empty class

Answer Posted / kaush

1 byte for empty class before assigning the value

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need polymorphism in c#?

793


Can main method override?

666


What is class encapsulation?

709


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1882


What is class and example?

671






Why do we use polymorphism?

653


What is abstraction encapsulation?

749


Write a program to sort the number with different sorts in one program ??

1992


What is abstraction in oop with example?

742


What is class in oop with example?

705


Why do we use inheritance?

716


What are different oops concepts?

670


What is inheritance and how many types of inheritance?

708


What is polymorphism in oops?

637


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1731