BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

Learn Java 9 Modules in 15 Minutes

By Chaitanya Singh | Filed Under: java

In this article we will learn the most important feature of Java 9 – “Java 9 Modules“. We will cover everything like why we need… [Read More]

Java 9 – Stream API Enhancements (With Examples)

By Chaitanya Singh | Filed Under: java

We have already learned that Java 8 introduced the Stream API along with several other cool features. If you are not familiar with Streams then… [Read More]

Java 9 – @SafeVarargs Annotation (with examples)

By Chaitanya Singh | Filed Under: java

Java 7 introduced the @SafeVarargs annotation to suppress the unsafe operation warnings that arises when a method is having varargs (variable number of arguments). The… [Read More]

Java 9 – Anonymous Inner classes and Diamond Operator

By Chaitanya Singh | Filed Under: java

In this post, we will discuss the diamond operator enhancement introduced in Java SE 9. What is a diamond operator? Diamond operator was introduced as a… [Read More]

Java 9 – Try With Resources Enhancements

By Chaitanya Singh | Filed Under: java

Try with resource statement was first introduced in Java 7. This statement has received a major enhancement in Java 9. In this guide, we will… [Read More]

Java 9 – Private methods in Interfaces (with examples)

By Chaitanya Singh | Filed Under: java

As we know that Java 8 allowed us to create default and static methods in Interface. The intention was to have new methods added to… [Read More]

Java 9 – Factory methods to create Immutable Map

By Chaitanya Singh | Filed Under: java

In the previous tutorials we learned about the factory methods introduced in Java 9 to create immutable List and immutable Set. In this guide, we… [Read More]

Java 9 – Factory methods to create Immutable Set

By Chaitanya Singh | Filed Under: java

In the last tutorial, we learned how to create immutable lists with ease using the factory methods introduced in Java 9. In this guide, we… [Read More]

Java 9 – Factory method to create Immutable List

By Chaitanya Singh | Filed Under: java

There are couple of useful factory methods introduced in Java 9 to create immutable (unmodifiable) lists. 1. Creating immutable list prior to Java 9 Before… [Read More]

java 9 JShell – Working with Methods

By Chaitanya Singh | Filed Under: java

In the previous tutorial we learned how to work with variables in JShell. In this guide, we will learn how to create methods in JShell,… [Read More]

java 9 JShell – Working with variables

By Chaitanya Singh | Filed Under: java

In the last tutorial we learned about JShell, the newly introduced feature of java 9. In this guide, we will see how to work with… [Read More]

Java 9 JShell (Java Shell) – REPL

By Chaitanya Singh | Filed Under: java

JShell stands for java shell. It is also known as REPL (Read Evaluate Print Loop). The purpose of this tool is to provide a easy… [Read More]

Java 9 Features with Examples

By Chaitanya Singh | Filed Under: java

Java 9 released on 21st September 2017. It is released with several new cool features. I will try to cover all the features in separate… [Read More]

jshell: Command Not Found on Mac OS X

By Chaitanya Singh | Filed Under: java

If you are trying to access jshell on Mac OS X and getting the following error(jshell: command not found) that means you have to configure… [Read More]

Copyright © 2012 – 2023 BeginnersBook . Privacy Policy . Sitemap