Introduction to Java

Introduction to Java Courseware (JVA102)

This Introduction to Java course provides a comprehensive overview of Java programming concepts for beginners. Participants will explore the fundamentals of Java, including object-oriented programming, basic syntax, variables, data types, control structures, and arrays. The course also delves into more advanced topics such as inheritance, interfaces, exceptions, collections, and inner classes. Throughout the course, students will have opportunities to practice and apply their newly acquired skills in various exercises and projects.

Publisher: Webucator

Benefits

  1. Comprehensive Coverage: The course covers essential Java concepts and techniques, providing a solid foundation for students to build upon.
  2. Hands-On Learning: Students will participate in practical exercises and projects, allowing them to apply their knowledge and gain valuable experience.
  3. Progressive Structure: The course is structured to gradually introduce new concepts, ensuring that students can grasp each topic before moving on to the next.
  4. Engaging Content: The courseware is designed to keep students engaged and interested, with a mix of theoretical explanations, examples, and exercises.
  5. Experienced Authors: The courseware was written by industry experts with years of experience in Java programming and education, ensuring the content is accurate, relevant, and up-to-date.

Outline

  1. Java Introduction
    1. The Java Environment - Overview
    2. Writing a Java Program
    3. Obtaining The Java Environment
    4. Setting Up Your Java Environment
    5. Creating a Class that Can Run as a Program
    6. Useful Stuff Necessary to Go Further
    7. Using an Integrated Development Environment
    8. Running a Simple Java Program
    9. Using the Java Documentation
  2. Java Basics
    1. Basic Java Syntax
    2. Variables
    3. Data
    4. Constants and the final Keyword
    5. Mathematics in Java
    6. Creating and Using Methods
    7. Variable Scope
    8. Method Exercise
  3. Java Objects
    1. Objects
    2. Object-oriented Languages
    3. Object Definition
    4. References
    5. Defining a Class
    6. More on Access Terms
    7. Adding Data Members to a Class
    8. Standard Practices for Fields and Methods
    9. Java Beans
    10. Bean Properties
    11. Payroll01: Creating an Employee Class
    12. Constructors
    13. Instantiating Objects Revisited
    14. Important Note on Constructors
    15. Payroll02: Adding an Employee Constructor
    16. Method Overloading
    17. Payroll03: Overloading Employee Constructors
    18. The this Keyword
    19. Using this to Call Another Constructor
    20. Payroll04: Using the this Reference
    21. static Elements
    22. The main Method
    23. Payroll05: A static Field in Employee
    24. Garbage Collection
    25. Java Packages
    26. Compiling with Packages
    27. Working with Packages
    28. Payroll06: Creating an employees Package
    29. Variable Argument Lists (varargs)
    30. Payroll07: Using KeyboardReader in Payroll
    31. Creating Documentation Comments and Using javadoc
    32. Payroll08: Creating and Using javadoc Comments
    33. Primitives and Wrapper Classes
    34. Encapsulation
    35. String, StringBuffer, and StringBuilder
    36. Compiling and Executing with Packages
    37. Object-oriented Programs
  4. Comparisons and Flow Control Structures
    1. Boolean-valued Expressions
    2. Comparison Operators
    3. Comparing Objects
    4. Conditional Expression Examples
    5. Complex boolean Expressions
    6. Simple Branching
    7. The if Statement
    8. if Statement Examples
    9. Payroll-Control01: Modified Payroll
    10. Two Mutually Exclusive Branches
    11. Comparing a Number of Mutually Exclusive Options - The switch Statement
    12. Comparing Two Objects
    13. Conditional Expression
    14. Payroll-Control02: Payroll with a Loop
    15. Additional Loop Control: break and continue
    16. Continuing a Loop
    17. Classpath, Code Libraries, and Jar Files
    18. Creating and Using an External Library
    19. Compiling to a Different Directory
    20. Conditionals and Loops
    21. Game02: A Revised Guessing Game
    22. Game01: A Guessing Game
    23. Game03: Multiple Levels
    24. Game04: Guessing Game with a Loop
  5. Arrays
    1. Defining and Declaring Arrays
    2. Instantiating Arrays
    3. Initializing Arrays
    4. Working with Arrays
    5. Enhanced for Loops - the For-Each Loop
    6. Array Variables
    7. Copying Arrays
    8. Using the args Array
    9. Arrays of Objects
    10. Payroll-Arrays01: An Array of Employees
    11. Multi-Dimensional Arrays
    12. Multidimensional Arrays in Memory
    13. Example - Printing a Picture
    14. Typecasting with Arrays of Primitives
    15. Java Arrays
    16. Game-Arrays01: A Guessing Game with Random Messages
  6. Inheritance
    1. Inheritance
    2. Payroll with Inheritance
    3. Polymorphism
    4. Creating a Subclass
    5. Inheritance and Access
    6. Inheritance and Constructors - the super Keyword
    7. Example - Factoring Person Out of Employee
    8. Payroll-Inheritance01: Adding Types of Employees
    9. Inheritance and Default Superclass Constructors
    10. Typecasting with Object References
    11. More on Overriding
    12. Payroll-Inheritance02: Using the Employee Subclasses
    13. Other Inheritance-related Keywords
    14. Payroll-Inheritance03: Making Our Base Classes Abstract
    15. Methods Inherited from Object
    16. Checking an Object’s Type: Using instanceof
    17. The Instantiation Process at Runtime
    18. Inheritance Example - A Derived Class
    19. Inheritance Examples
    20. Derived Class Objects
    21. Derived Class Methods that Override Base Class Methods
    22. Object Typecasting Example
    23. Typecasting with Arrays of Objects
  7. Interfaces
    1. Interfaces
    2. Creating an Interface Definition
    3. Implementing Interfaces
    4. Reference Variables and Interfaces
    5. Interfaces and Inheritance
    6. Exercise: Payroll-Interfaces01
    7. Some Uses for Interfaces
    8. Annotations
    9. Using Annotations
    10. Annotation Details
  8. Exceptions
    1. Exceptions
    2. Handling Exceptions
    3. Exception Objects
    4. Attempting Risky Code - try and catch
    5. Guaranteeing Execution of Code - The finally Block
    6. Letting an Exception be Thrown to the Method Caller
    7. Throwing an Exception
    8. Payroll-Exceptions01: Handling NumberFormatException in Payroll
    9. Exceptions and Inheritance
    10. Creating and Using Your Own Exception Classes
    11. Payroll-Exceptions02
    12. Rethrowing Exceptions
    13. Initializer Blocks
    14. Logging
    15. Log Properties
    16. Assertions
  9. Collections
    1. Collections
    2. Using the Collection Classes
    3. Using the Iterator Interface
    4. Creating Collectible Classes
    5. Generics
    6. Bounded Types
    7. Extending Generic Classes and Implementing Generic Interfaces
    8. Generic Methods
    9. Variations on Generics - Wildcards
    10. Type Erasure
    11. Multiple-bounded Type Parameters
    12. Payroll-Collections01: Payroll Using Generics
    13. Working with Streams and Lambda expressions
    14. Working with Streams and Lambda expressions
  10. Inner Classes
    1. Inner Classes, aka Nested Classes
    2. Inner Class Syntax
    3. Instantiating an Inner Class Instance from within the Enclosing Class
    4. Inner Classes Referenced from Outside the Enclosing Class
    5. Referencing the Outer Class Instance from the Inner Class Code
    6. Better Practices for Working with Inner Classes
    7. Enums
    8. Inner Classes
    9. Method Inner Classes
    10. Anonymous Inner Classes

Required Prerequisites

  • Some prior programming experience in a procedural or object-oriented language.

Useful Prerequisites

  • 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.
License

Length: 5 days | $175.00 per copy

LicenseRequest More InformationDownload Sample CopyRequest Trainer Evaluation Copy
What is Included?
  • Student Manual
  • Student Class Files