Java, an object-oriented programming language, is one of the most widely used development languages in the world today. It allows programmers to create objects that can interact with other objects to solve a problem. This course covers how to use the NetBeans debugger. It covers working with dates, and processing the args array and two-dimensional arrays as well as using the ArrayList class. It also covers inheritance in Java classes, including superclasses, subclasses and abstract classes. This course can be used as part of the preparation for the Oracle exam 1Z0-808, Java SE 8 Programmer, to obtain the Oracle Certified Associate level certification.
Learning Objectives
Debugging Applications
- start the course
- use the NetBeans debugger to debug a Java application
Dates
- describe how to work with dates in Java programs
- declare and use a LocalDateTime object in a Java program
The args Array
- describe how to parse the Java args array
- parse the Java args array
Two-dimensional Arrays
- describe how to use two-dimensional arrays in Java
- describe and compare Java loop constructs and the continue keyword
- use a loop construct to process an array in a Java program
- describe nested loops and describe how to process a two-dimensional array with nested loops in Java
The ArrayList Class
- describe how to use the Java ArrayList class
- implement an ArrayList in a Java program
Practice: Iterating Through and Using java.time
- practice coding a Java program to iterate through an array of data and use classes and methods of the java.time package in a sample application
Using Inheritance
- describe how inheritance is implemented in Java
- describe use of subclasses and superclasses in Java
- create a Java subclass
Overriding Methods in SuperClasses
- describe how to override methods in a Java superclass
- override a method in a Java superclass
Polymorphism and Abstract Classes
- describe the ways polymorphism can be implemented in Java
- use the instanceof operator to test the type of a Java object
- describe how to create and extend abstract classes in Java
- create a hierarchy of classes in a Java application
Practice: Adding an Event Hierarchy
- practice creating a hierarchy of events in a Java application