Created
March 27, 2013 23:31
-
-
Save seyDoggy/5259120 to your computer and use it in GitHub Desktop.
PSPC Chapter 10 review questions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem Solving and Programming Concepts | |
Adam Merrifield (2697795). | |
Chapter 10 Review Questions: pg 442 | |
1. c. instance | |
2. a. field | |
3. b. client | |
4. b. is-a | |
5. c. object | |
6. a. inheritance | |
7. c. all the fields and methods are grouped together | |
8. a. a name | |
9. c. both of the above | |
10. b. getName() returns a value that is the same data type as name. | |
11. a. provides an overview of a class’s data and methods | |
12. a. Its data is private and its methods are public | |
13. b. receives a this reference | |
14. c. weight = this. weight | |
15. c. private | |
16. b. nonstatic | |
17. c. number is an instance variable. | |
18. c. getSize() receives a this reference. | |
19. a. myMethod() has access to myFi el d and can use it. | |
20. d. all of the above |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment