import java.net.URL;

public class Main {
    public static void main(String[] args) throws Exception {
        URL urlNullHost1 = new URL("http", null, 80, "/Test");
        URL urlNullHost2= new URL("http", null, 8080, "/Test");

        if (urlNullHost1.equals(urlNullHost2)) {
            System.out.println("Null hosts with different ports should not be equal");
        }
    }
} 