Java 8 – Stream

The Java Stream API adds a new abstraction called Stream that lets you process data in a declarative way. The Java Stream API can greatly increase the productivity of Java programmers, allowing programmers to write efficient, clean, and concise code. This style treats the set of elements to be treated as a stream, which is…

By ravi24kant December 31, 2018 Off

Java 8 – Default Methods

In the previous post we’ve seen functional Interface & Lambda Expressions. during this post we are going to see another java 8 new feature “Default Methods” in interfaces. Before Java 8, the interface solely contains method signatures. With Java 8 new feature Default methods you’ll be able to include method body inside the interface. Lets…

By ravi24kant December 17, 2018 Off

Java 8 – Lambda Expressions

In this post, I’ll cover lambda expression Java and ideas around it in 3 parts. Below is out arrange to act. What’s a lambda expression in Java? Java 8 functional interface Lambda expression examples Let’s continue the setup and move step by step. What’s a lambda expression in Java? In programming, a Lambda function is…

By ravi24kant November 14, 2018 Off

Java 8 – Functional Interface

A functional interface is an interface with only 1 abstract method. this suggests that the interface implementation can only represent one behaviour. samples of a functional interface in Java are: java.util.Comparator java.lang.Runnable java.util.concurrent.Callable java.io.FileFilter An important purpose to remember is that the functional interface can have a variety of default methods however only 1 abstract…

By ravi24kant November 14, 2018 Off

Java 8 – Features

This Java tutorial list down necessary Java 8 features with examples that were introduced during this release. All options have links to elaborate tutorials like lambda expressions, Java streams, functional interfaces and date time API changes. Java SE 8 was released in early 2014. In java 8, most talked concerning feature was lambda expressions. it’s several alternative necessary features as well like default methods, stream API and new date/time API. Let’s find out about these new options in java 8 with examples. Functional Interface Functional interfaces are known as Single Abstract method interfaces…

By ravi24kant October 29, 2018 Off

Java Exception Handling

Java Exception Handling Exceptions are run time errors and Java Exception handling is to handle these errors, Exception is a situation that stops the program while you are running. As much memory as your program needs to be executed, so much memory will not stop if your computer does not have the execution of your…

By ravi24kant October 27, 2018 Off

Java Multithreading

Java Multithreading To understand Java Multithreading, as you can eat food while talking on all the phones and watch TV as well. Our brain is programmed in such a way that we can do many things together. It is called multitasking. Similarly, any program of java can complete multiple tasks simultaneously. This feature of Java is…

By ravi24kant October 21, 2018 Off

Java Generics

Java Generics Introduction If I tell you, I can create a method of addition which can add variables of the data type of every method. I mean by every data type, if I want to add integers and add two to the same method double. Will you ask, is it possible to do this? Yes, it is…

By ravi24kant October 21, 2018 Off

Java Arrays

Introduction to Java Arrays Imagine you’re storing some information about 200 employees. To store information of so many employees separately, you will need 200 variables. But no human can create and manage so many variables. You have to think 200 different names. And this will make your program even bigger. Arrays are used to avoid…

By ravi24kant October 21, 2018 Off

Java Strings

Introduction to Java Strings Java Strings are sequences of characters. In Java the strings have been implemented like objects. This has been done so that operations can be performed on strings. Operations such as adding or comparing 2 strings etc. You can perform on strings. String is a class. You can also create normal string…

By ravi24kant October 21, 2018 Off

Java Collections

Java Collections If you have already read data structures then java collections can be easily understood. Some data structures (set, list, queue and array) are used to organize multiple objects together in Java. These data structures are called collections in java. The collection of these data structures is called the Java collection framework. With the…

By ravi24kant October 21, 2018 Off

Java Introduction

This Java Introduction gives a brief understanding about Java and its History. Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. Java Introduction : About Java Java was started as a…

By ravi24kant October 9, 2018 Off

Java OOPS Concepts

Java OOPS Concepts Java OOPS concepts area unit the rear bone of Java, wherever Object oriented programming is aprogramming Technic that is predicated on OOPs concepts like Inheritance, Encapsulation, Abstraction, Polymorphism. There are several standard programming languages follow an object oriented programming like Java, C++, C# etc. In this article, we’ll point out object oriented programming ideas in Java. Any object-based application in Java is predicated on declaring categories, making objects from them and interacting between these objects. we will perceive the below core ideas of Object oriented Programming. thus here we have a tendency to go and see…

By ravi24kant September 1, 2018 Off