Inet Address class  is java programming language is used to create and manipulate internet protocol address. There is no public constructor for this class so objects in this class is called using java functions

like get local host() , get all by name()  and get by name() these function will directly provide local host name as a return value.

This method will be very useful for developers in certain situations for getting ip address and local host details.