What will be the output of the following JavaScript code? [code] int a=4; int b=1; int c=0; If(a==b) document.write(a); else if(a==c)

What will be the output of the following JavaScript code?
Code:
int a=4;
int b=1;
int c=0;
If(a==b)
    document.write(a);
else if(a==c)
    document.write(a);
else
    document.write(c);
A. 4
B. 1
C. Error
D. 0
 

Tìm kiếm

Back
Top