Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Java > Core Java

Core Java Core Java Interview Questions, Learn by sharing Core Java Interview Questions asked in various companies, Get Career advices, Interview Procedures from Core Java experts, Post asked Core Java Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-29-2008, 09:18 AM
Senior Member
 
Join Date: Feb 2008
Posts: 1,210
Default Why abstract class should have

Why abstract class should have a constructor?
Reply With Quote
  #2 (permalink)  
Old 07-25-2008, 06:46 AM
Member
 
Join Date: Jul 2008
Location: West Bengal,India
Posts: 48
Default

we can't create any object of an abstract class.
but in the time of inheritance a base class may want to initialize the member of the super class(i.e the abstract class) so the developer should have a constructor.
__________________
Asit Kumar Purohit.
SRIC,IIT Kharagpur.
West Bengal,India
Mail me
Reply With Quote
Reply

Tags
core java, java, software

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On