Java 8 Interview Questions(+ Answers) 1. Introduction In this article, we are going to explore some of the JDK8-related questions that might pop up during an interview. Java 8 is a platform release packed with new language features and library classes. Most of these new features are geared towards achieving… Continue Reading java-8-interview-questions

Brief Introduction to Java Thread.yield() 1. Overview In this tutorial, we’ll explore the method yield() in Thread class. We’ll compare it with other concurrency idioms available in Java and eventually explore the practical applications of it. 2. Synopsis of yield() As the official documentation suggests, yield() provides a mechanism to… Continue Reading java-thread-yield

Introduction to Spring Data Elasticsearch 1. Overview In this article we’ll explore the basics of Spring Data Elasticsearch in a code-focused, practical manner. We’ll show how to index, search, and query Elasticsearch in a Spring application using Spring Data – a Spring module for interaction with a popular open-source, Lucene-based… Continue Reading spring-data-elasticsearch-tutorial

Spring MVC Setup with Kotlin 1. Overview In this quick tutorial, we’ll take a look at what it takes to create a simple Spring MVC project with the Kotlin language. 2. Maven For the Maven configuration, we need to add the following Kotlin dependencies: <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib-jre8</artifactId> <version>1.1.4</version> </dependency> We… Continue Reading spring-mvc-kotlin

Online Java Compilers 1. Introduction An online compiler is a tool which allows us to compile the source code and execute it online. This is a great option, especially for new Java students, tutors, or interviewers. Additionally, it’s super easy to share the code or collaborate in private or group sessions. Besides that,… Continue Reading java-online-compilers