Java InetAddress isAnyLocalAddress() methodThe isAnyLoaclAddress() method of Java InetAddress class is used to check whether the InetAddress is a wildcard address or not. Syntax:ReturnsThe isAnyLoaclAddress() method returns a boolean indicating if the InetAddress is a unpredictable address. Example 1Test it NowOutput: Name is : www.javatpoint.com Address is : 195.201.10.8 false
Next TopicInetAddress Class
|