Tag: Object Oriented Programming
- Which attributes have added to @Deprecated annotation in Java 9?There are two new parameters or attributes added to @Deprecated annotation in Java 9. Those parameters are Since and forRemoval, both of these two parameters are optional with a defau
- JShell in Java 9?JShell is a new concept introduced in Java 9 version. It provides Java with REPL (Read-Eval-Print-Loop) ability. By using JShell, we can test the java-based logic and expressions
- Differences between takewhile() and dropWhile() methods in Java 9?The takewhile() method of Stream API accepts all values until predicate returns false whereas dropWhile() method of Stream API drops
- StackWalker API in Java 9?StackWalker API allows easy filtering and lazy access to execute tasks within any method. It is an efficient API for obtaining stack trace information in Java 9.
- How to create a class and object in JShell in Java 9?JShell is a new java shell tool released in java 9. It is the first official REPL (Read-Evaluate-Print-Loop) application. This tool helps in executing and evaluating simple java programs
- What are the useful commands in JShell in Java 9?In this article, we will learn about useful commands in JShell. Java 9 has introduced a new interactive tool called JShell. This tool can be used to execute, test user-friendly and easy way of Java classes, interfaces, enums, objects, statements and