PreAPCS Exposure Java Exercises 07.01- 03 Date: Name: Period: 1. What are the 2 data fields of the Math class? 2. If you want to call a method, what do you need to use? class 3. If you want to call an method, what must be created? object 4. In the statement is the _________________ and is the _________________. int num; int num 5. In the statement Bank tom; is the _________________ and is the _________________. Bank tom 6. What phrase means the same thing as simple data types? 7. List 3 simple data types. 8. How many values can a simple data type store? 9. What 2 things can objects store? 10. __________ provide information to methods for processing. 11. Methods fall into two major categories, what are they? 12. What kind of values do void methods return? 13. Which of the following is true? (a) A method can be BOTH a method and a method. void class (b) A method can be BOTH a void method and a method. object (c) A method can be BOTH a return method and a method. class (d) A method can be BOTH a return method and a method. object (e) All of the above 14. It is not possible to create large, reliable programs without being very conscious of _______ _______.
PreAPCS Exposure Java Exercises 07.01- 03 Date: Name: Period: 1. What are the 2 data fields of the Math class? 2. If you want to call a class method, what do you need to use? 3. If you want to call an object method, what must be created? 4. In the statement int num; int is the _________________ and num is the _________________. 5. In the statement Bank tom; Bank is the _________________ and tom is the _________________. 6. What phrase means the same thing as simple data types? 7. List 3 simple data types. 8. How many values can a simple data type store? 9. What 2 things can objects store? 10. __________ provide information to methods for processing. 11. Methods fall into two major categories, what are they? 12. What kind of values do void methods return? 13. Which of the following is true? (a) A method can be BOTH a void method and a class method. (b) A method can be BOTH a void method and a object method. (c) A method can be BOTH a return method and a class method. (d) A method can be BOTH a return method and a object method. (e) All of the above 14. It is not possible to create large, reliable programs without being very conscious of _______ _______.
Exercises07.01-03.docx