






Lesson 2 Key
Lesson 2 - The Location Class - Answer Key
Exercise Key, Chapter 3
1. false
2. positive number
3. positive number
4. true
5. false
6. B, D, F
7. int i = loc1.getRow( ) loc4.getCol( );
8. (12, 4)
9. (11, 3)
10. if( loc1.getRow( )%2 = = 0 )
{
//even
}
else
{
//odd
}
11. 270
12. 135
Link to this Page
- Beth Zullo last edited on 25 July 2008 at 9:55 am by 158.223.218.209.transedge.com