InterviewSolution
Saved Bookmarks
| 1. |
What will be an output of the following code if value of variable application is 1?switch(application){case 0 : jTextField1.setText("RDBMS");case 1 : jTextField1.setText("BROWSER");case 2 : jTextField1.setText("OS"); break;case 3 : jTextField1.setText("PHOTO EDITOR"); break;default : jTextField1.setText("Application Software"); break;} |
|
Answer» The output is: OS |
|