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
What is Java Reflection API? Why it’s so important to have?
What do you mean by platform independence? What is an interface?
Why do we use regex?
If an object is garbage collected, can it become reachable again?
What are heap memory and stack memory and what are memory tables.
What are the main differences between the java platform and other platforms?
What is the main difference between java platform and other platforms?
Explain about method local inner classes or local inner classes in java?
How do you use spaces in java?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
How do you achieve polymorphism in java?
What an i/o filter?
What is an anonymous class in java?
how do I create a runnable with inheritance? : Java thread
Can we override singleton class?