Blogspot - imagocomputing.blogspot.com - Let's Learn Java API

Latest News:

Determine user details from a Java program 4 Oct 2010 | 03:49 am

When we want to get details of the host pc from a java program , we can use the getProperty() method of System class in java.lang package. According to the java documentation(SE6) we can get following...

Reading Text Files In a Java Program II :: Using a FileReader and a BufferedReader 1 Jun 2010 | 05:42 am

In this example we use a FileReader object wrapped by a BufferedReader object to read a plain text file. This method is more efficient than reading raw bytes and converting them into character array. ...

Reading Text Files In a Java Program :: Using a FileReader 31 May 2010 | 01:58 am

FileReader class is located in Java I/O package (java.io.FileReader). using this class we can read character files. In other words we can read character streams using FileRead class. If our purpose is...

String Class in Java 13 May 2010 | 05:05 pm

String objects contain sequence of charters. Strings can be concatenate using ( + ) operator which is a special java language feature. String class represent a string using UTF -16 (unicode character ...

Using StringTokenizer Class 6 May 2010 | 03:55 pm

StringTokenizerĀ  is shipped in java.util package. This can be used to split a string using a given delimiter. Space character is the default delimiter for any string. There are three important methods...

Getting Keyboard Inputs II 20 Apr 2010 | 02:30 am

In previous method for getting keyboard inputs we used buffered readers and input stream readers. There is a special class called Scanner available in java.util package which can be used to get keyboa...

Getting Keyboard Inputs I 19 Apr 2010 | 12:36 am

In order to get inputs from the keyboard we can use standard input stream (System.in ) available in the java.lang package. Generally standard input stream contains byte stream coming from the keyboard...

Compute Elapsed Time in Nanoseconds 18 Apr 2010 | 05:38 am

To compute some execution time we can use nanoTime() method in the System class. There are several other ways to calculate some execution time. But most accurate way is using nanoTime() method. nanoTi...

Java Wrapper Classes :: Converting String Values Into Double Values 18 Apr 2010 | 02:34 am

In previous example we discussed how to convert string values into integer values. Double values and float values are used in floating-point calculations. We can use following methods available in rel...

Java Wrapper Classes :: Converting String Values Into Integer Values 18 Apr 2010 | 01:55 am

What is Java API ? Java API is a short term for Java Application Programming Interface. Java API contains thousands of classes which are very useful for java programmers. Programmers can use these alr...

Related Keywords:

integer wrapper class in java api, learn to program api, no buffrs streaming, file extension hkf, determinating plan api, reading text program, java wrapper class, integer wrapper api, java string double, err - read of vm file read bytes

Recently parsed news:

Recent searches: