Difference between Superclass and Subclass?

Answer Posted / ah socheat

super class is a simple class that generally;
sub class is a class that inheritance from super class; and can use method or data type in super class(if method or datatype use as public);

Is This Answer Correct ?    13 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between a Thread and a Process.

540


Can we force garbage collector to run ?

549


What is an exception? difference between Checked and Unchecked exception in Java

534


What causes memory leaks in java?

460


What is the difference between overriding & overloading?

538






What is the difference between && and & in java?

541


What is difference overloading and overriding?

556


What is finally block?

547


What does regex mean?

538


How does multithreading take place on a computer with a single cpu?

518


How can constructor chaining be done by using the super keyword?

595


Is it necessary for the port addresses to be unique? Explain with reason.

547


What does system out println () do?

535


What is the declaration statement?

484


What is singleton service?

484