
Zip and Unzip Files in Java
In this tutorial, we’ll learn how to zip a file or directory into an archive and how to unzip the archive into a directory using Java core libraries.
In this tutorial, we’ll learn how to zip a file or directory into an archive and how to unzip the archive into a directory using Java core libraries.
In this tutorial, we’ll learn different methods to convert long primitive or Long object to String in Java
Java 8 stream is widely used feature to write code in functional programming way. In this tutorial, we’ll discuss how to use Streams for Map creation, iteration and sorting.
In this tutorial, we’ll learn different ways to initialize a Map with values in Java.
In this tutorial, we’ll learn basics of Java Annotations, Built-in Java Annotations, How to create single-value, multi-value, repeated and type annotations and How to use them at runtime.
In this tutorial, we’ll learn how to generate random number, generate random list, get random number from list, shuffle elements in list using Random Class in Java.
In this tutorial, we’ll learn how to design our own HashMap data structure in Java.
Comprehensive List of Java Multithreading (Concurrency) Interview Questions based on my personal interview experience over the last few years. Keep following this post link for regular updates.
This problem is frequently asked in the interview to check your understanding on threads and your programming skills. Problem statement might change for e.g.
In this tutorial, we’ll learn different ways to initialize List, ArrayList and LinkedList with values in single line in Java.