Lambda Expression In Java java Core Java Java 8 by devs5003 - April 19, 2021November 6, 20250 Lambda Calculus is a big change in mathematical world which has been introduced in 1930. Because of benefits of Lambda Calculus slowly this concept started being used in the programming world. “LISP” is the first programming which used Lambda Expression. Simultaneously, some other languages are already using lambda expressions such as : C, C++, C# .Net, C Objective, Python, Ruby and obviously Java as well. However, our topic of discussion is 'Lambda Expression in Java'. Lambda Expression in Java is one of the crucial feature within the new features introduced in Java 8. Let's start discussing 'Lambda Expression in Java' and related concepts step by step. Why we use Lambda Expression in Java? The primary Objective of introducing Lambda Expression is to promote
JDK 15 Features java Core Java jdk15 by devs5003 - September 25, 2020April 10, 20255 JDK 15 features released on 15th Sept, 2020. After 25 years of innovation, Java continues to be the #1 programming language, used by over 69 percent of full-time developers worldwide. The latest Java Development Kit (JDK) delivers new functionalities to improve developer productivity & security. As a developer, we should have knowledge of the features of new releases, at least which may be valuable to our development. JDK 15 features also may have an important role in the java technical interview. Not only JDK 15, but features of other versions of Java also can play an important role in the interview. Besides cracking the java technical interview we should also have an idea on the growth of our programming language with
Structure of JDK : Java 8 vs Java 9 java Core Java Java 8 by devs5003 - June 28, 2020February 18, 20240 Structure of JDK : Java 8 vs Java 9 Everyone working with Java technology uses JDK (Java Development Kit) software to develop & run the code. You can't write the code or develop an application in Java without installing the JDK software on your system. In this article, we will learn about the internal structure of JDK & compare the structures of Java 8 & Java 9. We have major changes in the structure of Java 9 as compared to older versions. Our title for this article will be "Structure of JDK : Java 8 vs Java 9" Let's discuss each component of JDK step by step: JDK Folder This folder is the root directory of our java software containing sub-folders bin, lib, include
What are the components of Java Program java Core Java by devs5003 - June 1, 2020December 14, 20231 'What are the components of Java Program?' If you know the components of Java, you know almost everything in java to become an expert programmer. Knowledge of components makes your java learning curve faster and easy. If you go through the complete topic and apply the concepts explained, you will feel more comfortable & confident while writing the code. You will start visualizing the codes & implementations quickly. It will also help you to design a best quality application in java. Now let's talk about 'What are the components of Java Program?' What are the components of Java Program? If this term is new to you in Java, just think about terms part, element, section, piece, portion, segment, ingredient. All are synonyms of
5 ways to create an object in java java Core Java by devs5003 - May 14, 2020June 3, 20223 As we know that creation of an object in java is a cost-effective affair. Therefore we should have knowledge of different ways to create Objects in java so that we can use a particular way in the given scenario to handle the situation in a better way. Here we will find out 5 ways to create an object in Java. Using new keyword : This way of creating object in Java is the most common way in all. Using newInstance() method of class 'Class' : You must be aware of the Reflection API in Java. However, under reflection API we have these classes 'Class' & 'Constructor'. Moreover, both classes have newInstance() method in it to create objects in Java. Therefore, we will see newInstance()
7 ways to print elements of a Collection in Java java Core Java by devs5003 - May 14, 2020November 25, 20250 In this article, we are going to learn 7 ways to print elements of a Collection in Java. However, I am sure that any java programmer will come across this situation multiple times while writing programs to develop any application/software. Especially while testing the program, printing of elements on console becomes a bit mandatory. Sometimes, it becomes confusing that which way we should choose to print the values of elements of the defined collection as per our requirement. I hope you will be able to tackle all the scenarios after going through this article accordingly. However, we will go step by step to get a hold on this topic. Let's consider a List as a Collection to demonstrate all the ways
How to run a Java program in Windows 10+ ? Core Java java by devs5003 - April 28, 2020January 17, 20257 An essential target as a new learner of a programming language is running your first program. Java is a popular and flexible programming language known for its portability and wide range of applications. To run a Java program, we need to set up our development environment, write the code, and then execute it. In this article ''How to run a Java program in Windows 10+ ?'', we are going to discuss a summary of the complete steps involved in running our very first Java program. If you are going to learn/work on Java, your first step is to install java on your computer/laptop and check whether you have complete environment to start running your Java Programs or not. Here, we