Category Archives

Socket Programming in Java

This article describes a very basic one-way Client and Server setup where a Client connects, sends messages to server...

Socket Programming in Java

This article describes a very basic one-way Client and Server setup where a Client connects, sends messages to server...

BigInteger Class in Java

BigInteger class is used for mathematical operation which involves very big integer calculations that are outside the limit of...

BigInteger Class in Java

BigInteger class is used for mathematical operation which involves very big integer calculations that are outside the limit of...

Stream In Java

Introduced in Java 8, the Stream API is used to process collections of objects. A stream is a sequence...

Stream In Java

Introduced in Java 8, the Stream API is used to process collections of objects. A stream is a sequence...

Lambda Expressions in Java 8

Lambda expressions basically express instances of functional interfaces (An interface with single abstract method is called functional interface. An...

Lambda Expressions in Java 8

Lambda expressions basically express instances of functional interfaces (An interface with single abstract method is called functional interface. An...

Annotations in Java

Annotations are used to provide supplement information about a program. Annotations start with ‘@’. Annotations do not change action...

Annotations in Java

Annotations are used to provide supplement information about a program. Annotations start with ‘@’. Annotations do not change action...

Assertions in Java

An assertion allows testing the correctness of any assumptions that have been made in the program. Assertion is achieved...

Assertions in Java

An assertion allows testing the correctness of any assumptions that have been made in the program. Assertion is achieved...

Wildcards in Java

The question mark (?) is known as the wildcard in generic programming . It represents an unknown type. The...

Wildcards in Java

The question mark (?) is known as the wildcard in generic programming . It represents an unknown type. The...

Generics in Java

Generics mean parameterized types. The idea is to allow type (Integer, String, … etc, and user-defined types) to be...

Generics in Java

Generics mean parameterized types. The idea is to allow type (Integer, String, … etc, and user-defined types) to be...