Interface and implementation
hi all
in this program
factory= DocumentBuilderFactory.newInstance();
factory.setValidating(false);
doc=factory.newDocumentBuilder().parse(new File(filename)); Element root=doc.getDocumentElement();
System.out.println(root.getNodeName());
getRootChild(root);
NodeList nlist1=root.getChildNodes();
in this programelement is an "interface " it has method getChildNodes().
i just want to know where this method getChildNodes() would have been implemented.because here i'm just using the method of
interface without implementing it.
thanks in advance.

