Activity › Forums › Salesforce® Discussions › How to use Switch Clause in Apex as it is used in Java or C? › Reply To: How to use Switch Clause in Apex as it is used in Java or C?
MemberMarch 15, 2018 at 11:43 am
Take a look at my response on https://developer.salesforce.com/forums/?id=906F000000090xKIAQ - this is a typical object-oriented approach. Note that switch statements are really non-OO, from a purist perspective.