Skip to content
Latest Posts:
Creating test data using Python
How to replace multiple strings with their corresponding replacement strings in Scala
How to make the first character uppercase of each word of a List in Scala

Clear ur Doubt

  • Home
  • Technologies
    • Scala
    • Java
    • Hadoop
    • Apache Spark
    • C
  • Tips & Tricks
    • Unix
    • Java 8
  • Projects
    • Python
      • Simple ETL Pipeline
  • Home
  • Blog
  • Java 8

Category: Java 8

Jun 08

Program to create a JSON file using Java

Sai Gowtham BadvityLeave a commentJava, Java 8create JSON, Java, Java 8

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Java program to create a JSON file using JSON-simple API. JSON-simple API is used to create and read JSON files in a simple way.   Maven dependency for Read more

Mar 26

Java 8 – Functional Interfaces – Introduction

Sai Gowtham BadvityLeave a commentJava 8Functional Interfaces, Java 8

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at the introduction of Functional Interfaces and Lambda Expressions in Java 8. One of the great updates in Java 8 is the addition of Lambda Expression support. Functional interfaces are Read more

Feb 06

Optional class in Java 8

Sai Gowtham BadvityLeave a commentJava, Java 8isPresent, Java 8, ofNullable, Optional

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at the demonstration of Optional<T> class in Java 8. Optional is introduced in Java 8 mainly to provide a way to avoid Null Pointer Exceptions in the code. Instead of directly Read more

Jan 06

How to format Date in Java 8

Sai Gowtham BadvityLeave a commentJava 8DateTimeFormatter, Java 8

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at formatting dates in Java 8. Using DateTimeFormatter, which was introduced in Java 8, we can format the date strings in a simple way. Let’s look at a sample program: Read more

Dec 15

How to remove nulls from an ArrayList in Java 8

Sai Gowtham BadvityLeave a commentJava 8ArrayList, Java 8, List, removing nulls, Stream API

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at removing nulls from an ArrayList in Java 8. Using Stream API, which was introduced in Java 8, we can remove null values from an ArrayList in a simple way. Read more

Recent Posts

  • Creating test data using Python
  • How to replace multiple strings with their corresponding replacement strings in Scala
  • How to make the first character uppercase of each word of a List in Scala

Recent Comments

  • Sai Gowtham Badvity on Calculator program in Scala
  • Sai Aditya on Calculator program in Scala
  • pragadeeshwaran on How to add a new column and update its value based on the other column in the Dataframe in Spark
June 2025
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  
« Aug    
Copyright © All rights reserved.
University Hub by WEN Themes
Scroll Up