Inner class in java
In this example we will describe inner classes in java. Inner class declared inside a class. The inner class also call Nested classes. Inner classes provides an graceful and powerful feature to the Java. Inner class parts of Nested Class.
Get IP Address in Java
In this example we will describe How to get ip address in java. An IP address is a numeric unique recognition number which is assigned to the devices participating in the network for communication.
Swapping of two numbers in java
In this example we are going to describe swapping of two numbers in java without using the third number in java. We have used input.nextInt() method of Scanner class for getting the integer type values from the command prompt.