Difference between Superclass and Subclass?

Answer Posted / janet

A super class is a class that is inherited where as sub
class is a class that does the inheriting.

Is This Answer Correct ?    58 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the major difference between linkedlist and arraylist?

484


How are multiple inheritances done in Java?

595


How define set in java?

488


How do you sort in ascending order in java?

500


what is the constructor and how many types of constructors are used in java?

509






How do you remove all elements from an arraylist in java?

484


Which sorting is best in java?

508


What is wrapper class html?

501


What are design patterns and please explain?

549


What is covariant return type?

608


What is a boolean flag in java?

540


What are "class access modifiers" in Java?

581


Print Vertical traversal of a Binary Tree.

583


What is parsing in grammar?

535


What is difference between string and new string?

516