Skip to content

Tag Archives: Java 8

API is an acronym for Application Programming Interface, which is software and the java streams work on a data source. Consider a stream like a… Read More
Data Structures are a boon to everyone who codes. But is there any way to convert a Data Structure into another? Well, it seems that… Read More
A lambda expression is one or more line of code which works like function or method. It takes a parameter and returns the value. Lambda… Read More
Park–Miller random number generator is also known as Lehmer random number generator. A general formula of a random number generator (RNG) of this type is,… Read More
ArrayList is a resizable array. It is under the java package java.util. It gives dynamic arrays in Java. ArrayList is useful in programs where a… Read More
Java is one of the most popular languages and supports many enterprise applications. Running Java on local machines requires the installation of Java IDE, Java… Read More
Problem Description: Write a Java program that accepts a matrix of M × N order and then interchange diagonals of the matrix. Steps:   1. We… Read More
1. Java Server Pages (JSP) : JSP stands for Java Server Pages. These files have the extension. jsp. The main advantage of JSP is that… Read More
We can have a method name same as a class name in Java but it is not a good practice to do so. This concept… Read More
Here, we will discuss the Arithmetic expression having operators like addition and multiplication and you will see how you can take an expression and can… Read More
Given an array prices[] which denotes the prices of the stocks on different days, the task is to find the maximum profit possible after buying… Read More
Functional Interfaces in Java and Lambda Function are prerequisites required in order to grasp grip over method references in Java. As we all know that… Read More
Object Compression is the process of reducing the size of the object with the help of various classes and methods. The receiver then retrieves full… Read More
Introduced in Java 8, the Stream API is used to process collections of objects. A stream is a sequence of objects that supports various methods… Read More
In every programming language, memory is a vital resource and is also scarce in nature. Hence it’s essential that the memory is managed thoroughly without… Read More

Start Your Coding Journey Now!