Computer Science, asked by austin96, 3 months ago

7. The output of the following code would be:
public static void main(String args[])
{
boolean a = true;
boolean b = !true;
boolean c= ab;
boolean d = a & b;
boolean e=d ? :c;
System.out.println(d + " " + e);
}
A. false false
B. true ture
C. true false
D. false true​

Answers

Answered by mohitisgreat8136
5

Answer:

A. false, false

Explanation:

d is false and e is also false

Answered by varsharani803115
1

Answer:

A.false ,false

HOPE IT HELPS YOU!!

Similar questions