5 years ago in Java Socket Programming

What is the output of this program?

import java.net.*;
class networking {
public static void main(String[] args) throws UnknownHostException {
InetAddress obj1 = InetAddress.getByName("cisco.com");

[A] cisco
[B] cisco.com
[C] www.cisco.com
[D] None of the mentioned
Next Question

Overall Stats

Attempted 86
Correct 21
Incorrect 21
Viewed 44


Tsega Asresa Mengistu
Tsega Asresa Mengistu - 1 week ago

Tsega Asresa Mengistu from Dessie, Ethiopia is saying cisco.com is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying www.cisco.com is correct answer

Durai Raj
Durai Raj - 2 months ago

Durai Raj is saying None of the mentioned is correct answer

Roaa yaseen
Roaa yaseen - 2 months ago

Roaa yaseen from Palestine is saying cisco is correct answer

zainb ryad
zainb ryad - 2 months ago

zainb ryad from Jenin, Palestine is saying cisco.com is correct answer

Related Questions

Which of these methods is used to make raw MIME formatted string?

  • [A] parse()
  • [B] toString()
  • [C] getString()
  • [D] parseString()