Introduction to Basic Syntax in Java
1. Overview Java is a statically-typed, object-oriented programming language. It’s also platform-independent — Java programs can be written and compiled on one type of machine, such as a Windows...
View ArticleThe Java Native Keyword and Methods
1. Overview In this quick tutorial, we’ll discuss the concept of the native keyword in Java, and we’ll also show how to integrate native methods into Java code. 2. The native Keyword in Java First of...
View ArticleIf-Else Statement in Java
1. Overview In this tutorial, we’ll learn how to use the if-else statement in Java. The if-else statement is the most basic of all control structures, and it’s likely also the most common...
View ArticleJava Weekly, Issue 262
First installment of 2019. Here we go… 1. Spring and Java >> Java in 2019 – Some Predictions [infoq.com] A quick look at one author’s predictions for this year comes with no real surprises, as...
View ArticleImmutable Set in Java
1. Introduction In this tutorial, we’re going to have a look at different ways of constructing an immutable set in Java. But first, let’s understand the immutable set and see why we need it. 2. What is...
View ArticleMulti Dimensional ArrayList in Java
1. Overview Creating a multidimensional ArrayList often comes up during programming. In many cases, there is a need to create a two-dimensional ArrayList or a three-dimensional ArrayList. In this...
View ArticleControl Structures in Java
1. Overview In the most basic sense, a program is a list of instructions. Control structures are programming blocks that can change the path we take through those instructions. In this tutorial, we’ll...
View ArticleExclude Auto-Configuration Classes in Spring Boot Tests
1. Overview In this quick tutorial, we’ll discuss how to exclude auto-configuration classes from Spring Boot tests. Spring Boot’s auto-configuration feature is very handy, as it takes care of a lot of...
View ArticleDeploy a Spring Boot Application to AWS Beanstalk
1. Overview In this tutorial, we’ll show how to deploy an application from our Bootstrap a Simple Application using Spring Boot tutorial to AWS Elastic Beanstalk. As part of this we’ll: Install and...
View ArticleJava String Interview Questions and Answers
1. Introduction The String class is one of the most widely used classes in Java, which prompted language designers to treat it specially. This special behavior makes it one of the hottest topics in...
View ArticleJava Two Pointer Technique
1. Overview In this tutorial, we’ll discuss the two-pointer approach for solving problems involving arrays and lists. This technique is an easy and efficient way to improve the performance of our...
View ArticleJava ArrayList vs Vector
1. Overview In this tutorial, we’re going to focus on the differences between the ArrayList and Vector classes. They both belong to the Java Collections Framework and implement the java.util.List...
View ArticleCheck if a String is a Pangram in Java
1. Overview In this tutorial, we will learn to check, if a given string is valid pangram or not using a simple Java program. A pangram is any string that contains all letters of a given alphabet set at...
View ArticleMonitoring Java Applications with Flight Recorder
1. Overview In this tutorial, we’ll examine Java Flight Recorder, its concepts, its basic commands, and how to use it. 2. Java Monitoring Utilities Java is not just a programming language but a very...
View ArticleREST API With Kotlin and Kovert
1. Introduction Kovert is a REST API framework that is strongly opinionated, and thus very easy to get started with. It leverages the power of Vert.x but makes it significantly easier to develop...
View ArticlePermutations of an Array in Java
1. Introduction In this article, we’ll look at how to create permutations of an array. First, we’ll define what a permutation is. Second, we’ll look at some constraints. And third, we’ll look at three...
View ArticleJava Interfaces
1. Overview In this tutorial, we’re going to talk about interfaces in Java. We’ll also see how Java uses them to implement polymorphism and multiple inheritances. 2. What Are Interfaces in Java? In...
View ArticleJava Weekly, Issue 263
Here we go… 1. Spring and Java >> Bootiful Azure: Taking Your First Steps with Microsoft Azure (1/6) [spring.io] and >> Bootiful Azure: SQL-based data access with Microsoft SQL Server (2/6)...
View ArticleSpring Boot Interview Questions
1. Introduction Since its introduction, Spring Boot has been a key player in the Spring ecosystem. This project makes our life much easier with its auto-configuration ability. In this tutorial, we’ll...
View ArticleJava toString() Method
1. Overview Every class in Java is a child of the Object class either directly or indirectly. And since the Object class contains a toString() method, we can call toString() on any instance and get its...
View Article