Computer Science, asked by omkarinaik7565, 5 hours ago

Predict the output
class Main
{
public static void main(String s[])
{
boolean male = false;
int age = 30;
if( male )
if( age < 20 )
System.out.println("Boy");
else
System.out.println("Man");
else
if( age < 20 )
System.out.println("Girl");
else
System.out.println("Woman");
}
}​

Answers

Answered by ajb7899
4

Answer:

Output :-

Woman

Mark it as brainliest.

Similar questions