How can I combine return and switch case statements?
return
switch case
I want something like
return switch(a) { case 1:\"lalala
public String doStaff(int a) { switch(a) { case 1: return "lalala" case 2: return "blalbla" case 3: return "lolollo" default: return "default" }; }