Category Archives: Java

Parsing XML in Java

There are several methods available for parsing an XML file. Some parsers transform the XML file into a traversable DOM tree. The tree consists of a root node and one or more child nodes belonging to the root node. These child nodes are able have child nodes of their own and so forth. Nodes without children [...]

Posted in Java | Leave a comment

Console output in Java

System.out.println can be used for outputting a line to the console. public void Foo { System.out.println("Bar"); }

Posted in Java | Leave a comment
  • Advertisement

  • Categories