Java InetAddress isMCGlobal() methodThe isMCGlobal() method of Java InetAddress class is used to check whether the multicast address has global scope or not. Syntax:ReturnsIt returns true if this address has a multicast address of global scope and returns false if address is not of global scope or it is not a multicast address. Example 1Test it NowOutput: Name is: www.javatpoint.com Address is: 195.201.10.8 false
Next TopicInetAddress Class
|