Question: D Question 2 The following truth table matches which boolean condition? B. 1 1 1 0 1 1 0 O A && (A || B)




D Question 2 The following truth table matches which boolean condition? B. 1 1 1 0 1 1 0 O A && (A || B) A || (!A && !B) A && (A && B) !A && (A || !B) O A || (A || B) Question 3 Consider the following code which uses the String variables if (s.toLowerCase().equals(s.toUpperCase())) System.out.println("*"); } What does the code do? Prints "*" if the String s contains only non-letter characters. o Prints if the String s contains only upper-case letters. Prints "*" if the String s contains only letter characters (no digits or symbols). Prints "*" if the String s contains only lower-case letters. Prints "*" if the Strings contains a mixture of upper and lower-case letters. Question 5 (*
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
