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
How we can generate random numbers in java?
How do you declare an array in java?
Can we override compareto method?
Explain about arraylist?
Can we execute a program without main?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
What are white spaces in java?
What are the features of junit?
What do you understand by access specifiers in Java?
when you will synchronize a piece of your code? : Java thread
How can we create an immutable class in java?
What isan abstract class and when do you use it?
What are the different conditional statements?
What are methods and how are they defined?
Can we have any other return type than void for main method?