Core Java
-
Optional ofNullable() method (With Examples)
A quick guide to Optional ofNullable() method in Java 8 API with Example programs. How to use in the real…
Read More » -
Optional orElse vs orElseGet
Java 8 introduced a fantastic concept of Optional, which we looked into in our blog Java 8 Optional. So just…
Read More » -
Better NullPointerException Messages Automatic in JDK 15
I discussed long-awaited and highly appreciated improvements to NullPointerException (NPE) messages in the posts “Better Default NullPointerException Messages Coming to…
Read More » -
Reverse A String Using Recursion
1. Introduction In this article, You’re going to learn how to reverse a string using recursion approach. The first program…
Read More » -
Java Program To Insertion Sort
Java Program To Insertion Sort With Example. Shown the example simulation along with the time complexity. 1. Introduction Insertion sort…
Read More » -
Local records or classes to improve the readability of stream operations
Java 14 came with the preview language feature of Records — a special lightweight class, comparable to similar constructs in…
Read More » -
Look for exceptions, errors in thread dumps
Thread dumps are vital artifacts to troubleshoot/debug production problems. In the past we have discussed several effective thread dump troubleshooting…
Read More » -
Tycoon: Ransomware Targeting Java’s JIMAGE on Multiple Platforms
The Blackberry Research and Intelligence Team and KPMG’s UK Cyber Response Services Team have reported “Threat Spotlight: Tycoon Ransomware Targets…
Read More » -
Java Text Blocks
Text Blocks are a JDK Enhancement Proposal (JEP 355) available as preview language feature in JDK 13 and 14. It…
Read More »