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
Which is illegal identifier in java?
Can we sort hashset in java?
What is an example of procedure?
Explain purpose of sleep() method in java?
If you do not want your class to be inherited by any other class. What would you do?
What are three ways in which a thread can enter the waiting state in java programming?
What is concurrent hashmap and its features?
Explain method local inner classes ?
How do you do math powers in java?
How do you check if a character in a string is a digit or letter?
What are extraneous variables examples?
How do you detect memory leaks?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
What are annotations in java?
How many bytes is a char in java?