What will be the output of the program?
class mainclass {
public static void main(String args[])
{
boolean var1 = true;
boolean var2 = false;
if (var1)
System.out.println(var1);
else
System.out.println(var2);
}
}
A. 0
B. 1
C. TRUE
Give the correct answer
D. FALSE
Answers
Answered by
0
Answer:
The function strlen returns the number of characters in the given string.
Therefore, strlen("123456") returns 6.
Hence the output of the program is "6
Explanation:
make me as brainliest
Answered by
0
Explanation:
true is the answer of this question
Similar questions