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
What is difference between final and finally in java?
What does this mean java?
What is the applet security manager, and what does it provide?
What do you mean by thread safe?
What is java and their uses?
What is an interface in java?
What are static blocks in java ?
What is a class instance variable?
How do you read and print a string in java?
How hashset works internally in java?
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).
Why generics are used in java?
What state does a thread enter when it terminates its processing in java programming?
Does java support multiple inheritances?
Differentiate between stringbuffer and string?