Saturday, August 20, 2011

Logical Operator in java


//Logical Operator in java
class LogicalOperator
{
    public static void main(String arg[])
      {
           int a=10,b=5, c=8, d=2;
           boolean bool =a>b && c>d;
           System.out.println("  a>b && c>d is  "+bool);
      }
}

Previous Next Home
0 Comments
Comments

Leave a Comment

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Twitter Delicious Facebook Favorites More