Different Outputs_networking
<p><img src="http://i.stack.imgur.com/VtQNb.jpg" alt="enter image description here"></p>

<pre><code>import java.net.*;
 class check {
  public static void main(String args[])throws Exception {
   InetAddress address=InetAddress.getLocalHost();
   System.out.println(address);
 }
}
</code></pre>

<p><strong>Now the first output is when i am connected to internet and second output is when i am not connected to internet.</strong>
<em>What type of ip address is the second one? (the one encapsulated in InetAddress with internet not working)</em></p>

<p>Please help me in this.</p>
