ChildOfCode


Code, Maker, Robotic, Open Source. Knowledge Bases


Java can't Use Switch on a String?

In Java JRE 1.7 below switch is not allow to use String for input case.
Only JRE1.7 Above can be use String in the Switch.

*Note Titanium workspace compiler compliance default is 1.6 need manual change this inside by

Set workspace compiler compliance settings to 1.7