Javatpoint Logo
Javatpoint Logo

Java InetAddress isLinkLocalAddress() method

The isLinkLocalAddress() method of Java InetAddress is used to check if the InetAddress is a link local address or not.

Syntax:

Returns

This method returns true if this address represents a local address; or false if address is not link local unicast address.

Example 1

Test it Now

Output:

Name is: www.javatoint.com
Address is: 96.126.103.245
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