Is abstract modifier possible with constructor

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
Sweetpin2
Posts: 27
Joined: Thu Feb 07, 2013 9:46 pm
Contact:

Is abstract modifier possible with constructor

Post by Sweetpin2 »

Hi,

Is abstract modifier possible with constructor? Can i get an example?

Guest

Re: Is abstract modifier possible with constructor

Post by Guest »

Sweetpin2 wrote:Hi,

Is abstract modifier possible with constructor? Can i get an example?
I suggest that you go through this book.

Manning Early Access Program
OCA Java SE 7 Programmer I Certification Guide

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: Is abstract modifier possible with constructor

Post by admin »

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.

Sweetpin2
Posts: 27
Joined: Thu Feb 07, 2013 9:46 pm
Contact:

Re: Is abstract modifier possible with constructor

Post by Sweetpin2 »

Guest wrote:
Sweetpin2 wrote:Hi,

Is abstract modifier possible with constructor? Can i get an example?
I suggest that you go through this book.

Manning Early Access Program
OCA Java SE 7 Programmer I Certification Guide
Hi,

Thanks a lot for this suggestion

Post Reply

Who is online

Users browsing this forum: No registered users and 218 guests