O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning Java 9 – Object Oriented Programming

Video Description

Take a sneak peek into Object-Oriented Programming with Java 9

About This Video

  • This interactive and engaging guide provides a thorough overview of OOP in Java
  • Explore real-world examples to help you build a strong foundation for other programming paradigms
  • Demonstrations of the different primitive types available in the language, the difference between primitive types and their corresponding classes, and simple data structures such as arrays

In Detail

When it comes to learning programming skills, knowing how to program in Java is a clear advantage in your career, because with Java your code is more than just code! Java gives you cutting-edge, in-demand job skills in areas such as mobile, web apps, Internet of Things, big data, Machine learning, cloud platforms, and cloud Infrastructures. Whether you're developing a robust enterprise backend, building the frontend, or thriving in a DevOps role, having Java programming skills can up your game.

This course starts by your installing Java 9, Maven, and the Intellij Community Edition on your computers, and running a simple "Hello World" example in Java to test the configuration. Moving along, you will gain an introduction to Java, the Java language runtime, and the Java Virtual Machine (JVM). Here we will discuss the benefits the JVM brings us, as well as demonstrating some very simple Java programming examples in the Java Shell (JShell), a Java REPL newly introduced for Java 9. Moving on, you will model a number of different types of motor vehicle, demonstrating the usefulness of the OOP paradigm, and how we can make use of it in Java. Here, we will cover objects, classes, inheritance, abstract classes, and interfaces. Now is the right time to start using some of the basic building blocks of Java. We start by discussing and demonstrating the different primitive types available and the difference between primitive types and their corresponding classes (for example: double vs. Double), as well as simple data structures such as arrays, each being illustrated with examples through JShell.

The course demonstrates (with examples) lists, maps, and sets that are commonly used data sets . We then discuss the differences between the interface for each of these, and their corresponding concrete implementations. The tutorial concludes with loading a text file into a list data set, and sorting it. This comprehensive course will give you a practical sneak peek into programming in Java, along with the basics of Object Oriented Programming, the Java runtime language, the Java Virtual Machine (JVM), and the changes to the language introduced with Java 9—showing you exactly why Java is the #1 programming language in the World today!