Posts from November 2013

4 result(s) found

String parsing with StringTokenizer
Java

StringTokenizer class has been defined in java.util package, which allows us to break a string into tokens. i.e.; this class will be very handy, if you would like to split a string with different valu...

Parsing XML with Java and XPath
Java

XML is the best technique to represent data in a structural format. Reading the data from XML is called Parsing. As a developer, you should know XML parsing.Have you heard about XPath? XPath is an ex...

Basic Java Calculator using Swings
Java

Probably I would have posted this few years ago (7 years precisely) as I've developed this long ago. Just got a chance and thought that this might be helpful for few programmers out there.This program...

Java streams - accepting input from keyboard
Java

A stream represents flow of data from one place to another place. Input stream reads or accepts data. And output stream sends or writes data to another place.System.in is an object of InputStreamReade...