What is the value of x in the following lines of java code?
Class value
{
public static void main()
{
int x, y, z;
x=0;
y=1;
x=y=z=8;
System. out. println(x) ;
}
}
Answers
Answered by
1
Answer:
Output of x will be 8 as the previous has changed from 0 to 8
Similar questions