aspose file tools
The moose likes Java in General and the fly likes How To Placed variables in Abstract classes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How To Placed variables in Abstract classes" Watch "How To Placed variables in Abstract classes" New topic
Author

How To Placed variables in Abstract classes

kashif hameed
Greenhorn

Joined: Jun 15, 2003
Posts: 15
How to placed variables in abstract classes.
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
The same way you do in concrete classes: just declare them. The only thing different about an abstract class is that you cannot directly create instances from it.


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How To Placed variables in Abstract classes
 
Similar Threads
static variables
How To Placed variables in Abstract classes
what is the purpose for allowing local variables as abstract ?
instance variables of Abstract Classes
inner classes