Limit search to available items
Book Cover
E-book
Author Stanchev, Lubomir, 1975- author

Title Learning Java through games / Lubomir Stanchev
Published Boca Raton, FL : CRC Press, Taylor and Francis Group, [2014]
©2014

Copies

Description 1 online resource (xix, 360 pages) : illustrations
Contents Basic Principles; Computer Hardware and Software; Brief History of Computers; Hardware Components of a Computer; Binary Representation of Numbers; Software Creation and Types of Software; Type of Programming Languages; Brief History of Computer Games Data Types and Conditional Statements; Our First Java Program; Variables; Random Numbers and the if Statement; Combining Conditions; The String Class; The switch Statement; The Conditional Operator Loops; The while Statement; The do-while Construct; The for Loop; Nested for Loops; The Modulus Operation Methods and Formatted Output; Introduction to Methods; Formatting Output; Code Refactoring; Documenting Methods Using JavaDoc; Sending Data between Methods; The Trading Game Introduction to Arrays; One-Dimensional Arrays; The
Trading Game Revisited; Two-Dimensional Arrays; Variable Argument Methods; Command Line Arguments Introduction to Classes; Classes and Objects; Class Interaction and Data Encapsulation; Default Constructor; The toString Method; Instance versus Static; Non-Empty Constructors and the Hidden Parameter this; Array of Objects and Multi-Class Solutions; Multi-Class Solution to the Battleship Game The ArrayList Class and the enum Keyword; Introduction to the ArrayList Class; Immutable Objects; The StringBuffer Class; The Interface of an ArrayList; Introducing the enum Construct Advanced Programming Techniques ; Classes Revisited; Class Containment; Inheritance and the super Keyword; Multiple Inheritance; Constructors of Subclasses; Abstract Classes and Methods; Auto-Casting, Polymorphism,
And Dynamic Binding; Interfaces and the Comparable Interface; Access Privileges; The final Keyword; Static Methods and Polymorphism; Explicit Type Checking; Cloning Objects; Comparing Objects for Equality Fun with Swing; Introduction to Swing; Creating Windows; Panels and Drawing Nested Classes and Event Handling; The Timer Class; Nested Classes; Event Listeners; Multicasting The Breakout Game (Complete Version); Overview of the Game; Game Design; Moving the Ball; Adding the Paddle; Drawing the Stickmen; Adding the Menus; Adding the Bricks Layout Management and GUI Components; Creating Buttons; Flow Layout; Border Layout; Text Fields and Labels; Grid Layout; Creating Text Areas with Scroll Bars; The Combo Box; Check Boxes; Radio Buttons; Document Listeners; Creating Dialog Boxes; Working with
Password Fields Exception Handling and Files; Handling Exceptions; Text Files; Data Files Recursion; Base Case and General Case; Dynamic Programming; Internal Details of a Recursive Call; Array Algorithms Java Applets; HTML and the Java Applet Architecture; Principles of Java Applets; Creating Popup Windows; The Tic-Tac-Toe Game Index A Summary, Syntax, Important Points, Exercises, Labs, and Projects appear at the end of each chapter
Summary "A first year undergraduate textbook for computer science majors, this book can also be used by anyone who wants to learn Java on their own. After reading the textbook and completing the attached projects and exercises, the reader will be ready to take the next computer science courses, such as data structures or software engineering. This textbook makes the learning experience enjoyable and rewarding via a sequence somewhat related game projects."-- Provided by publisher
Notes Print version record
Subject Java (Computer program language) -- Problems, exercises, etc
Java (Computer program language) -- Textbooks
Video games -- Programming.
COMPUTERS -- Programming -- Games.
COMPUTERS -- Programming Languages -- General.
Video games -- Programming
Java (Computer program language)
Genre/Form Problems and exercises
Textbooks
Form Electronic book
LC no. 2013027590
ISBN 9781466593336
1466593334
9781482224542
1482224542
9781466593329
1466593326
1466593318
9781466593312