Archive for November, 2008

Dateformat Example

Dateformat Example
The Java Dateformat class is used to format the date/time in Java applications. You can use the Dateformat class while generating the report to format the date/time in required format.
To format a date for the current Locale, use one of the static factory methods:
String myString = DateFormat.getDateInstance().format(myDate);
DateFormat provides many class methods for obtaining default […]

Bufferedreader example

Bufferedreader example
Here we have provided the best links for Bufferedreader class examples. You can use Bufferedreader class for buffering while reading the streams.
The Bufferedreader  class reads  the text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.
Here are the example links of Bufferedreader class

Bufferedreader example
Bufferedreader […]

AWT basics

AWT basics
Are you looking for the AWT Basics to help you learn AWT quickly? Here we have provided you the links to our AWT tutorials.
AWT stands for abstract window toolkit, which is used to develop platform-independent windowing, graphics, and user-interface for the desktop application using Java technology.
Now a day’s developers are using Swing components instead […]

Args tutorial

Args tutorial
Are you looking for Args tutorial in Java Technolog?
Args represents the command line arguments in the Java program. You can pass any number of the parameters through the args variable.
I this example we will show how to use the Java Args.
Learn about Java Args Tutorial.
Thanks

Java Args example

Java Args example
In your main method you can pass the arguments using args[] parameters. The args[] parameter can take any number of command line parameters.
Each argument is identified by a space. For example you  can type following command on command prompt to call the java program:
C:\>java MyProgram param1 param2 param3
In the above code we are […]