A
Q. What will be the output of the following Java code?
Code:
class Output
{
public static void main(String args[])
{
int x=y=z=20;
}
}
{
public static void main(String args[])
{
int x=y=z=20;
}
}
- Correct Answer - Option(D)
- Views: 17
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.