P
Q. What will be the output of the following Java program?
class main_class
{
public static void main(String args[])
{
int x = 9;
if (x == 9)
{
int x = 8;
System.out.println(x);
}
}
}
- Correct Answer - Option(C)
- Views: 112
- Filed under category JAVA
Discusssion
Login to discuss.