' LocalHostExample LocalHostExample -- determining the name and IP address of the local host.
To see this example in action:
  1. Compile the Java source file, LocalHostExample.java:
    	javac LocalHostExample.java
    
  2. Run the class:
    	java LocalHostExample
    

The source.