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

why abstract class will have a constructor?

Answer Posted / nitin panwar

Bcoz each subclass executes the superclass constructor
before executing own constructor,thats why abstract class
has a constructor .

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string data?

987


Define interface in java?

1086


What are different types of expressions?

1122


What purpose do the keywords final, finally, and finalize fulfill?

1095


What variables are stored in stack?

979


What is a arraylist in java?

1075


Explain creating threads by implementing runnable class?

1174


Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram.

2054


How the metacharacters are different from the ordinary characters?

1021


Does java arraylist maintain insertion order?

1002


What is a buffer in java?

1036


what is thread? What are the high-level thread states? : Java thread

1277


What is the base class in java from which all classes are derived?

979


Can we override compareto method?

946


How do you identify independent and dependent variables?

1008