Java Best Practice - Statements

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Java Best Practice - Statements - Java Tutorials Corner

Statistics

  • Total Hits - 8869

  • Total Votes - 6 votes

  • Vote Up - 3 votes

  • Vote Down - 3 votes

  • Domain - www.javatutorialcorner.com

  • Category - JAVA/Core JAVA

  • Submitted By - Appu T

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

Description

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: http://www.javatutorialcorner.com/search/label/Java?updated-max=2013-10-06T01:03:00-07:00&max-results=20&start=40&by-date=false ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements