This text teaches students how to use the different features of the Java language as well as how to program. Suitable for self-study or as part of a two-course introduction to programming, the book covers as much material as possible from the latest Java standard while requiring no previous programming experience. Taking an application-motivated approach, the author presents an abundance of games and emphasizes good software practices. Java code and other materials are available on his website.
Inhaltsverzeichnis
Basic Principles: Computer Hardware and Software. Data Types and Conditional Statements. Loops. Methods and Formatted Output. Introduction to Arrays. Introduction to Classes. The ArrayList Class and the enum Keyword. Advanced Programming Techniques: Classes Revisited. Fun with Swing. Nested Classes and Event Handling. The Breakout Game (Complete Version). Layout Management and GUI Components. Exception Handling and Files. Recursion. Java Applets. Index.