Predict the output of the following code:
int n=4,f=0,i;
for(i=1;i<=n;i++)
{
f=f*i;
}
jTextField1.setText(""+f)
jTextField2.setText(""+i);
Output:
0
5