Hi,
Is abstract modifier possible with constructor? Can i get an example?
Is abstract modifier possible with constructor
Moderator: admin
-
- Posts: 27
- Joined: Thu Feb 07, 2013 9:46 pm
- Contact:
Re: Is abstract modifier possible with constructor
I suggest that you go through this book.Sweetpin2 wrote:Hi,
Is abstract modifier possible with constructor? Can i get an example?
Manning Early Access Program
OCA Java SE 7 Programmer I Certification Guide
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: Is abstract modifier possible with constructor
No, because it doesn't make sense. abstract means you can't have an instance of that specific class while constructor means you are creating an instance of that class.
If you like our products and services, please help us by posting your review here.
-
- Posts: 27
- Joined: Thu Feb 07, 2013 9:46 pm
- Contact:
Re: Is abstract modifier possible with constructor
Hi,Guest wrote:I suggest that you go through this book.Sweetpin2 wrote:Hi,
Is abstract modifier possible with constructor? Can i get an example?
Manning Early Access Program
OCA Java SE 7 Programmer I Certification Guide
Thanks a lot for this suggestion
Who is online
Users browsing this forum: No registered users and 147 guests