Java InetAddress isLinkLocalAddress() methodThe isLinkLocalAddress() method of Java InetAddress is used to check if the InetAddress is a link local address or not. Syntax:ReturnsThis method returns true if this address represents a local address; or false if address is not link local unicast address. Example 1Test it NowOutput: Name is: www.javatoint.com Address is: 96.126.103.245 false
Next TopicInetAddress Class
|