class A
{
private int i;
}
class B extends A
{
private int i;
}

if I create an object of B class what will be the memory of that object.

Answer Posted / bhavya

12 bytes

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between final and finally in java?

586


What does this mean java?

558


What is the applet security manager, and what does it provide?

536


What do you mean by thread safe?

540


What is java and their uses?

548






What is an interface in java?

563


What are static blocks in java ?

612


What is a class instance variable?

618


How do you read and print a string in java?

523


How hashset works internally in java?

585


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1602


Why generics are used in java?

552


What state does a thread enter when it terminates its processing in java programming?

578


Does java support multiple inheritances?

558


Differentiate between stringbuffer and string?

593