Skip to content

Objects First with Java A Practical Introduction Using BlueJ

Best in textbook rentals since 2012!

ISBN-10: 013197629X

ISBN-13: 9780131976290

Edition: 3rd 2006 (Revised)

Authors: David J. Barnes, Michael Kolling

List price: $86.25
Blue ribbon 30 day, 100% satisfaction guarantee!
Out of stock
We're sorry. This item is currently unavailable.
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

The book has a very clear identity.It takes a truly objects first approach to teaching problem solving using Java. These are complicated concepts so the book uses the development environment BlueJ to help the student & #146;s understanding. BlueJ has a strong emphasis on visualization and interaction techniques, and allows the students to manipulate objects and call methods as a first exercise. BlueJ is free and freely available, and has been developed specifically for teaching.The book is loaded with projects so that the student can really get a grip on actually solving problems; and it takes a & #147;spiral approach & #148;, introducing a topic in a simple context early on, then…    
Customers also bought

Book details

List price: $86.25
Edition: 3rd
Copyright year: 2006
Publisher: Prentice Hall PTR
Binding: Mixed Media
Pages: 520
Size: 7.50" wide x 10.00" long x 1.50" tall
Weight: 2.244
Language: English

David Barnes is a Lecturer in Computer Science at the University of Kent, in Canterbury, England. He has been teaching introductory programming for over 25 years, and has practical experience of a wide range of programming languages. He has been teaching object-oriented programming in Java for over 10 years. David is passionate about the excitement that is inherent in computer science and is actively involved in promoting it as a subject area to high-school children. In addition to computing education, his main research is in the area of software engineering.Michael K�lling is a Senior Lecturer at the Computing Laboratory, University of Kent, in Canterbury, England. He holds a PhD in…    

David Barnes is a Lecturer in Computer Science at the University of Kent, in Canterbury, England. He has been teaching introductory programming for over 25 years, and has practical experience of a wide range of programming languages. He has been teaching object-oriented programming in Java for over 10 years. David is passionate about the excitement that is inherent in computer science and is actively involved in promoting it as a subject area to high-school children. In addition to computing education, his main research is in the area of software engineering.Michael K�lling is a Senior Lecturer at the Computing Laboratory, University of Kent, in Canterbury, England. He holds a PhD in…    

Contents
Foreword
Preface to the instructor
List of projects discussed in detail in this book
Acknowledgements
Foundations of object orientation
Objects and classes
Objects and classes
Creating objects
Calling methods
Parameters
Data types
Multiple instances
State
What is in an object?
Object interaction
Source code
Another example
Return values
Objects as parameters
Summary
Understanding class definitions
Ticket machines
Exploring the behavior of a naive ticket machine
Examining a class definition
Fields, constructors, and methods
Fields
Constructors
Passing data via parameters
Assignment
Accessor methods
Mutator methods
Printing from methods
Summary of the naive ticket machine
Reflecting on the design of the ticket machine
Making choices: the conditional statement
A further conditional-statement example
Local variables
Fields, parameters, and local variables
Summary of the better ticket machine
Self-review exercises
Reviewing a familiar example
Summary
Object interaction
The clock example
Abstraction and modularization
Abstraction in software
Modularization in the clock example
Implementing the clock display
Class diagrams versus object diagrams
Primitive types and object types
The ClockDisplay source code
Class NumberDisplay
String concatenation
The modulo operator
Class ClockDisplay
Objects creating objects
Multiple constructors
Method calls
Internal method calls
External method calls
Summary of the clock display
Another example of object interaction
The mail system example
The this keyword
Using a debugger
Setting breakpoints
Single stepping
Stepping into methods
Method calling revisited
Summary
Grouping objects
Grouping objects in flexible-size collections
A personal notebook
A first look at library classes
An example of using a library
Object structures with collections
Generic classes
Numbering within collections
Removing an item from a collection
Processing a whole collection
The for-each loop
The while loop
Iterating over a collection
Index access versus iterators
Summary of the notebook example
Another example: an auction system
The Lot class
The Auction class
Anonymous objects
Using collections
Flexible collection summary
Fixed-size collections
A log-file analyzer
Declaring array variables
Creating array objects
Using array objects
Analyzing the log file
The for loop
Summary
More sophisticated behavior
Documentation for library classes
The TechSupport system
Exploring the TechSupport system
Reading the code
Reading class documentation
Interfaces versus imple