试题详情
单项选择题如果想获得一个InetAddress对象的主机域名,可调用方法()

A、getName()

B、getHostName()

C、getAddress()

D、getHostAddress()

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题