Why does the lab add "https://" when the user types only "www.hec.gov.pk"?

  1. To make the text longer
  2. To call the website
  3. To store it in SharedPreferences
  4. Because a URI without a scheme may not be recognised as a web link
Answer

D) Because a URI without a scheme may not be recognised as a web link

The http/https scheme tells Android to open a browser.

Computer Science MCQ · More Lab: Implicit Intents – Browser and Dialer MCQs · Practise