Guess the output of the following code?
public class Main
{
public static void main(String[] args) {
int a[] = {3,6,-13,-19,8},b=2,i=4;
while(i0){
--i;
if(a[i]0)
b*=a[i];
}
System.out.println(b);
}
}

Posted on by