Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between Superclass and Subclass?

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


Please Help Members By Posting Answers For Below Questions

What is a function in java?

983


What is the difference between applet and application?

967


How can we avoid including a header more than once?

992


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

1053


Can we override the static method?

972


What two classes are used to read data only?

1044


What if constructor is protected in java?

1039


Is integer immutable in java?

940


What is an abstract class and what is it’s purpose?

916


why would you use a synchronized block vs. Synchronized method? : Java thread

908


When throws keyword is used?

956


What is a stack class in java ?

1063


What differences exist between iterator and listiterator?

1005


What are data types in oop?

1000


What is float in java?

943