Overview
This introductory 5-day, lecture-and-lab course teaches people with little or no programming experience how to program with the Java programming language. Topics include introductory object-oriented programming, algorithmic thinking, problem solving, control statements, primitive types, operators, keyboard input, screen output, methods (user-defined and API), arrays and strings. The course offers extensive hands-on laboratory experience. Solutions are provided for laboratory exercises. The course includes approximately 60% lecture and 40% laboratory exercises. After taking this course, students will be prepared to take Java102—Introduction to Java for Non-Programmers: Part 2. The course can be customized to the client’s specific needs at no additional charge.
Our introductory classes emphasize achieving program clarity through the proven software-development techniques. Nonprogrammers learn skills that underlie good programming through dozens of complete, working programs—we call this the live-code approach. This hands-on approach rapidly builds the confidence of new programmers, because all programming concepts are presented in the context in which they will be used.
Prerequisites
- Little or no previous programming experience
- General familiarity with your operating system environment
- Ability to create and edit text files
Introduction
Introduction to Java Applications
- A First Program in Java: Printing a Line of Text
- Modifying Our First Java Program
- Displaying Text with printf
- Another Java Application: Adding Integers
- Decision Making: Equality and Relational Operators
Introduction to Classes and Objects
- Classes, Objects, Methods and Instance Variables
- Declaring a Class with a Method and Instantiating an Object of a Class
- Declaring a Method with a Parameter
- Instance Variables, set Methods and get Methods
- Primitive Types vs. Reference Types
- Initializing Objects with Constructors
- Floating-Point Numbers and Type double
Control Statements: Part 1
- if Single-Selection Statement
- if … else Double-Selection Statement
- while Repetition Statement
- Formulating Algorithms: Counter-Controlled Repetition
- Formulating Algorithms: Sentinel-Controlled Repetition
- Formulating Algorithms: Nested Control Statements
- Compound Assignment Operators
- Increment and Decrement Operators
- Primitive Types
Control Statements: Part 2
- Essentials of Counter-Controlled Repetition
- for Repetition Statement
- Examples Using the for Statement
- do … while Repetition Statement
- switch Multiple-Selection Statement
- break and continue Statements
- Logical Operators
Methods: A Deeper Look
- static Methods, static Fields and Class Math
- Declaring Methods with Multiple Parameters
- Notes on Declaring and Using Methods
- Method-Call Stack and Activation Records
- Argument Promotion and Casting
- Java API Packages
- Case Study: Random-Number Generation
- Generalized Scaling and Shifting of Random Numbers
- Case Study: A Game of Chance (Introducing Enumerations)
- Scope of Declarations
- Method Overloading
Arrays
- Declaring and Creating Arrays
- Examples Using Arrays
- Case Study: Card Shuffling and Dealing Simulation
- Enhanced for Statement
- Passing Arrays to Methods
- Case Study: Class GradeBook Using an Array to Store Grades
- Multidimensional Arrays
- Case Study: Class GradeBook Using a Two-Dimensional Array
Price
- $12,995 lecture fee for up to 20 students maximum.
- Client purchases the books, at its own expense, directly from Pearson (the publisher) at the discounted Deitel rate.
- Instructor Travel Reimbursement (if travel is required).
Courses in the Java Programming Curriculum
