CO-83527 Java SE 8: Fundamentals Summary Duration 5 Days Audience Application Developer, Developer, Project Manager, Systems Administrator, Technical Administrator, Technical Consultant and Web Administrator Level Professional Technology Java SE 8 Delivery Method Instructor-led (Classroom) Training Credits Yes Introduction This five day Java SE 8 Fundamentals training introduces you to object-oriented programming using the Java language. Through hands-on exercises, you'll begin to build a baseline of knowledge to propel your career in development. By enrolling in this course, you'll expand your knowledge of Java SE 8, while building your Java skill set. You'll build a solid basis in the Java programming language upon which to base continued work and training. Prerequisites Before attending this course, students must meet the following prerequisites: Have a basic understanding of programming concepts Exhibit the ability to solve logic problems. Target Audience Application Developer, Developer, Project Manager, Systems Administrator, Technical Administrator, Technical Consultant and Web Administrator Course Content Lesson 1: Introduction This lesson details all the topics covered throughout the duration of the course. Course objectives Course schedule
Course environment Lesson 2: What Is a Java Program? This lesson introduces the basics of computer programs and provides an overview of the Java programming language. Introduction to computer programs Introduction to the Java language Verifying the Java development environments Running and testing a Java program Lesson 3: Creating a Java Main Class This lesson introduces the concept of Java class objects and methods. Create a Java class Write a main method Use System.out.println to write a String literal to system output Lesson 4: Data in a Cart This lesson explains the nature and usage of variables within the Java programming language. Describe the purpose of a variable in the Java language List and describe four data types Declare and initialize String variables Concatenate String variables with the '+' operator Make variable assignments Declare and initialize int and double variables Modify variable values by using numeric operators Override default operator precedence using ( ) Lesson 5: Managing Multiple Items This lesson describes the functionality of decision making and looping programming constructs. Explain what a Boolean expression is Create a simple if/else statement Describe the purpose of an array Declare and initialize a String or int array Access the elements of an array Explain the purpose of a for loop Iterate through a String array using a for loop Lesson 6: Describing Objects and Classes This lesson describes the nature of Java objects and classes. List the characteristics of an object Define an object as an instance of a class Instantiate an object and access its fields and methods Describe how objects are stored in memory Instantiate an array of objects Describe how an array of objects is stored in memory Declare and instantiate an object as a field Use the NetBeans IDE to create and test Java classes
Creating Classes for the Soccer League Creating a Soccer Game Lesson 7: Manipulating and Formatting the Data in Your Program This lesson describes how to use different classes and methods for formatting and manipulating data within Java applications. Describe the String class and use some of the methods of the String class Use the JDK documentation to search for and learn how to use a class Describe the StringBuilder class Explain what a constant is and how to use it Explain the difference between promoting and casting of variables Manipulating Text Lesson 8: Creating and Using Methods This lesson describes the use of methods, constructs, variables and the functionality of overloading a method. Instantiate a class and call a method on the object Describe the purpose of a constructor method Create a method that takes arguments and returns a value Access a static method from a different class Use a static method of the Integer class to convert a string into an int Overload a method Using Methods Creating Game Data Randomly Creating Overloaded Methods Lesson 9 Using Encapsulation This lesson describes the functionality of access control, encapsulation and overloading constructors. Use an access modifier to make fields and methods private Create get and set methods to control access to private fields Define encapsulation as information hiding Implement encapsulation in a class using the NetBeans refactor feature Create an overloaded constructor and use it to instantiate an object Encapsulating Attributes Adding Constructors Lesson 10: More on Conditionals This lesson describes the implementation of conditional operators and the switch statement within Java code. The functionality of the NetBeans debugger is also explained. Correctly use all of the conditional operators Test equality between string values Chain an if/else statement to achieve the desired result Use a switch statement to achieve the desired result Debug your Java code by using the NetBeans debugger to step through code line by line and view variable values
Using Conditionals Debugging Lesson 11: Working with Arrays, Loops, and Dates This lesson explains the use of the new Date Time API feature of Java 8, working with array objects and using the ArrayList clas. Create a java.time.localdatetime object to show the current date and time Parse the args array of the main method Correctly declare and instantiate a two-dimensional array Code a nested while loop to achieve the desired result Use a nested for loop to process a two-dimensional array Code a do/while loop to achieve the desired result Use an ArrayList to store and manipulate lists of Objects Evaluate and select the best type of loop to use for a given programming requirement Iterating Through Data Working with LocalDateTime Lesson 12: Using Inheritance This lesson describes the features of inheritance, polymorphism and abstraction within Java code. Define inheritance in the context of a Java class hierarchy Create a subclass Override a method in the superclass Use a keyword to reference the superclass Define polymorphism Use the instanceof operator to test an object s type Cast a superclass reference to the subclass type Explain the difference between abstract and nonabstract classes Create a class hierarchy by extending an abstract class Creating a Class Hierarchy Add a GameEvent Hierarchy Lesson 13: Using Interfaces This lesson explores the interfaces found in the foundation classes. Override the tostring method of the Object class Implement an interface in a class Cast to an interface reference to allow access to an object method Write a simple lambda expression that consumes a Predicate Overriding the tostring Method Implementing an Interface Using a Lambda Expression for Sorting Lesson 14: Handling Exceptions This lesson explains how to deal with programmatic errors that are raised during run-time. Describe how Java handles unexpected events in a program List the three types of Throwable classes
Determine what exceptions are thrown for any foundation class Describe what happens in the call stack when an exception is thrown and not caught Write code to handle an exception thrown by the method of a foundation class Overview Adding Exception Handling Lesson 15: Deploying and Maintaining the Soccer Application This lesson describes the techniques involved in packaging and deploying an application. Deploy a simple application as a JAR file Describe the parts of a Java application, including the user interface and the back end Describe how classes can be extended to implement new capabilities in the application Associated Certifications & Exam This course prepares students to write Exam: 1Z1-808 Java SE 8 Programmer Exam Accredited to certification(s): Oracle Certified Associate Java SE 8 Programmer