Java Extends Keyword in Depth for Beginners
1. OverviewIn this tutorial, we'll learn how to use extends keyword in java with examples.Extends keyword is used only in the inheritance chain in java and it cannot be used in any other places.In...
View ArticleJava Float To String Conversion Examples
1. Introduction In this article, We'll learn how to convert Float values to String. This is a common scenario to the developers and how conversions can be done using Java API methods.String and Float...
View ArticleJava Difference Between Float and Double Data Types
1. OverviewIn this tutorial, We'll learn what are the differences between float and double data types in java.Float and double data types are used to represent the floating-point values but there are...
View ArticleHow To Compare Two Arrays In Java and New Java 8 API
1. OverviewIn this article, you'll learn how to compare two arrays in java and how to work with comparing the contents of arrays using the deep level technique.Comparing arrays means the first array...
View ArticleKotlin Program to Join Two Lists
1. Introduction In this article, You'll learn how to join two lists in kotlin programming language. List API has addAll() method and apache ListUtils.union() method to add two lists in kotlin. First,...
View ArticleJava Array Sort Descending Order or Reverse Order
1. OverviewIn this tutorial, We'll learn how to sort the arrays in revere order in java.Sorting arrays is done with the help of Comparator interface which works very well for the custom objects.Array...
View Article[Fixed] Java lang exceptionininitializererror com sun tools javac code typetags
1. OverviewIn this tutorial, We'll learn how to fix the error "Java lang exceptionininitializererror com sun tools javac code typetags" when working with maven build.How to create maven project?2. Fix...
View ArticleGradle - could not determine java version 11.0.8 or any version [Fixed]
1. OverviewIn this tutorial, We'll learn how to fix the gradle error "could not determine java version" from 9.0.1, 11.0.8, 11.0.12, 13.0.2, 14.0.2, 15.0.1 or 16.0.1 or any versions.This is the common...
View ArticleCustom Container Configuration in Spring Boot 2
1. Introduction In this tutorial, We'll learn how to use EmbeddedServletContainerCustomizer and ConfigurableEmbeddedServletContainer in Spring Boot 2. But, these two are not present in the newer...
View ArticleJava Program to Find the Biggest of 3 Numbers
1. Overview In this w3schools java programming series, You'll be learning today how to find the biggest of 3 numbers. This is also a very basic interview question. But the interviewer will look for...
View ArticleJava List or ArrayList Max Size (With Examples)
1. OverviewIn this tutorial, We'll understand what is the limit of ArrayList or List implementations that can hold the maximum size.But this is completely different from finding maximum value from...
View ArticleJava 8 - Stream Group By - Collectors.GroupingBy() Examples
1. OverviewIn this tutorial, We will learn how to perform the groupingby operation in java 8. If you have worked in the Oracle database, you must have seen the group by the operator in many complex SQL...
View ArticleJava 8 Collectors Examples In Depth
1. OverviewIn this tutorial, We'll be learning to Java 8 Collectors API in-depth with all methods and example programs. Collectors is a public final class that extends the Object class.Read this...
View Article4 Solutions To Uncaught ReferenceError: $ is not defined jQuery Error
1. Overview In this tutorial, We will be discussing how to solve the famous jQuery error "Uncaught ReferenceError: $ is not defined jQuery Error" that occurs for every developer who started working on...
View ArticleJava Program to Calculate Standard Deviation
1. OverviewIn this tutorial, you'll learn how to calculate the standard deviation in java using for loop and its formula.2. Example to calculate standard deviationLet us write a simple java program to...
View ArticleJava Program to Check Whether an Alphabet is Vowel or Consonant
1. OverviewIn this tutorial, you'll learn how to check the given alphabet is a vowel or consonant in java.We are going to solve this question using if else and switch statements.To understand the...
View ArticleJava Program to Check Leap Year (With Examples)
1. OverviewIn this tutorial, you'll learn how to check the given year is a leap year or not.Everyone knows that leap year comes for every 4 years and February month with 29 days.But, when we do the...
View ArticleJava UnknownHostException - Invalid Hostname for Server - How to Fix It?
1. Introduction In this tutorial, We'll learn what is UnknownHostException and What is the cause to produce it. And also learn how to prevent it. UnknownHostException is a common exception and will...
View ArticleHow to compare two HashSet for equality in Java 8? (Fastest Way)
1. OverviewIn this article, You'll learn how to compare two Sets in Java using Stream API.Java HashSet class equals() method takes Object but when you are calling on a set object then you must pass the...
View ArticleJava 8 Nashorn Javascript With Examples
1. OverviewIn this tutorial, you will learn how to use javascript in java and how to integrate them with each other.Usage of javascript in java can be done with the newly added Nashorn JavaScript...
View Article