Javatpoint Logo
Javatpoint Logo

Java InetAddress isAnyLocalAddress() method

The isAnyLoaclAddress() method of Java InetAddress class is used to check whether the InetAddress is a wildcard address or not.

Syntax:

Returns

The isAnyLoaclAddress() method returns a boolean indicating if the InetAddress is a unpredictable address.

Example 1

Test it Now

Output:

Name is : www.javatpoint.com
Address is : 195.201.10.8
false

Next TopicInetAddress Class





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA