Tag: Object Oriented Programming
- What is Project Jigsaw in Java 9?The primary objective of the Jigsaw project is to introduce the modularity concept to create a module in Java 9 and then applying the same to JDK.Below ar
- How to create JShell instance programmatically in Java 9?JShell is an interactive tool introduced since Java 9. It is Java's first official REPL tool to create a simple programming environment in the command-line that reads the user's inputs, evaluates it, and prin
- What is a forward reference in JShell in Java 9?JShell is a command-line tool that allows us to enter Java statements (simple statements, compound statements, or even full methods and classes), evaluates it and prints the res
- Importance of the Collectors.filtering() method in Java 9?Collectors class is an essential part of the Stream API. In Java 9, a new method: filtering() added to the Collectors class. The C
- Importance of Collectors.flatMapping() method in Java 9?In Java 9, a new method added to the Collectors class: flatMapping(). It is similar to the Collectors.mapping() method in which the flatMapping() method allows us to handle nested collect
- How to access each stack element of StackWalker in Java 9?In this article, we will learn to access each stack element of StackWalker in Java 9. We will learn about the StackWalker API and its methods, and use of,%?getStackTrace() method for accessing each stack element. StackWalker API StackWalker API allows