Switch Case in Android Studio for Java and Kotlin

Switch case in Android Studio can be used to create multiple possible outcomes for a given variable. This variable can be a Primitive data type i.e, Integer, bit, short or char or even a String Class. But it can not be a boolean.