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

IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1585


write a programe to calculate the simple intrest and compund intrest using by function overlading

1672


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2110


What is oops with example?

566


What is object in oop with example?

708






What is an advantage of polymorphism?

601


What is abstraction and encapsulation?

577


What are classes oop?

602


What is destructor example?

602


What is super in oop?

601


What is the difference between inheritance and polymorphism?

594


What is an interface in oop?

600


What do you mean by abstraction?

622


explain sub-type and sub class? atleast u have differ it into 4 points?

1840


Can destructor be overloaded?

603