PrepAway - Latest Free Exam Questions & Answers

Which of the following is true about this code snippet?

Which of the following is true about this code snippet? (Choose two)

Intent intent = new Intent(Intent.ACTION_DIAL,Uri.parse(“tel:555-1234”));
startActivity(intent);

PrepAway - Latest Free Exam Questions & Answers

A.
This is an explicit intent that start the system’s dialer.

B.
The system will not dial the number without adding permission CALL_PHONE.

C.
The system will perform an intent resolution to start the proper activity.

D.
The code will not compile.

2 Comments on “Which of the following is true about this code snippet?


Leave a Reply

Your email address will not be published. Required fields are marked *