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 Difference between public static final and public final Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Difference between public static final and public final" Watch "Difference between public static final and public final" New topic
Author

Difference between public static final and public final

damodar kumar
Ranch Hand

Joined: May 19, 2008
Posts: 77

Hi ,

Please provide the information on

Difference between public static final and public final

Regards,

Damodar


<a href="http://stackoverflow.com/users/668970/user668970" rel="nofollow">
<img src="http://stackoverflow.com/users/flair/668970.png" >
</a>
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
The one uses the 'static' modifier and the other doesn't.

Do you know what the 'static' modifier does, do you?

This question in fact belongs in the Java for Beginners forum. It's covered by every basic Java tutorial, starting here:
http://google.com/search?q=static+tutorial+site:sun.com
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/variables.html
http://java.sun.com/docs/books/tutorial/java/javaOO/classvars.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between public static final and public final