Java 8 Stream API Explained

1. Introduction This article explains Java 8 Stream API with different examples. We will learn how to perform different operations using the stream() method. 2. Stream Initialization Java provides different ways to initialize a stream. Let’s see the most useful ways of creating a stream with examples. 2.1. Stream.empty() Method…

Read more »

How to Find a Class with Eclipse

1. Introduction In this post, we’ll look at different ways to find a class under Eclipse. 2. Supported Eclipse Versions All the examples provided in this article are executed under Eclipse Luna Service Release 2 (4.4.2). The key bindings used in examples are same for all eclipse versions. We are…

Read more »

Learn AWS Lambda in 5 minutes with Java example

Introduction This post is useful for those who are new to AWS lambda and want a quick configuration and testing. In this post, we will cover both approaches (implement RequestHandler.handleRequest, custom¬†handler) to create a lambda function. Follow this link to know about approaches we cover:¬†Lambda Function Handler. Please visit AWS…

Read more »

Java interview questions for 0 to 2 years experience

1. Introduction This post covers possible java interview questions with answers. Java and J2EE questions are uniquely designed to help experienced developers. You will find the answer to every question just after it. Enjoy learning! 2. Core Java Interview Questions Question: After invoking the wait method on an object, obj1,…

Read more »