can we access the super class method using subclass object?
Answer Posted / azeem
Yes, you can acess the super class method by using the
subclass object because the super class methods are visible
to subclasses if not overriden. If the method is overriden,
then acess the super class method by using super.methodname
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
Which is bigger double or float?
What value is a variable of the string type automatically initialized?
Why java is secure? Explain.
Tell us something about an iterator.
Is arraylist an object in java?
What does flagged out mean?
What is instance synchronization?
Explain the purpose of garbage collection in Java?
Explain the access modifiers for a class, method and variables?
Is java 11 paid version?
What are the access modifiers available in java?
Give me an example of array and linked list? Where they can be used?
What is java lang string?
What is the size of boolean variable?
What is difference between overloading and overriding in java?