Java

“Core Java” is Sun’s term, used to refer to Java SE, the standard edition and a set of related technologies, like the Java VM, CORBA, etc. This is mostly to differentiate from others like Java ME or Java EE. “Core Java” is Oracle’s definition and refers to subset of Java SE technologies.

The Core Java technologies and application programming interfaces (APIs) are the foundation of the Java Platform, Standard Edition (Java SE). They are used in all classes of Java programming, from desktop applications to Java EE applications.

Related Tags

Tutorials

Java ConcurrentSkipListMap

Learn the Java ConcurrentSkipListMap and the major differences between ConcurrentSkipListMap and other Map implementations.

Intro to JWT (JSON Web Token)

JWT tokens are commonly used in authentication and authorization processes to prove a user’s identity or grant access to specific protected resources.

List of Zone Ids and Zone Offsets in Java

Learn about the available zone ids and zone offsets in Java 8 or later. These zone ids and offsets represent an instant/timestamp that is local to the specified timezone. 1. Using ZoneId and ZoneOffset Java 8 introduced new date and time APIs (JSR-310), including ZoneId and ZoneOffset. In Java, the …

Java – Convert Instant to LocalDateTime, LocalDate or LocalTime

Learn to convert a given Instant to LocalDateTime, LocalDate, or LocalTime instances in the current system timezone or a specified timezone in Java. 1. Difference between Instant and LocalDateTime An Instant is an instantaneous point on the time-line without any timezone information associated with it. Internally, it uses the system …

Builder Pattern for Java Records

Learn to implement the builder pattern style fluent API and copy constructors in Java records for creating immutable records with examples.

Daemon Threads in Java

Learn what is a daemon thread in Java, how to create a daemon thread, and various methods present for daemon threads in the Thread class.

Create and Initialize List with Values in One Line

A Java List can be initialized in various ways. However, initializing a list with multiple elements can be a tedious task. This tutorial will discuss different techniques to initialize a list in one line to make your work easy and reduce boilerplate code. Method List Attributes Java Version List list …

Java ArrayDeque with Examples

Learn about Java ArrayDeque and its features with practical examples. Learn to use it as Stack and Queue, and the difference from LinkedList.

JMH – Java Microbenchmark Harness

Java Microbenchmark Harness (JMH) is a tool that allows measuring various code performance characteristics and identifying bottlenecks with precision – up to the method level.

Java Reserved and Contextual Keywords

Java has 51 reserved words and 16 contextual keywords that cannot be used as identifiers in the code. Programmers should not use these keywords for other purposes.

Java IO (Input/Output) Tutorials

Java IO is a collection of APIs targeted at reading and writing data from various sources to several targets. For example, we can read data from a file or over a network, write to a file or write a response back over the network. This page categorizes the various IO-related common tasks …

Java SynchronousQueue with Example

Java SynchronousQueue is a specific type of BlockingQueue with no internal capacity and is primarily used in exchanging data between two threads.

What’s New in Spring 6 and Spring Boot 3

Learn about the new features and changes introduced in Spring 6 and Spring boot 3 such as baseline upgrade to Java 17 and removing all deprecated classes, methods and properties.

Java String Tutorial

Java String class examples. Learn to create strings, methods, comparisons, formatting and various conversions with simple and easy to follow Java examples.

Java 8 Stream – Collectors GroupingBy with Examples

Learn to use Collectors.groupingBy() method to group and aggregate the Stream elements similar to ‘GROUP BY‘ clause in the SQL. Stream -> groupingBy() -> Map of elements after applying ‘group by’ operation 1. Collectors.groupingBy() Method 1.1. Syntax The groupingBy() method returns a Collector implementing a “GROUP BY” operation on Stream …

Java Semaphore vs ReentrantLock

Learn what a Semaphore and a Reentrant Lock are along with practical examples. We will also explore some of the main differences between the two and the use cases where we can use these while working in a multithreaded application. 1. What is a Semaphore? A Semaphore is a Thread …

How to Flatten a Nested List in Java

Flattening a nested list may seem hard at the beginning, but it’s not. It can be easily done using only plain Java, streams, or external libraries.

Convert List to Map in Java

Learn to convert a List to a Map in Java using Streams, Commons collections, and Guava including Multimap class for duplicate list items.

Convert an Object to Map in Java

Learn to convert a given Java object into a Map using different solutions including Jackson ObjectMapper, Gson and Java reflection.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.