What will be the output of the following Java code? class Output { public static void main(String
Fantastic news! We've Found the answer you've been seeking!
Question:
What will be the output of the following Java code?
class Output
{
public static void main(String args[])
{
int x=y=z=20;
}
}
a) compile and runs fine
b) 20
c) run time error
d) compile time error
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: