Which of the following is NOT true about class DefaultHttpClient?

Which of the following is NOT true about class DefaultHttpClient?
A . It supports HTTP
C . It supports streaming uploads and downloads.
D . It is only supported on Android versions 2.2 and older.
E . It is Andriod’s default implementation of an HTTP client.

Answer: C

Explanation:

Android 6.0 release removes support for the Apache HTTP client. If your app is using this client and targets Android 2.3 (API level 9) or higher, use the HttpURLConnection class instead.

References: http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache­http-client

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments