This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Constructor in Abstract class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Constructor in Abstract class?" Watch "Constructor in Abstract class?" New topic
Author

Constructor in Abstract class?

Max White
Ranch Hand

Joined: Jun 28, 2008
Posts: 85
Can we provide a constructor with arguments in an Abstract class?
Thanks..
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
Yes. There was a recent discussion of a similar theme, which you can find with the search function. Maybe here, but that won't be any use; look who was writing
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11175
    
  16

you should try it!!! writing code and experimenting is a great way to learn stuff. write a class or two, compile them, and see what happens!


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Constructor in Abstract class?
 
Similar Threads
interface is nothing but a pure abstract class. why interface does not has constructor
Please hellllllp
constructor
abstract class
abstract