J2SE Question:

Download Job Interview Questions and Answers PDF

What is default?

J2SE Interview Question
J2SE Interview Question

Answer:

A Java keyword optionally used after all case conditions in a switch statement. If all case conditions are not matched by the value of the switch variable, the default keyword will be executed.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is delegation?What is critical section?