This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes wrapper classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "wrapper classes" Watch "wrapper classes" New topic

wrapper classes

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Can I have a wrapper class for static variables
Nathan Paris

Joined: Jun 21, 2000
Posts: 28
You could have a wrapper class that provides a getter/setter for the static as long as it has permissions.
class Base
protected static ... myStatic;
class Wrapper extends Base
public static getMyStatic()
return myStatic ;
I agree. Here's the link:
subject: wrapper classes
Similar Threads
Autoboxing Issue: Integer Wrapper==double primitive
Wrapper Classes
Accessing array using EL
Design Pattern
primary key type can't be primitive type. True?