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 hashset in java?
Who is founder of java?
Why is java multithreaded?
Write a code to create a trigger to call a stored procedure
What are the advantages of compiled language?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
Why is whitespace important?
How to create an immutable class?
Can bool be null?
Why can't you declare a class as protected?
Why do we need variables?
What is foreach loop in java?
What is difference between static and final?
What is parsing a sentence?
Can java cast null?