Question: Java Question 1 3 pts Edit this Question Delete this Question 0 multiple_choice_question 790670 (TCOs 1, 2, and 6) You must use the this keyword
Java Question 1 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790670
(TCOs 1, 2, and 6) You must use the this keyword
(TCOs 1, 2, and 6) You must use the this keyword
| to refer to an instance variable in a method when there is a method parameter with the same name. |
| to refer to any method thats called within a class. |
| to pass an object by reference to a method. |
| to pass a primitive type by value to a method. |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 2 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790674
(TCOs 1, 2, and 6) A contractor uses a blueprint to build a house. An object is similar to
(TCOs 1, 2, and 6) A contractor uses a blueprint to build a house. An object is similar to
| the house. |
| the blueprint. |
| neither |
| both |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 3 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790676
(TCOs 1, 2, and 6) Set methods are also commonly called _____ methods.
(TCOs 1, 2, and 6) Set methods are also commonly called _____ methods.
| query |
| accessor |
| mutator |
| static |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 4 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790679
(TCOs 1, 2, and 6) Which of the following statements is false?
(TCOs 1, 2, and 6) Which of the following statements is false?
| Each class declaration must be stored in a file that has the same name as the class and ends with the .class filename extension. |
| Every class declaration contains the keyword class followed immediately by the name of the class. |
| Class, method, and variable names are identifiers. |
| An object has attributes that are implemented as instance variables and carried with it throughout its lifetime. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
