Data Structures & Other Objects Using Java
This book takes a gentle approach to the data structures course in Java. It offers an early, self-contained review of object-oriented programming and Java to give students a firm grasp of key concepts, and allows those experienced in other languages to adjust easily. The book also offers a flexibility which allows professors such options as emphasizing object-oriented programming, covering recursion and sorting early or accelerating the pace of the course. This title meets the needs of professors searching for a book to balance the introduction of object-oriented programming and data structures with Java.
Results 1-3 of 22
The returns condition or postcondition. A returns condition specifies the meaning
of a method's return value. We used a returns condition for celsiusToFahrenheit,
specifying that the method "returns the temperature c converted to Fahrenheit ...
You might use an array of three pegs, where each peg is an object from the
previous project. The Towers methods are specified in the next column. Towers(
int n) ; // Precondition: 1 <= n <= 64. // Postcondition: The towers have been
More complex methods need a complete postcondition instead of a returns
condition. A complete postcondition describes other effects of the method, such
as printing output. There is no Javadoc postcondition tag, but you can use this: ...
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown