Book

Java 9 with JShell

The release of Java 9 has brought the REPL, known as JShell, which will make experiments and prototyping much more straightforward than the old IDE-based project-led approach. Java has also acquired a module system which makes discovery, loading and integrity checking much easier than the old JAR format. Together with the emphasis on functional programming since Java 8, this book shares a new Java landscape, enhancing programmer productivity and a new approach to Java object orientation.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

13h36m

Language

English

About Book

Who Is This Book For?

This book can be understood by anyone who is a graduate of computer science or someone who has just begun working as a software engineer. Basically, an understanding of an object-oriented programming language like Python, C++ or indeed, an earlier Java version is sufficient. It would be helpful to have participated in the full product cycle of a software engineering project.

Book content

chapters 13h36m total length

JShell: A Read-Evaluate-Print-Loop for Java 9

Objects from the real-world to UML diagrams and Java 9 in the JShell

Classes and instances in Java 9

Encapsulation of data

Mutable and immutable classes

Inheritance, abstraction, extension and specialization

Members inheritance, typecasting and polymorphism

Contract programming with interfaces

Advanced Contract Programming with Interfaces

Maximization of code reuse with generics in Java 9

Advanced generics in Java 9

Object-Oriented, Functional Programming and Lambda Expressions in Java 9

Modularity in Java 9

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required