float,char,stri ng
which of above data types works with switch statements in java????
Why didn't you just try it and see? You would have found the answer much faster than waiting for a forum reply (which may have been wrong, too!) and you would have learned something even more valuable -- how to discover answers yourself!
Comment