This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

variable declaration-

 
Pradheep Thiruvengadam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any diff. between following declarations
public static final int i=0;
public final static int i=0;
 
Jeremy Thornton
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic