Month: December 2018


1.Overview Streams are introduced in Java in Stream API to handle the operations on the list of elements in functional programming approach. Using Streams we can do multiple operations on the list of elements. We can do filtering(Filter) or ordering (Map) etc., on the list of elements/collections in the stream. Second is we can do …

Streams Read More »

Spring Boot Rest Service [Get/Post]

Spring Boot Application is a stand-alone solution of a normal Spring Web Application. It comes with pre-configured conventions of the spring settings. It is very easy for a developer to create a Get/Post Rest Service using Spring Boot., Requirements: JDK1.7+, Maven 3+ Stack: Java. Spring Boot Files going to created:

Like Every Basic Web …

Spring Boot Rest Service [Get/Post] Read More »


1. Overview Polymorphism refers to different behavior of an object for same method name in Object Oriented Programming. Every child class can have different unique behavior for the method it extends from the Parent class or more than one method with same name with different arguments behave differently. All child class has its own unique …

Polymorphism Read More »


Abstraction is a concept in Object oriented programming where only required behavior and property will be shown/visible to the user/application. In Java, data abstraction can be done in Java using abstract class / Interfaces. Abstract Class are classes where we cannot create objects, however classes which are extending have to implement those functionalities, not defined …

Abstraction Read More »

Classes & Objects

Java is a object Oriented Programming language. Programming deals with defining objects states and behaviors. In Java, Objects are logical representation of a real world objects or a conceptual thing. Class is a template, which defines the structure of the Object and its behavior.Using a class, we can create any number of objects.,   Example:

Classes & Objects Read More »


CountDownLatch is another concurrency class, in which makes one thread wait for other until it reaches the threshold limit mentioned.Reach for the threshold limit, is counted by calling countdown() method present in CountDownLatch class.Every time countdown() method is called, the count is decremented by 1, finally when arrives at zero, the awaiting will stop. Assume …

CountdownLatch Read More »