title: What restrictions are placed on the values of each case of switch statement
body: <p>For this question i saw a answer like <strong>During compilation, the values of each case of a switch statement must evaluate to a value that can be promoted to an int value</strong> but i didn't understood why because we are also using byte, short, int, char but this statement only saying about int so please explain me and give me an example for this</p>