Javatpoint Logo
Javatpoint Logo

Java InetAddress isMCLinkLocal() method

The isMCLinkLocal() method of InetAddress class is used to check utility routine if the multicast address has link scope.

Returns

It returns true if this address has a multicast address of link local scope and returns false if the address is not of link local scope or it is not a multicast address.

Example 1

Test it Now

Output:

Name is: www.google.com
Address is: 216.58.207.68
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