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 list does not allow duplicates in java?
Give us the name of the list layoutmanagers in java?
Why declare Main() inside the class in java ?
How to stop a thread in java? Explain about sleep () method in a thread?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
How to implement an arraylist in java?
What is broken and continue statement?
What does %4d mean in java?
What is java used for on a computer?
What are 4 pillers of object orinted programming?
What is the old name of java?
When should you make a function static?
Does substring start with 0?
What is the purpose of static keyword in java?
Are arrays dynamic in java?