Java File Operations Programming Guide

Java supports a class called File in the javaio package It can be used to represent a file or a directory on the file [...]

How To Read a Text File in Java

In this article, we will be learning about the different ways in which you can read a text file in Java Using [...]

How to Convert an Array to a List and Vice-Versa in Java

A List is an interface that is part of the Java Collection framework It can be used to store a list of objects Arrays [...]

How to Sort a List in Java

A List is an interface that is part of the Java Collection framework It can be used to store a List of objects In this [...]

Java Queues

A Queue is an in-built interface in the Collection framework It can be used to store a group of objects In this [...]

Java 8 Lambda Expressions

In Part 1 of this article, we had taken a look at functional interfaces We had seen how functional interfaces along [...]

Java 8 Functional Interfaces

Java 8 has introduced a new feature called functional interfaces and lambda expressions This is a two-part article in [...]

Java Maps and Map operations

A Map is an in-built interface It is part of the Collection framework It can be used to store a group of key-value [...]

Java Interfaces – Part 2

In Part 1 of this article, we had taken a look at interfaces in their traditional form Traditionally, interfaces could [...]

Java Interfaces Part 1

Just like a class, Java supports another construct called an interface Interfaces help to specify the behavior that a [...]