Solved

Which of the Following Lines of Code Starts Activity Activity2

Question 65

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents