Solved

Which of the Following Lines of Code Starts Activity Activity2

Question 88

Multiple Choice

Which of the following lines of code starts activity Activity2 from a current activity Activity1?


A) Intent intent = new Intent(this,new Activity2() ) ; startActivity(intent) ;
B) Intent intent = new Intent(new Activity2() ) ;
C) Intent intent = new Intent (Activity1.class,Activity2.class) ;
D) Intent intent = new Intent(this,Activity2.class) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions