☑Kizspy.me
(Choose 1 answer)
☐ A
Back
Next
You create a method in an Activity to start another Activity called PhotoActivity and get a result back using an
explicit Intent. Code is designed to clearly define code requirements and enhance code clarity to be
well-structured, maintainable, and easy to understand. Which of the following is correct?
A. Intent intent = new Intent(this, PhotoActivity.class);
startActivityForResult(intent, TEXT_REQUEST);
B. Intent intent = new Intent(this, PhotoActivity.class);
startActivityForResult(intent, REQUEST_CODE);
C. Intent intent = new Intent(this, PhotoActivity.class);
startActivityForResult(intent, PHOTO_REQUEST);
D. Intent intent = new Intent(this, PhotoActivity.class);
startActivityForResult(intent, TEXT_CODE);
FUO.sh
sh the exam.