I have this message when it si compiledCode:import java.net.InetAddress;
public class Test2 {
public static void main (String[] args) {
InetAddress localaddr = InetAddress.getLocalHost();
System.out.println ("Local IP Address : " + localaddr);
System.out.println ("Local hostname : " + localaddr.getHostName());
}
}
Code:Exception in thread "main" java.lang.Error: Unresolved compilation problem:
at first.Test2.main(Test.java:13)

