File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
What is the use of Creating constructor for Abstarct Classes
Joined: Mar 05, 2008
May 26, 2008 00:24:00
Any one please tell me what is the use of creating constructor for abstract class.
Joined: Jan 28, 2008
May 26, 2008 00:32:00
1. you can not instantiate abstract class.
2.when you instantiate a class(which is extends the Abstract class)..constructor calls it super class constructor .. that is the reason abstract class has constructor....
Hope it will help you
Thanks & Regards,
Joined: Aug 16, 2007
May 26, 2008 00:36:00
Welcome to the JavaRanch.
will definitely clear your confusion.
I suggest you to search little bit into the old topics. It is very likely to get solution to your problem.
[Corrected the link]
[ May 26, 2008: Message edited by: Vishal Pandya ]
I agree. Here's the link:
subject: What is the use of Creating constructor for Abstarct Classes
Benefits of inner classes in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015