How to write properties file in javaIn this example we will discuss how to write property file in java. In this example We have write data to properties file. The properties file has fundamentally used to store the data configuration data or settings. We have store data key value pair. Java has provide java.util.Properties class and Properties class to store data into .properties file..

How to generate random number in java This section shows you how to create a random number and example provided here will help you easily understand and use the code to generate random numbers in your java application..

Serialization in javaSerialization in java means writing a state of the object to the stream. In this section you will learn about how to serialize and deserialize the object..

Iterator in javaIterator is a interface in java, help you to traverse the element of collection..

Queue in javaIn this section we will discuss about queue in java. Queue is a interface in java.util package of java..

Transient Java KeywordIn this section we will discuss about transient keyword in java. Transient is a keyword in java which is used to prevent any variable being serialized.

BufferedReader in javaIn this section you will learn about BufferedReader in java with example. Java provide java.io.Reader package for reading files, this class contain BufferedReader under the package java.io.BufferedReader..

JTable Display Data From MySQL DatabaseThis section will describe you the displaying of data of a database table into a JTable. Here you will read about how to create a table in Java swing, how can you add column header's name, how can you show data into the table..

clone method in Javaclone() method in Java is used to create and return copy of the object. Clone() method is used in class where Cloneable interface is implemented but throws a CloneNotSupportedException where a Cloneable interface is not implemented..

Java Queue exampleQueue Interface is part of java.util package. Queue generally works on FIFO (First In First Out) in ordering elements. In FIFO, new element is added at the end while in other cases ordering properties has to be specified. Queues are bounded which means that number of elements are restricted in it..

BufferedReader in JavaBufferedReader in Java is used to to read characters, arrays, lines and File Line by line. It also reads text from a character-input stream. A programmer can change the buffer size or can use default size..

Logger in JavaIn this section we will learn how to use the Logger in Java program. Logger in Java is part of java.util.logging are used to log the error and messages into the log file. The name of Logger are dot-separated and should be the package name or class name..

Applets in JavaApplet is a Java program embedded within HTML pages. Java applets is compatible with almost all the web browsers like Mozilla Firefox, Google Chrome, Internet explorer, Netscape navigator and others that are java enabled. Applets make a website more dynamic and are secure..

How to copy a file in javaIn this section you will learn about how to copy a content of one file to another file. In java, File API will not provide any direct way to copy a file..

Why and how to use Integer.parseInt() in javaInteger.parseInt() method is used to convert an string value into integer. JVM reads each element as String and hence we have to convert an entered String value into respective data type.

What is HashSet in javaIn following example we will discuss about HashSet in Java. The HashSet class implements the set interface. We have stored data of collection used for HashSet method.hashSet stored only object HashSet class in java.util package. The HashSet does not accept duplicate value..

Static variable in javaStatic is a keyword in java used to create static methods, variable inside a class and static class.Static variable is also called class variable which belongs to class not to object.Static variable is declared inside a class but outside the method or Constructor..

Java final keywordThe final is a very important keyword in java, which is used to restrict user. A programmer must not declare a variable or class with the name "Final" in a Java program. We can have final methods, final classes, final data members, final local variables and final parameters. .

Arraylist in javaArrayList is a class that extends AbstractList and implements List Interface. Standard java array are of fixed length, that mean we should know the size of array how many element it will hold, they cannot grow or shrink. but for indefinite number of elements.

Java SubstringA part of String is called substring. Substrings are also a String. Substring is used to create small strings. Sometimes a programmer needs only a part of String so, how they can find the substring..

What is Public static void mainIn most of the Programming language, main function is the first function where program start execution. This is the first method from where Java Virtual Machine(JVM) start executing. Following are the variation of main method..

How to Read a File in JavaIn this section we are going to know, How to read a file in Java. We have to follow three step to read a File.
.

File Handling In JavaThis section describes you about how to perform file handling in Java. In this section you will read what is file handling in Java, how to do file handling in Java, what is stream, file handling package, file handling classes and methods, java.io.File.
.

Java InterfaceIn this section we will discuss about the interface in Java.
.

Java Abstract Class ExampleAbstract class in Java is a class which is created for abstracting the behaviour of classes from the outside environment. Abstract class can be created using 'abstract' keyword. An abstract class may contain abstract as well as non-abstract methods. .

JFrame Close On Button ClickThis example explains you how a frame can be closed on an action event i.e. a frame should be close when clicked on the button on a frame. In this example we will use the dispose() method to close the frame..

Java Word Occurrence ExampleThis example explains you that how you can count the occurrences of each word in a file. In this example we will use the HashMap for putting and getting the values. This program takes the file name from command line which returns the number of occurrences of each word separated by a single white space. In this example I have used the java.io and java.util packages.
.

Java Method Return Multiple ValuesThis example explains you how a multiple values can be return by a method. This example explains you all the steps required in to return multiple values in Java. In this example you will see how we can return multiple values using the return statement..

Java Find Next Date ExampleThis example explains you about how to display the next date of input date. This tutorial explains you all the steps involved in developing this application. To develop this application we will use the Eclipse IDE and JDK 1.6..

Java Swing Set And Get ValuesIn this tutorial we will learn about how to set and get values using setter and getter methods. This example explains you how to use setter and getter method in Java Swing..

Java Math.pow() ExampleThis example explains you about the pow() method in Java. This tutorial explains you about the Math.pow() method using a simple example. In this example you can see that how can we find the power of a number in Java. Power means the exponent of a number i.e. n^p (n raised to the power of p) for example if the expression has written like 2^3 then it should be calculated as 2*2*2..