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...


Explain about Superclass and Subclass?

Answers were Sorted based on User's Feedback



Explain about Superclass and Subclass?..

Answer / jagadeesh

sub class is the child of super class and super class is
the parent of sub class

sub class auto matically having all the properties of sub
class and super class itsef, but super class having all the
properties of super class only not the sub class properties.

Is This Answer Correct ?    8 Yes 0 No

Explain about Superclass and Subclass?..

Answer / ravikiran(aptech mumbai)

super class is the one which will declare members and
methods and will allow all the subclasses to make use of them.

sub class is the class which inherits the mebes and methods
from the super class and declares it's own members as well.

Is This Answer Correct ?    5 Yes 1 No

Explain about Superclass and Subclass?..

Answer / sanjay singh chauhan

like above example both are right the child class have all
the proprety of the parrent class when we requored then we
call with child class object;

Is This Answer Correct ?    3 Yes 1 No

Explain about Superclass and Subclass?..

Answer / niranjanravi

Super class is the class that is inherited and Subclass is
the class that does inheriting.

Is This Answer Correct ?    4 Yes 3 No

Explain about Superclass and Subclass?..

Answer / kumari

super class all properties bydefault available to the sub class super class properties and methods inherited in subclass
if sub class not satisfy with super class properties then modify that properties by using oop's concept.

Is This Answer Correct ?    2 Yes 2 No

Explain about Superclass and Subclass?..

Answer / mike

The original object or an entity class becomes a superclass of the original object or entity when a subclass has been derived one or more occurances inheriting the attributes of the superclass.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is the use of join method?

0 Answers  


How to write custom exception in java?

0 Answers   Cyient,


What is meant by collection in java?

0 Answers  


What is difference between equals and hashcode method?

0 Answers  


How do you define a parameter?

0 Answers  


what models are available for event handling?

1 Answers  


when should you use stringbuilder class in a program?

0 Answers  


What is the code inside the public void actionPerformed(ActionEvent ae) override method in Applet [ Condition:- you have one TextField and One Button , you have to enter any color name inside the TextField, when you click on Button Your background will change according to your input color name]

2 Answers   IBM,


Can we sort a map in java?

0 Answers  


What is public static?

0 Answers  


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

0 Answers  


Can u overload main()method.Give with example.

6 Answers   IBM, Schimatic Technologies,


Categories