1.

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);

Answer»

The Output is:

0

5



Discussion

No Comment Found

Related InterviewSolutions