Java Best Practice - Statements

Tutorials Shared by the Internet Community


  Top Tutorials     New Tutorials     Submit     Login     Register  

Java Best Practice - Statements

Java Best Practice - Statements - Java Tutorials Corner
  • Total Hits: 7900

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating


  • Total Votes: 10 votes

  • Category: JAVA/Core JAVA

  • Submitted on: 2014-03-16 09:53:35

  • Submitted By: Appu T

  • Set as Favorite


Simple StatementsEach line should contains one statement.Examplearg1++; //CORRECTarg2++; //CORRECTarg1++;arg2- -; //AVOIDCompound StatementsCompound statements are statements that contain lists of statements enclosed in braces “{ statements }”. See the following sections for examples. • The enclosed statements should be indented one more level than the compound statement. • The opening brace should be at the end of the line that begins the compound statement; the closing brace... - See more at:    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 20%  2
 Two starsTwo star  Vote LeftVote MiddleVote Right 20%  2
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 20%  2
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 20%  2
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 20%  2

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.