1.

Suppose that there are two activities in an application named ActivityOne and ActivityTwo. You want to invoke ActivityTwo from ActivityOne. What code you will write?

A. Intent intent=new Intent (this, ActivityTwo.class); startActivity(intent);
B. startActivity(new Intent(this, ActivityTwo.class));
C. Option A and B are correct.
D. None of the above.
Answer» D. None of the above.


Discussion

No Comment Found