Wednesday, 30 September 2015

Java Tutorial : Java Boolean Literals


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

Click the below Image to Enlarge
Java Tutorial : Java Boolean Literals 
IntegerLiteralDemo.java
public class IntegerLiteralDemo
{

    public static void main(String[] args)
    {

        boolean flag = true;

        System.out.println("flag : " + flag);

        boolean isSmartTv = false;

        System.out.println("isSmartTv : " + isSmartTv);
    }
}
Output
flag : true
isSmartTv : false
To Download VariableDemoBooleanLiteralApp Project Click the below link
https://sites.google.com/site/javaee4321/java/VariableDemoBooleanLiteralApp.zip?attredirects=0&d=1

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

    Google+ Followers

    Google+ Badge