Posts

Showing posts with the label java 8 interview questions

CI/CD as Code Part IV - Stateless Jenkins : Jobs as Code - Advanced

Image
In the previous article of these examples , we created a stateless jenkins container which can be initialised solely by using scripts. In that example, a seed job for jobdsl plugin was also implemented. This job was later on used to create an automated simple jenkins job inline. In order to create more complex jobs in an automated fashion, we will extend previous seed job implementation further in this example. Our extended seedJob will poll a job definition repository to gather the information on how to create new complex jobs for some other remote repositories.

Java 8 Interview Questions Compilation - Part I

Candidates might face platform specific questions in the interviews of different companies. This article is intended to serve as a starting point for java 8 related interview questions.  However, please note that, the best way to have a good command of technical platforms is to practice. With each major release of the language, java team releases important features. Let's us take a look at the most significant ones with java 8: Functional Programming Features; functional interfaces, lambda expressions Default and Static method in Intefaces  Stream API and bulk data operations, Concurrency API improvements; ConcurrentHashMap, CompletableFutures, improvements in executors Nashorn, Javascript Engine ... Among these features, we will focus on functional programming related ones and stream API in this article. Let's begin: Functional Programming Related Basic Features Interfaces Optional Functional Programming Related Basic Features What is a Lambda Express...