Answer Posted / sathya
A subclass inherits all the properties of a Super class.
A Subclass can access all the methods, variables of super
class and not vice versa.
A Subclass extends a Super class.
| Is This Answer Correct ? | 110 Yes | 22 No |
Post New Answer View All Answers
What is a function in java?
What is the difference between applet and application?
How can we avoid including a header more than once?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
Can we override the static method?
What two classes are used to read data only?
What if constructor is protected in java?
Is integer immutable in java?
What is an abstract class and what is it’s purpose?
why would you use a synchronized block vs. Synchronized method? : Java thread
When throws keyword is used?
What is a stack class in java ?
What differences exist between iterator and listiterator?
What are data types in oop?
What is float in java?