Pages

Sep 13, 2018

How to use String constants in switch case construct in Java


If you remember, we can only switch on integer variable and even case statement must be integer constant, but things has changed from Java 7 release. Now you can even switch on String variable and can use String constant e.g. String literal into case statements. Don't believe, try it now.




QuickBooks Self-Employed

Bigger tax refunds. Better organization. Manage your deductions with QuickBooks Self-Employed .