Android
AND-401 · Question #114
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);
Sign in or unlock AND-401 to reveal the answer and full explanation for question #114. The question stem and answer options stay visible for context.
Question
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);
Options
- AThis is an explicit intent that start the system's dialer.
- BThe system will not dial the number without adding permission CALL_PHONE.
- CThe system will perform an intent resolution to start the proper activity.
- DThe code will not compile.
Unlock AND-401 to see the answer
You've previewed enough free AND-401 questions. Unlock AND-401 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.