This guide illustrates, by example, how to code objects. Each chapter has a "Challenge" section with an associated "Full Example".
Major Sections
Preface
I -- Pre-Coding
II -- Getting Started
III -- Defining Object Types
IV -- Objects And Behavior
V -- Reuse By Composition+
VI -- Logic
VII -- Common Structures
VIII -- Coding Cheat Sheets & Tips
IX - Potpourri (Catch-All)
Preface
Course Overview
General Tips
I -- Pre-Coding
101 - Computer Basics
Overview
Learning Microsoft Windows
Learning the MAC
102 - Working With Files
103 - Installing Java.xdoc
104 - IDEs
II -- Getting Started
201 - First Program
202 - First Programs Challenge
203 - Compiling and Running Options
III -- Defining Object Types
301 - Object Types and Objects
302 - Classes
303 - Object Data
304 - Variables
IV -- Objects And Behavior
401 - Messages
402 - Introducing Methods
403 - Using Objects
404 - Methods With Parameters
405 - Method Headers
406 - Constructors
407 - Context and Scope
408 - Special Variable 'this'
409 - Simplifying Code
V -- Reuse By Composition+
501 - Composition
502 - Inheritance
503 - Composition Vs Inheritance
Overview
Explanation
References
VI -- Logic
601 - Primitive Data
602 - Logic
603 - Loops
VII -- Common Structures
701 - Lists
702 - Arrays
703 - Enums
Example 1 -- Enums vs No-Enums
Download Example 1
Example 2 -- Enums vs No-Enums
Download Example 2
VIII -- Coding Cheat Sheets & Tips
801 - Fundamental Coding Tips
Access Ivar Using This
IX - Potpourri (Catch-All)
Chapters
901 - Model-View-Controller (MVC)
902 - Graphics (Using MVC)
903 - Static Methods
904 - Java Interfaces
Chapter Indexes
901 - Model-View-Controller (MVC)
902 - Graphics (Using MVC)
903 - Static Methods
Overview
Hydraulics Constants Example
Download Example
904 - Java Interfaces
Overview
Concept
Group Example
Try These Examples
Download All Examples
Introduction To Objects With Java
Introduction To Objects With Java
Quick Index
Top
Search