1.

Write the output in jtextField1 if depcode is 3. switch(depcode) { case 1 : allowance = 4000; break; case 2 : allowance = 3200; break; default : allowance = 1000; }jTextField1.setText(" "+allowance);

Answer»

Correct answer is 1000



Discussion

No Comment Found

Related InterviewSolutions