Latest beginner on category "Java"

The interface is a mechanism to achieve fully abstraction. There can be only abstract methods in interface, not method body. An Interface is also used to achieve multiple inheritance in Java.

Java  J2EE 

If you are declared with abstract keyword of a class is called abstract class. It can have abstract and non-abstract method (method with body).

Java  J2EE 

In java Inner class or nested class is declared inside the class or interface. We use inner class because it increases more readable & maintainable of code.

Java  J2EE  Class 

If you want to convert string to float,double,int,date and vice- versa then this article are very useful for that

Java  J2EE 

If you are using more than one synchronized method in the program and want to access both synchronized method in a program on single thread.

Before JVM shuts down if you want to execute some code, use shutdown hook.

In java, Damon thread is a low priority thread .It is used for providing background support to any user thread to same process as the daemon thread.

If you are excited to know how to swing component event & listener are working then this article is very important


If you are excited to coding for creating a windows based application then Java Swing is the best way .


For solve the problem are possible only by the static Initialization block.

Java  Javac 

if you have to read and write the textual information Then Java has suggested not to use the FileInputStream and FileOutputStream classes .

Java  J2EE 

If we want to read data from multiple stream in java input/output operation then SequenceInputStream class is very useful for that.

Java  File  J2EE 

If we don’t know how many arguments we will have to pass in the method .Varargs is the better approach.

Java  J2EE 


Serialization is a process of converting an object into a stream.

Java  JMS  J2EE  EJB  Hibernate 

The Java Console class is often using to get input from console. It provides methods to read text and password.

Java  J2EE 

The StreamTokenizer class allows you to break an input stream into tokens such as words.

Java  J2EE 

There are two principal means of generating random (really pseudo-random) numbers: one is using the Random class and the other is using the Math.random method.

Java  Class 

Getter and setter methods are used in Java to retrieve and manipulate private variables in a different class.


The whole idea behind encapsulation is to hide the implementation details from users. If a data member is private it means it can only be accessed within the same class. No outside class can access private data member (variable) of other class.

Regular Expression used to define constraint on strings such as password and email validation.

Java  J2EE  Regex 

By Default, the Object class is the parent class of all the classes in java or we say, it is the topmost class of java.

Java  J2EE 

A cursor defines the runtime execution environment for query when the result of the query execution can be captured.

In Java, CallableStatement is used to call the stored procedures and functions by using an object of the CallableStatement Interface.

Variation of "public static void main(String args[])" and different altering cases and its corresponding outputs and errors.



Enter your email address here always to be updated. We promise not to spam!