Tuesday 17 November 2015

Java Tutorial : Java if then statement


Click here to watch in Youtube :
https://www.youtube.com/watch?v=LsgjtxYaZLM&list=UUhwKlOVR041tngjerWxVccw

Click the below Image to Enlarge
Java Tutorial : Java if then statement 
ControlFlowDemo.java
class ControlFlowDemo
{
    public static void main(String[] args)
    {
        boolean flag = true;
        if (flag)
        {
            System.out.println("flag is true,inside if block.");
        }

    }
}
Output
flag is true,inside if block.
Click the below link to download the code:
https://sites.google.com/site/javaee4321/java/ControlFlowDemo-If-Then-App.zip?attredirects=0&d=1

Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/ControlFlowDemo-If-Then-App

Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/08783475a968761a2cf4b3fc7275842653545b35/BasicJava/ControlFlowDemo-If-Then-App/?at=master

See also:

  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • No comments:

    Post a Comment