aspose file tools*
The moose likes Beginning Java and the fly likes variable declaration- Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "variable declaration-" Watch "variable declaration-" New topic
Author

variable declaration-

Pradheep Thiruvengadam
Greenhorn

Joined: Aug 11, 2003
Posts: 7
is there any diff. between following declarations
public static final int i=0;
public final static int i=0;
Jeremy Thornton
Ranch Hand

Joined: Feb 21, 2002
Posts: 91
Nope, only in terms of readability.
Your first example is usually the prefered layout, but it makes no difference to the semantics of the statement.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: variable declaration-