Can we use String in switch case?

Solution

Yes, in Java 7 String can be used in switch case.

Share this thread

Comments

Comments
comments powered by Disqus

Navigation

Social Media