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
Is finalize() similar to a destructor?
What is difference between class and object in java?
What’s the difference between constructors and other methods?
What do you understand by the term singleton?
Variables used in a switch statement can be used with which datatypes?
What is collection class in java?
What happens when a thread cannot acquire a lock on an object in java programming?
Does java support Operator Overloading?
Is 0 a real number?
Explain the term virtual machine?
What are the basic concepts of OOPS in java?
List the interfaces which extends collection interface?
Can list be final in java?
what do you mean by marker interface in java?
Does treeset use compareto?