A
Q. What is the output of the below Java program?
Code:
public class TestingMethods5
{
public static void main(String[] args)
{
int localVariable;
System.out.println(localVariable);
}
}
{
public static void main(String[] args)
{
int localVariable;
System.out.println(localVariable);
}
}
- Correct Answer - Option(D)
- Views: 25
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.