Answers

Question and Answer:

  Home  J2SE

⟩ What is default?

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.

 148 views

More Questions for you: