• Skip to main navigation
  • Skip to main content
  • Skip to footer

Category: JAVA Topics

This category contains JAVA topics which are frequently used in Selenium.

Handle Horror Of NullPointerException Using Optional Class

Introduction Everyone knows the horror of NullPointerException. If we do not put checks on the null value then the execution…
Continue reading “Handle Horror Of NullPointerException Using Optional Class”…
Posted on: July 7, 2021 Last updated on: July 7, 2021 Comments: 0 Written by: Amod Mahajan

Core Java Quiz 3 – Collections Framework

Continue reading “Core Java Quiz 3 – Collections Framework”…
Posted on: September 15, 2020 Last updated on: September 15, 2020 Comments: 1 Written by: Amod Mahajan

Core Java Quiz – 2 – Arrays

In this post, we will learn the basic concepts of Arrays by attempting objective questions. Hope it will be helpful…
Continue reading “Core Java Quiz – 2 – Arrays”…
Posted on: August 21, 2020 Last updated on: August 21, 2020 Comments: 1 Written by: Amod Mahajan

Core Java Quiz – 1 – Variables

Let’s attempt some basic Java questions and learn. If you have any doubt, feel free to comment below.If…
Continue reading “Core Java Quiz – 1 – Variables”…
Posted on: August 19, 2020 Last updated on: August 21, 2020 Comments: 0 Written by: Amod Mahajan

getOrDefault() – A Method Of Map Interface In Java

Let’s start with a simple Java program and understand:- package Concepts; import java.util.HashMap; import java.util.Map; public class GetOrDefaultMethodExample { public…
Continue reading “getOrDefault() – A Method Of Map Interface In Java”…
Posted on: July 8, 2020 Last updated on: July 8, 2020 Comments: 0 Written by: Amod Mahajan

Java Program To Find Closest Value Of A Given Number In Sorted Array

We have already learned a Java Program to find the closest value of a given number in an unsorted array.…
Continue reading “Java Program To Find Closest Value Of A Given Number In Sorted Array”…
Posted on: July 7, 2020 Last updated on: July 8, 2020 Comments: 0 Written by: Amod Mahajan

Java Program To Find Closest Value Of A Given Number in Unsorted Array

I have explicitly added the term “Unsorted” array but the interviewer may not say this piece of information and expect…
Continue reading “Java Program To Find Closest Value Of A Given Number in Unsorted Array”…
Posted on: June 26, 2020 Last updated on: June 26, 2020 Comments: 0 Written by: Amod Mahajan

Java Interview Question 4 – What is HashCode of an Empty String?

As a part of Java Interview Questions, in this post, we will see an interview question which I faced in…
Continue reading “Java Interview Question 4 – What is HashCode of an Empty String?”…
Posted on: December 19, 2019 Last updated on: December 20, 2019 Comments: 0 Written by: Amod Mahajan

REST Assured Tutorial 3 – Static Import in Java

Introduction As a part of the End to End REST Assured Tutorial, in this post, we will learn the static import concept…
Continue reading “REST Assured Tutorial 3 – Static Import in Java”…
Posted on: October 31, 2019 Last updated on: November 21, 2020 Comments: 5 Written by: Amod Mahajan

How Much Java Required For Selenium?

“How much Java I need to learn for selenium with Java binding?” is mostly asked question by a Professional who…
Continue reading “How Much Java Required For Selenium?”…
Posted on: November 17, 2018 Last updated on: November 17, 2018 Comments: 6 Written by: Amod Mahajan
1 2 Next page »
© 2023 | Using Modern WordPress theme. | Back to top ↑