Examveda
Examveda

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

Answer: Option D


This Question Belongs to Java Program >> Operators

Join The Discussion

Related Questions on Operators