Objects First with Java: A Practical Introduction Using BlueJ/* 0-13-044929-6, 4492J-5, Barnes, Kolling, OBJECTS FIRST WITH JAVA */" BlueJ is a Java development environment that runs on top of the Sun Microsystems Java Development Kit making use of the standard compiler and virtual machine. It allows readers to create objects of any class and interact with their methods. For the first time, the traditionally difficult concepts of objects and classes are brought alive in an easily manipulable visual form. This truly " objects first" approach within the customized BlueJ environment will revolutionize the way programming is learned. The book includes a copy of BlueJ." Takes a project driven approach to problem solving--the book is structured along the lines of fundamental development tasks--providing readers with clear coverage of the principles of object-oriented programming." Programmers and non-programmers who want to learn Java with a state of the art approach and user-friendly programming environment. |
From inside the book
Results 1-3 of 14
Page 173
... cohesion describes how well a unit of code maps to a logical task or entity . In a highly cohesive system each unit of code ( method , class , or module ) is responsible for a well ... cohesion 173 Introduction to coupling and cohesion.
... cohesion describes how well a unit of code maps to a logical task or entity . In a highly cohesive system each unit of code ( method , class , or module ) is responsible for a well ... cohesion 173 Introduction to coupling and cohesion.
Page 190
... cohesion . A cohesive method is responsible for one and only one well - defined task . Cohesion We introduced the idea of cohesion in section 7.3 : a unit of code should always be respon- sible for one and only one task . We shall now ...
... cohesion . A cohesive method is responsible for one and only one well - defined task . Cohesion We introduced the idea of cohesion in section 7.3 : a unit of code should always be respon- sible for one and only one task . We shall now ...
Page 191
... cohesion * / public void play ( ) printWelcome ( ) ; // Enter the main command loop . Here we repeatedly read // commands and execute them until the game is over . boolean finished = false ; while ... Cohesion 191 Cohesion of classes.
... cohesion * / public void play ( ) printWelcome ( ) ; // Enter the main command loop . Here we repeatedly read // commands and execute them until the game is over . boolean finished = false ; while ... Cohesion 191 Cohesion of classes.
Contents
Objects and classes | 3 |
Understanding class definitions | 17 |
Object interaction | 49 |
Copyright | |
13 other sections not shown
Common terms and phrases
abstract class accessor address book Animal application array ArrayList BlueJ boolean catch clause CD and video chapter checked exception class diagram ClockDisplay code duplication cohesion collection command CommandWords compiler Concept constructors and methods Contact Details CRC cards create Database debugging declared defined discussed documentation error example executed Exercise exits fields Figure Fox and Rabbit Game class HashMap implementation inheritance input instance integer interface Item Iterator Java javadoc look loop mail client method call Michael Kölling mutator methods null Number Display object object diagram operator param parameter passenger pickup print method private int problem public class public void response responsibility-driven design return statement return type scenario server shown in Code signature simulation single source code statement static subclass subtype superclass System.out.println text terminal ticket machine variable vehicle write