Anzitutto grazie per la risposta.
Hai ragione non ho posto la domanda in maniera corretta.
La documentazione che mi hai mandato l'avevo già sotto mano ma da quella non riesco assolutamente ad evincere che non esiste il costruttore vuoto. Potresti spiegarmi per favore come fare a capirlo?
Ciò che sono andato a guardare io è il codice qui di seguito nel quale io vedo la presenza del costruttore vuoto.
codice:
/*
* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
package java.net;
import java.util.Enumeration;
import java.util.NoSuchElementException;
import sun.security.action.*;
import java.security.AccessController;
/**
* This class represents a Network Interface made up of a name,
* and a list of IP addresses assigned to this interface.
* It is used to identify the local interface on which a multicast group
* is joined.
*
* Interfaces are normally known by names such as "le0".
*
* @since 1.4
*/
public final class NetworkInterface {
private String name;
private String displayName;
private int index;
private InetAddress addrs[];
private InterfaceAddress bindings[];
private NetworkInterface childs[];
private NetworkInterface parent = null;
private boolean virtual = false;
static {
AccessController.doPrivileged(new LoadLibraryAction("net"));
init();
}
/**
* Returns an NetworkInterface object with index set to 0 and name to null.
* Setting such an interface on a MulticastSocket will cause the
* kernel to choose one interface for sending multicast packets.
*
*/
NetworkInterface() {
}
NetworkInterface(String name, int index, InetAddress[] addrs) {
this.name = name;
this.index = index;
this.addrs = addrs;
}
Grazie in anticipo per l'aiuto.