Final answer:
Switch cases are used to perform different actions based on conditions and can work with types beyond just integers and characters; modern languages often support strings in switch statements too.
Step-by-step explanation:
When working with switch cases, it's important to remember that they are indeed used to perform different actions based on different conditions. However, the statement that switch cases can only be used with integers is not entirely accurate. While traditional switch statements in languages like C and Java are often used with integers and characters, many modern languages, including Java (from version 7 onwards), allow switch statements to work with strings as well. Additionally, in some languages like Swift, switch cases can match against a variety of data types and even complex patterns.
Therefore, it's essential to know the capabilities and limitations of the switch statement in the specific programming language you are using as they may have different levels of flexibility with the data types they support.