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 describes key features of Java and object-oriented programming, Java technology and the development environment, and the product life cycle. It covers defining a class, identifying class components, using a main method, and testing and executing a simple Java program. In addition, this course covers identifying the uses of variables and defining a variable's syntax, and how to work with mathematical operators, basic decision constructs and basic arrays. This course can be used to as part of preparation for the Oracle exam 1Z0-808, Java SE 8 Programmer I, to obtain the Oracle Associate level certification.
Learning Objectives
Getting Started with Java
- start the course
- describe the characteristics and purpose of a computer program
- describe Java's role in the world, identify Java technology product groups, and list the stages of a Java product life cycle
- describe the key features of the Java language
- install, set up, and verify the JDK on Windows
- describe the features of the installed JDK on Linux and Windows
- describe how to compile and run a Java program and describe the ways a Java program can output data
- compile and run a Java program and view its output
Creating a Java Main Class
- describe Java classes and packages
- create a Java class and use the Output window to view any syntax errors
- describe the role of the main method in a Java program
- add a Java main method to a class
Data In the Cart
- describe variables in Java and outline the guidelines for naming variables
- describe how to work with the Java String variable
- describe the benefits of an IDE, and create, compile, and troubleshoot a Java project and class in NetBeans IDE
- use String variables in a Java program
- describe how to use the int and double numeric data types in Java
- describe how to use standard mathematical operators in Java
- use and manipulate numbers in a Java program
Managing Multiple Items
- describe how to work with conditions in Java programs
- use if statements in a Java program
- describe how to work with arrays in Java
- declare, initialize, and use an array in a Java program
- describe how to use loops to process array items and describe how to use the break statement in Java
- use a loop to process an array in Java
Practice: Introduction to basic Java concepts
- practice basic tasks such as running a program, creating a main class, and processing arrays