File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Abstract Variables??

 
dragon_fly
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we have Abstract variables??
Why not??
What's the significance of this idea??
Or is it a dumb one??
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Amol Patwardhan:
Can we have Abstract variables??
Why not??

Can we have abstract methods? Sure, an abstract method allows you to specify an interface without dictating anything about its implementation. That's what abstract is good for.
Now what would the implementation of a variable be?
And while you're engaging your grey matter, ask yourself what this has to do with JSPs or servlets.
- Peter
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic