Java Tutorial


OOPS concept


Collection

Java - Decision Making

Decision making are the statements that are used to execute code based on some conditions.

Suppose you only want to execute some code only when a condition is satisfied or else you want to run any other code.

Java provide this feature using the following features:
  • If-else Statement
  • switch Statement
  • Click links to learn more about them

    Share


    Advertisement