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

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 – Stream API Enhancements (With Examples)

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 – @SafeVarargs Annotation (with examples)

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 – Anonymous Inner classes and Diamond Operator

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 – Try With Resources Enhancements

Last Updated: December 1, 2024 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]

Tags: Java-9

Java 9 – Private methods in Interfaces (with examples)

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 – Factory methods to create Immutable Map

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 – Factory methods to create Immutable Set

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 – Factory method to create Immutable List

Last Updated: September 11, 2022 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]

Tags: Java-9

java 9 JShell – Working with Methods

Last Updated: September 11, 2022 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]

Tags: Java-9

java 9 JShell – Working with variables

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 JShell (Java Shell) – REPL

Last Updated: September 11, 2022 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]

Tags: Java-9

Java 9 Features with Examples

Last Updated: September 11, 2022 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]

Tags: Java-9

jshell: Command Not Found on Mac OS X

Last Updated: September 11, 2022 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]

Tags: Java-9

Java Tutorial

Java Introduction

  • Java Index
  • Java Introduction
  • History of Java
  • Features of Java
  • C++ vs Java
  • JDK vs JRE vs JVM
  • JVM - Java Virtual Machine
  • First Java Program
  • Variables
  • Data Types
  • Operators

Java Flow Control

  • Java If-else
  • Java Switch-Case
  • Java For loop
  • Java while loop
  • Java do-while loop
  • Continue statement
  • break statement

Java Arrays

  • Java Arrays

OOPs Concepts

  • OOPs Concepts
  • Constructor
  • Java String
  • Static keyword
  • Inheritance
  • Types of inheritance
  • Aggregation
  • Association
  • Super Keyword
  • Method overloading
  • Method overriding
  • Overloading vs Overriding
  • Polymorphism
  • Types of polymorphism
  • Static and dynamic binding
  • Abstract class and methods
  • Interface
  • Abstract class vs interface
  • Encapsulation
  • Packages
  • Access modifiers
  • Garbage Collection
  • Inner classes
  • Static import
  • Static constructor

Java Exception Handling

  • Exception handling
  • Java try-catch
  • Java throw
  • Java throws
  • Checked and Unchecked Exceptions
  • Jav try catch finally
  • Exception Examples
  • Exception Propagation

Collections Framework

  • Collections in Java
  • Java ArrayList
  • Java LinkedList
  • Java Vector
  • Java HashSet
  • Java LinkedHashSet
  • Java TreeSet
  • Java HashMap
  • Java TreeMap
  • Java LinkedHashMap
  • Java Queue
  • Java PriorityQueue
  • Java Deque
  • Comparable interface
  • Comparator interface
  • Collections Interview Questions

MORE ...

  • Java Scanner Class
  • Java 8 Features
  • Java 9 Features
  • Java Conversion
  • Java Date
  • Java Multithreading
  • Java I/O
  • Java Serialization
  • Java Regex
  • Java AWT
  • Java Swing
  • Java Enum
  • Java Annotations
  • Java main method
  • Java Interview Q

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap