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 89
Let's examine the program's specifiedRotation method to see exactly what
happens when a parameter is changed within a method. Here is the method's
implementation: // Rotate a Location p by a number of 90 degree clockwise
Suppose that a method has an i nt parameter called x, and the body of the
method changes x to zero. When the method is activated, what happens to the
argument that corresponds to x? 27. Suppose that a method has a Locati on
Array Parameters An array can be a parameter to a method. Here's an example
method with an array as a parameter: • put42s public static void put42s(int[ ] data)
Put 42 in every component of an array. Parameters: data - an array of integers ...
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown