Java Program For Logical and Boolean Logical Operator
Get Job-ready: Java Course with 45+ Real-time Projects! - Learn Java
Program 1
class TestOperator
{
public static void main(String args[])
{
int a=10,b=5;
boolean x;
x=(++a<15 && ++b>10);
System.out.println(a);
System.out.println(b);
System.out.println(x);
}
}
We work very hard to provide you quality material
Could you take 15 seconds and share your happy experience on Google

