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
What is object-oriented programming?
What is nan inf?
Why are the objects immutable in java?
How big is a 64 bit float?
What is class level lock ?
Explain what is Marker interface?
How to sort a collection of custom Objects in Java?
What happens if main method is not static?
What does jenkins do?
how does multithreading take place on a computer with a single cpu? : Java thread
Can you instantiate the math class in Java?
What state is a thread in when it is executing?
What is data type in computer?
Can we store variables in local blocks?
What are the various access specifiers in java?