File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes query on static varibale Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "query on static varibale " Watch "query on static varibale " New topic
Author

query on static varibale

abin joy
Ranch Hand

Joined: Jul 29, 2008
Posts: 35
I have a static variable in class.I can change the value of that variable in a method in the same class.How this is possible?
arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3219
why do you think it cannot be modified? if you do not want to modify it mark it as final.



[ August 17, 2008: Message edited by: arulk pillai ]

Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: query on static varibale