
Objects of Arrays – creates a Deck class and write methods that operate on Decks. Arrays of Objects – defines a Card class and write methods that work with Cards and arrays of Cards. Arrays – a set of values where each value is identified by an index. Mutable objects – use two objects from Java libraries, Point and Rectangle.
Strings and things – characters, length, traversal, run-time errors, reading documentation, the indexOf method, looping and counting and more. Iteration and loops examines the while statement, tables, two-dimensional tables, and encapsulation. Value methods including composition, overloading Boolean expressions and methods, and logical operators. Conditionals and logic – includes conditional execution, alternative execution, chained and nested conditionals, the return statement, type conversion, recursion, and stack diagrams for recursive methods. Think Java is an excellent introduction to Java programming for beginners. Think Java – How to Think Like a Computer Scientist by Allen B.
The book isn’t designed to provide complete coverage of the Java language, but it’s an excellent introductory text.Ģ. This book is directed mainly towards beginning programmers, although it might also be useful for experienced programmers who want to learn something about Java.
The Eighth Edition of Introduction to Programming Using Java is a free, on-line textbook on introductory programming, which uses Java as the language of instruction. Introduction to Programming Using Java, Eighth Edition by David J.