I am programming for Android and I have several cases where I test multiple strings but use the same return, for example:
if (s.contentEquals("caer")) {
out(a);
yo("igo");
}
if (s.contentEquals("traer")) {
out(a);
yo("igo");
}
Is there a way to test all these cases at once, and if one of those is true then do the return?
Try: