To get more details on available active networks, you may call following method(s) in Android
-
getNetworkInfo()
-
getNetworkStatus()
-
getActiveNetworkInfo()
-
Both, a & b above
-
Both a & c above
-
All of above
E
Correct answer
Explanation
getNetworkInfo() and getActiveNetworkInfo() are both valid ConnectivityManager methods for retrieving network details. getNetworkStatus() is not a standard Android API method. Both getNetworkInfo() (deprecated) and getActiveNetworkInfo() provide information about network state and connectivity.