Difference between Superclass and Subclass?

Answer Posted / anjali saxena

The class from which another class is derived is called base class or super class. The class which is derived from base class is called sub class or derived class.

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is daemon thread and which method is used to create the daemon thread? : Java thread

526


Differentiate between vector and array list.

633


What is a nested structure?

532


In the below example, what will be the output?

590


What is singleton math?

569






Outline the major features of java.

561


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

846


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1428


What is float in java?

557


What is append function?

562


What do you understand by copy constructor in java?

490


What is replaceall in java?

541


What is length in java?

566


Explain exception chaining in java?

604


What is the program development process?

558