O'Reilly logo

JAVA Programming by K. Rajkumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

Java Conditional and Looping Statements

OBJECTIVES
  • To introduce different conditional statements such as if, if-else, if-else-if and nested if statements
  • To implement the revised CircleArea and Biggest2 application with if statement
  • To apply if-else statement to Divisible application
  • To implement CalcGrade application with if-else-if statement
  • To explain the importance of conditions and how control flows to different parts of a program
  • To explain the relation between if statement and logical operators
  • To check the given year is leap or not
  • To implement switch statement for ArithCalculator application
  • To introduce switch statement with string case
  • To explain looping structures such as while, do-while and for statements
  • To implement ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required