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 command line used for?
Does A Class Inherit The Constructors Of Its Superclass?
Can this keyword be used to refer static members?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Explain the importance of import keyword in java?
Can private method static?
How variables are declared?
What is use of set in java?
What is ascii format?
What do you mean by constructor?
What are kinds of processors?
How to call one constructor from the other constructor ?
How do you make a thread in java?
Why enumeration is faster than iterator?
What about main() method in java ?