Solutions to other chapters:
  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26  
Java Methods Home Page Skylight Publishing



Java Methods A & AB:
Object-Oriented Programming and Data Structures

Answers and Solutions to Exercises

Chapter 25

1. (a) F
(c) T
(e) T
3. (a) parent: x[i/2]; left child: x[2*i]; right child: x[2*i+1]
(b) 2 * i > n
5. (a) 3 / \ 8 5 / \ / \ 21 55 34 13

Copyright © 2006 by Skylight Publishing