Java SE: Programming I
Course target
- Write Java code that uses variables, arrays, conditional and loop constructs of achieve program objectives
- Identify modular programming principles
- Access and create static fields and methods
- Encapsulate a class using access modifiers and overloaded constructors
- Manipulate numeric, text, and string data using appropriate Java operators
- Set environment variables to allow the Java compiler and runtime executables to function properly
- Create simple Java classes and use object references to access fields and methods in a class
- Demonstrate polymorphism by implementing a Java interface
- Handle a checked exception in a Java application
- Use a Predicate Lambda expression as the argument to a method
- Define and implement a simple class hierarchy that supports application requirements
Audience
- Developer
- Implementer
- System Integrator
- Systems Administrator
At Course Completion
- Use Java programming language constructs to create a Java technology application.
- Use decision and looping constructs and methods to dictate program flow.
- Understand basic object oriented concepts such as inheritance, encapsulation, and abstraction.
- Use and manipulate object references, and to write simple error handling code.
Prerequisites
None
Training materials
The student kit includes a comprehensive workbook and other necessary materials for this class
Certification Exam
None
Course outline
1. What is a Java Program
- Key features of the Java language
- Java technology and development environment
- Running and testing a Java program
2. Creating a Java Main class
- Java classes
- The Main method
- Adding a Main method
3. Data in the Cart
- Introducing variables
- Working with strings
- Working with numbers
- Manipulating numeric data
4. Managing Multiple Items
- Working with conditions
- Using IF statements
- Working with a list of items
- Processing a list of items
5. Describing Objects and Classes
- Working with objects and classes
- Defining fields and methods
- Declaring, instantiating, and initializing objects
- Working with object references
- Doing more with arrays
6. Manipulating and Formatting the Data in Your Program
- Using the String class
- Using the Java API docs
- Using the StringBuilder class
- More about primitive data types
- More numeric operators
- Promoting and casting variables
7. Creating and Using Methods
- Using methods
- Method arguments and return values
- Static methods and variables
- How arguments are passed to a method
- Overloading a method
8. Using Encapsulation
- Access control
- Encapsulation
- Overloading constructors
9. More on Conditionals
- Relational and conditional operators
- More ways to use IF/ELSE constructs
- Using switch statements
- Using the Netbeans debugger
10. More on Arrays and Loops
- Working with dates
- Parsing the args array
- Two-dimensional arrays
- Alternate looping constructs
- Nesting loops
- The ArrayList class
11. Using Inheritance
- Overview
- Working with subclasses and superclasses
- Overriding methods in the superclass
- Creating and extending abstract classes
12. Using Interfaces
- Polymorphism
- Polymorphism in the JDK foundation classes
- Using interfaces
- Local-variable type inference
- Using the List interface
- Introducing Lambda expressions
13. Handling Exceptions
- Overview
- Propagation of exceptions
- Catching and throwing exceptions
- Handling multiple exceptions and errors
14. Deploying and Maintaining the Soccer Application
- Packages, JARs, architecture
- Application modification and requirements
15. Understanding Modules
- The Module system
- JARs
- Module declarations
- Modular JDK
16. JShell
- Testing code
- JShell basics
- JShell in an IDE
If you want to get more information about this course, contact us by phone +371 67505091 or send us an e-mail at mrn@bda.lv.