Question:Which of the following are true? 

A startActivity and startActivityForResult can both be used to start a new activity from your activity class. 

B Only startActivityForResult can be used to launch a new activity from your activity class. 

C startActivity(myIntent); and startActivityForResult(myIntent, -1); have the same result. 

D startActivity(myIntent); and startActivityForResult(myIntent, 0); have the same result. 

E When startActivity is used to launch a new activity from your activity class then your activity class gets notified when the new activity is completed. 

F When startActivityForResult is used to launch a new activity from your activity class then your activity class gets notified when the new activity is completed. 

+ Answer
+ Report
Total Preview: 2241

Copyright © 2024. Powered by Intellect Software Ltd