Sunday, 22 January 2017

CONDITIONAL STATEMENTS IN JAVA

Programming language possesses decision making capabilities and supports the following statements known as control or decision making statements. So depending on the particular condition we need to perform some set of instructions.

Selection Statements
  • if
  • if-else
  • switch
Iterative Statements
  • while
  • do-while
  • for loop
  • for each loop
Transfer Statements
  • break
  • continue
  • try-catch-finally
  • assert



No comments:

Post a Comment