JBD - Java by Definition
Java by Definition (JBD) is a textbook at the introductory level to learn Java programming. No background in programming is necessary, everything is provided. The book - even though a programming book - is designed like a math book: every new term is clearly defined when it first occurs. This approach has been used successfully in multiple courses.
- Chapter 1: Foundations
- The Java Compiler and the Java Virtual Machine; Data Types, Assignments, and Arithmetic; Basic Program Control; Strings; Output and Constants
- Chapter 2: Basic Programming
- Methods and Parameters; Fields and Scope; Arrays; Documenting, Testing, and Keyboard Input; Wrapper Classes for Basic Data Types
- Chapter 3: Object-Oriented Programming
- Classes and Objects; Class Access and Encapsulation; Overloading; Inheritance; The Basic Java Object; Interfaces and Polymorphism
- Chapter 4: Events, GUI Components, Graphics
- Packages and the Abstract Windows Toolkit (AWT); The Basic Java Program; The Basic Java Applet; Event Handling; GUI Components and Layout Control; Menus and Dialogs; Drawing and Painting
- Chapter
5: Exceptions and Threads
- Error and Exception Handling; Basic Threads; Synchronized Threads and Methods
- Chapter 6: Swing and Multimedia
- Introduction to Swing; Basic Swing Classes; Advanced Swing Classes; Trees, Tables, and Graphics; Images and Sounds
- Chapter 7: Sequential Data Structures
- Searching and Sorting; Java Build-in Searching and Sorting Algorithms; Sequential Data Structures; Java Build-in Sequential Structures
- Chapter 8: Files and Security
- Overview of java.io; Saving and Retrieving Byte-Level Data; Saving and Retrieving Character Data; Saving and Retrieving Object Data; Security, URL's, and Applets; System I/O Streams; RandomAccessFile
- Chapter 9: Networking
- The Internet; Creating Client Programs; Creating Server Programs; Security Issues
- Appendix: The Cost of Computing: Big-O and Recursion