Answer Posted / ravikiran(aptech mumbai)
super class is the one which will declare members and
methods and will allow all the subclasses to make use of them.
sub class is the class which inherits the mebes and methods
from the super class and declares it's own members as well.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Which collection is sorted in java?
Difference between stack and queue?
How to provide security in java
Can we use return in constructor?
Why can we not override static method?
What is bool mean?
Explain the differences between static and dynamic variables?
What are the steps involved to write rmi based programs?
What are the features of java?
What are the three parts of a lambda expression?
How does a cookie work in Servlets?
What is the difference between call by reference and call by pointer?
What happens if main method is not static?
what methods would you overwrite in java.lang.object class?
What is the purpose of a volatile variable?