J2SE Question:

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.


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