1) Get the local host address by calling getLocalHost() method of InetAddress class. 2) Get the IP address by calling getHostAddress() method. import java.net.
確定! 回上一頁