Skip to main content

Posts

Featured

Decision Making Statements (The If statement)

There are 4 types of if statement provided by Java as you can see above. The first type is If  . Syntax of if  :-                      if ( condition )                      {                            Statement ;                       } Flow chart                          In the above flow chart we see that---  There is an if statement with a condition. If the condition is true, then statement is executed and then it exits the if statement. If the condition is false, then the statement is not executed and it directly exits if statement.      Note :- The body of if statement may execute or may not execute. Example code :-  ...

Latest posts

BASIC JAVA PROGRAMMING

Operators

Java Interview Questions

ObjectOrientedProgramming

DataTypes

Variables

Install jdk and write your first program

JAVA basics

Frequently used terms