Answer Posted / sanjay singh chauhan
like above example both are right the child class have all
the proprety of the parrent class when we requored then we
call with child class object;
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is reverse function?
Which eclipse is best for java?
In java, what is the difference between method overloading and method overriding?
Explain yield() method in thread class ?
Is static variable stored in heap?
Is it possible to instantiate the abstract class?
Why java is a platform independent? Explain
Can we override singleton class?
What is :: operator in java 8?
Is arraylist an object in java?
What is a parameter used for?
Explain working of call by reference function invoking.
Can we access instance variables within static methods ?
What is a java predicate?
Which command from the jdk compiles a java program?