[Solved] Using of if else statement

[ad_1]

You in the right direction:

Intent intent;
if (etOp == 11) {
  intent   = new Intent(this, AnotherActivity.class);
}
else {
    intent = new Intent(this, ThirdActivity.class);
}
startActivity(intent);

2

[ad_2]

solved Using of if else statement