Introduction to Java Training (JVA102)
Embark on an exciting journey into the world of Java with our "Introduction to Java Training" course, designed to help you master one of the most widespread and versatile programming languages. This course lays the groundwork by equipping you with the essential Java skills necessary to enhance your organization’s web solutions and software applications.
We begin with the Java Introduction module to guide you through establishing your environment, demystifying the Java setup process, and giving you hands-on experience with writing and running a simple Java program. Learn how to navigate the Java documentation to support your development process effectively.
The next phase focuses on Java Basics, where you will explore basic Java syntax, work with variables, understand data types, and use the final
keyword. This module introduces you to creating and using methods, ensuring you can manage variable scope and implement foundational Java operations confidently.
Dive deeper into the essence of Java with the Java Objects lesson. This section covers object-oriented principles, class definitions, constructors, and methods to enable you to create robust, structured Java applications. With practical exercises, including the creation of an employee class and more, you'll gain a strong command of Java's object-oriented capabilities.
Explore how programs make decisions in the Comparisons and Flow Control Structures segment. Understand comparison operators, craft boolean expressions, and control program flow with constructs like if
statements and loops. Hands-on projects like a modified payroll system help solidify these concepts.
Experience the power of Arrays in Java, learning how to define, declare, and manipulate arrays effectively. Through practical examples and exercises such as an array of employees, you will leverage arrays to enhance your application performance.
The course moves into Inheritance, where you'll learn to extend classes, implement polymorphism, create subclasses, and work with access controls. By the end of this section, you’ll know how to organize and optimize your Java code for reusability and maintainability.
As you progress, you'll encounter Interfaces, essential for defining contracts within your code. Learn to create interface definitions, implement interfaces, and employ them to bring increased flexibility and scalability to your Java projects.
Gain insight into Exceptions and the art of error handling. This module provides the tools to handle exceptions gracefully, ensuring your applications can manage unexpected scenarios through try-catch blocks and custom exception classes.
The course introduces you to powerful data structures in the Collections segment. Master the use of Java’s collection classes, employ generics for type safety, and extend your capabilities with streams and lambda expressions for modern Java programming practices.
Finally, explore Inner Classes to encapsulate and logically organize your code. Learn about nested classes, instantiate inner classes, and utilize java enums for better software design patterns.
Upon completion of this course, you will possess a comprehensive foundation in Java programming, prepared to tackle more advanced topics and enhance your organization’s software development capabilities. Whether expanding your team's skill set or enhancing personal expertise, this course equips you with the tools to succeed in the realm of Java.
- Learn how Java works.
- Understand the "write once, run anywhere" concept.
- Understand and learn how to create basic Java objects.
- Learn how to implement flow-control concepts in Java.
- Understand Java's package concept and create packages of Java classes.
- Understand Java arrays and write code to create and use arrays.
- Learn how to write Java classes using inheritance.
- Learn how to create and use interfaces.
- Understand and use the concept of polymorphism in an application
- Understand how Java's exception-handling mechanism works and learn how to apply exception-handling to Java applications.
- Understand and use inner classes.
- Learn how to use elements from the Java API library, including the Collections classes.
Private classes are delivered for groups at your offices or a location of your choice.
Learn at your own pace with 24/7 access to an On-Demand course.
- Java Introduction
- The Java Environment - Overview
- Writing a Java Program
- Obtaining The Java Environment
- Setting Up Your Java Environment
- Creating a Class that Can Run as a Program
- Useful Stuff Necessary to Go Further
- Using an Integrated Development Environment
- Running a Simple Java Program
- Using the Java Documentation
- Java Basics
- Basic Java Syntax
- Variables
- Data
- Constants and the final Keyword
- Mathematics in Java
- Creating and Using Methods
- Variable Scope
- Method Exercise
- Java Objects
- Objects
- Object-oriented Languages
- Object Definition
- References
- Defining a Class
- More on Access Terms
- Adding Data Members to a Class
- Standard Practices for Fields and Methods
- Java Beans
- Bean Properties
- Payroll01: Creating an Employee Class
- Constructors
- Instantiating Objects Revisited
- Important Note on Constructors
- Payroll02: Adding an Employee Constructor
- Method Overloading
- Payroll03: Overloading Employee Constructors
- The this Keyword
- Using this to Call Another Constructor
- Payroll04: Using the this Reference
- static Elements
- The main Method
- Payroll05: A static Field in Employee
- Garbage Collection
- Java Packages
- Compiling with Packages
- Working with Packages
- Payroll06: Creating an employees Package
- Variable Argument Lists (varargs)
- Payroll07: Using KeyboardReader in Payroll
- Creating Documentation Comments and Using javadoc
- Payroll08: Creating and Using javadoc Comments
- Primitives and Wrapper Classes
- Encapsulation
- String, StringBuffer, and StringBuilder
- Compiling and Executing with Packages
- Object-oriented Programs
- Comparisons and Flow Control Structures
- Boolean-valued Expressions
- Comparison Operators
- Comparing Objects
- Conditional Expression Examples
- Complex boolean Expressions
- Simple Branching
- The if Statement
- if Statement Examples
- Payroll-Control01: Modified Payroll
- Two Mutually Exclusive Branches
- Comparing a Number of Mutually Exclusive Options - The switch Statement
- Comparing Two Objects
- Conditional Expression
- Payroll-Control02: Payroll with a Loop
- Additional Loop Control: break and continue
- Continuing a Loop
- Classpath, Code Libraries, and Jar Files
- Creating and Using an External Library
- Compiling to a Different Directory
- Conditionals and Loops
- Game02: A Revised Guessing Game
- Game01: A Guessing Game
- Game03: Multiple Levels
- Game04: Guessing Game with a Loop
- Arrays
- Defining and Declaring Arrays
- Instantiating Arrays
- Initializing Arrays
- Working with Arrays
- Enhanced for Loops - the For-Each Loop
- Array Variables
- Copying Arrays
- Using the args Array
- Arrays of Objects
- Payroll-Arrays01: An Array of Employees
- Multi-Dimensional Arrays
- Multidimensional Arrays in Memory
- Example - Printing a Picture
- Typecasting with Arrays of Primitives
- Java Arrays
- Game-Arrays01: A Guessing Game with Random Messages
- Inheritance
- Inheritance
- Payroll with Inheritance
- Polymorphism
- Creating a Subclass
- Inheritance and Access
- Inheritance and Constructors - the super Keyword
- Example - Factoring Person Out of Employee
- Payroll-Inheritance01: Adding Types of Employees
- Inheritance and Default Superclass Constructors
- Typecasting with Object References
- More on Overriding
- Payroll-Inheritance02: Using the Employee Subclasses
- Other Inheritance-related Keywords
- Payroll-Inheritance03: Making Our Base Classes Abstract
- Methods Inherited from Object
- Checking an Object’s Type: Using instanceof
- The Instantiation Process at Runtime
- Inheritance Example - A Derived Class
- Inheritance Examples
- Derived Class Objects
- Derived Class Methods that Override Base Class Methods
- Object Typecasting Example
- Typecasting with Arrays of Objects
- Interfaces
- Interfaces
- Creating an Interface Definition
- Implementing Interfaces
- Reference Variables and Interfaces
- Interfaces and Inheritance
- Exercise: Payroll-Interfaces01
- Some Uses for Interfaces
- Annotations
- Using Annotations
- Annotation Details
- Exceptions
- Exceptions
- Handling Exceptions
- Exception Objects
- Attempting Risky Code - try and catch
- Guaranteeing Execution of Code - The finally Block
- Letting an Exception be Thrown to the Method Caller
- Throwing an Exception
- Payroll-Exceptions01: Handling NumberFormatException in Payroll
- Exceptions and Inheritance
- Creating and Using Your Own Exception Classes
- Payroll-Exceptions02
- Rethrowing Exceptions
- Initializer Blocks
- Logging
- Log Properties
- Assertions
- Collections
- Collections
- Using the Collection Classes
- Using the Iterator Interface
- Creating Collectible Classes
- Generics
- Bounded Types
- Extending Generic Classes and Implementing Generic Interfaces
- Generic Methods
- Variations on Generics - Wildcards
- Type Erasure
- Multiple-bounded Type Parameters
- Payroll-Collections01: Payroll Using Generics
- Working with Streams and Lambda expressions
- Working with Streams and Lambda expressions
- Inner Classes
- Inner Classes, aka Nested Classes
- Inner Class Syntax
- Instantiating an Inner Class Instance from within the Enclosing Class
- Inner Classes Referenced from Outside the Enclosing Class
- Referencing the Outer Class Instance from the Inner Class Code
- Better Practices for Working with Inner Classes
- Enums
- Inner Classes
- Method Inner Classes
- Anonymous Inner Classes
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Experience in the following is required for this Java class:
- Some prior programming experience in a procedural or object-oriented language.
Experience in the following would be useful for this Java class:
- Knowledge of Object-oriented Analysis and Design (OOAD) is extremely helpful in Java (and other) programming. We recommend learning OOAD, but you can do so at any stage of your learning. It will make you a better programmer, especially in a team environment.
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors
Self-Paced Course
- On Demand 24/7
- Readings
- Presentations
- Exercises
- Quizzes
- Full Year of Access
- Learn more