J2SE Question:

What is default?

Tweet Share WhatsApp

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 PDF Read All 214 J2SE Questions
Previous QuestionNext Question
What is delegation?What is critical section?