Initialize Map with Values in Java
In this tutorial, we’ll learn different ways to initialize a Map with values in Java.
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 a random number, generate a random array or list, get a random element from an array or list, and shuffle the list elements.
In this tutorial, we’ll learn how to design our own HashMap data structure in Java.
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.
Problem: Given a Roman numeral, convert it to an Integer.
Problem: Given an Integer input, convert it to a Roman numeral. Input is within the range from 1 to 3999.
In this tutorial, we’ll learn how to transform a Java Object to JSON-LD and vice versa. Also learn how to verify the schema of JSON-LD.
Builder Design Pattern is one of the commonly used design patterns. It falls under the category of Creational Design Patterns.