jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Abstract Variables?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Abstract Variables??" Watch "Abstract Variables??" New topic

Abstract Variables??


Joined: Mar 06, 2001
Posts: 3
Can we have Abstract variables??
Why not??
What's the significance of this idea??
Or is it a dumb one??

---------<br />enter dragon, exit enlightened.
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Abstract Variables??
It's not a secret anymore!