Are these Java boolean equations true or false 6611 814 814

Are these Java boolean equations true or false?

!(6==6)&&(1==1);

(8<9) && (14>14);

!(8<9) || (12>14);

(1<=1);

!(7==7);

!(1==1)||(2==2)||(3==3);

(100 + 5) == (40 + 65);

(8<9) && (15>14) && (12>11);

(19<9) || !(15>14);

I\'m having a hard time with these. The ! operator is throwing me off. After this I have to then create a class to check the problems. If I could get help with just the first equation, I think I will be able to do the rest.

Solution

1)1 st equation is false because 6==6 is true and !(6==6) is false and 1==1 is true so finally false && true is false
public class Test {


public static void main(String args[])
{

if(!(6==6)&&(1==1))
{

System.out.println(\"true\");

}


else
{
  
System.out.println(\"false\");

}

}

}

(8<9) && (14>14)-false

!(8<9) || (12>14)-false
(1<=1)-true
!(7==7);-false
!(1==1)||(2==2)||(3==3) - true
(100 + 5) == (40 + 65) -true
(8<9) && (15>14) && (12>11) - true
(19<9) || !(15>14)-false

Are these Java boolean equations true or false? !(6==6)&&(1==1); (8<9) && (14>14); !(8<9) || (12>14); (1<=1); !(7==7); !(1==1)||(

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site