This 5 day class can be combined with the Introduction to Java Programming
class
to construct a custom 10 day training program.
This course is an introduction to object oriented programming using the Java language for students without a background in C or C++ programming or in object-oriented programming.An important thrust of this course is to teach programming from an object oriented perspective.It is often difficult for programmers trained originally in a procedural language to start “thinking in objects”.This course introduces object oriented concepts very early, and Java is developed in a way that leverages its object orientation.A major case study, the Electronic Commerce Gameä, is used to illustrate object oriented programming techniques, including the initial analysis and design.
The special nature of Java is explored.The
course then introduces simple hands-on programming using Java to do simple
input, computation and output.The
Java data types are covered, and simple if tests and loops are covered.At
this point the object oriented features of Java are introduced, and all
the remaining treatment of Java follows an object oriented perspective.There
are many programming examples and exercises.The
course can be run on any Java development environment.
The course should be followed
by a more rigorous and thorough treatment of Java, such as the course “Java
Programming”. There will be some overlap with material in the follow-on
course, but the overlap can serve as review. The combined two courses constitute
a good coverage of the C-like aspects of Java, of object oriented programming,
and of the Java language itself.
LEARNING OBJECTIVES
Java Language
Java Virtual Machine
Java Libraries
World Wide Web and Java
Java as a First Programming Language
2.First
Java Programs
Hello, World
Program Structure
Output in Java
Variables and Expressions
Calculations Using Java
Classes and Objects
An Input Wrapper Class
Packages
Integer Data Types
Floating Point
Conversions Between Types
Arithmetic Operators
Doing Math in Java
Logical and Relational Operators
If Tests
Bitwise Operators
Shifting and Masking
Quitting Infinite Loops
Curly Braces and Indenting
Sentinels and Counters
For Loops
Loops and If Tests Together
Nested If Statements
Structured Programming
6.Introduction
to Objects
Modeling
Reusable Software Components
Encapsulation
Abstraction
Objects and Classes
Finding Objects
Electronic Commerce Case Study
Classes
References
Assignment of Objects
Initialization
Garbage Collection
String Class
String Input and Output
String Methods
9. Modular Programming
Monolithic Programs
Static Variables and Methods
Functional Modularity
Object Modularity
Top-Down and Bottom-Up Development
Pass-By-Value and Pass-By-Reference
Nested Classes
Subscripts
Initializing Arrays
Arrays and Loops
Copy and Assignment
Arrays of Objects
Multidimensional Arrays
Break
Continue
Do
Exceptions
Object Innovations