Which built-in Java class can make HTTP requests without libraries?

  1. SharedPreferences
  2. HttpURLConnection
  3. SQLiteOpenHelper
  4. TextWatcher
Answer

B) HttpURLConnection

HttpURLConnection is part of java.net.

Computer Science MCQ · More Maps and Consuming Web Services over HTTP MCQs · Practise