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
How many types of memory areas are allocated by JVM in java?
Explain parallel processing in java8?
Is there a case when finally will not execute?
What is the purpose of using the java bean?
Write a function to print Fibonacci series and Tribonacci series?
Explain an algorithm to find depth of a binary tree.
Can we have any code between try and catch blocks?
How do you sort in descending order in java using collections sort?
How to change the priority of thread or how to set priority of thread?
Differentiate between stringbuffer and stringbuilder in java.
Which java ide is used the most?
What does the three dot emoji mean?
What is the difference between JVM and JRE?
What is the return type of the main method?
how are methods defined?