Java Question 1 3 pts Edit this Question Delete this Question 0 multiple_choice_
ID: 3854522 • Letter: J
Question
Java Question 1 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790670
<font>(TCOs 1, 2, and 6) You must use the this keyword</font>
(TCOs 1, 2, and 6) You must use the this keyword
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
<font>(TCOs 1, 2, and 6) A contractor uses a blueprint to build a house. An object is similar to</font>
(TCOs 1, 2, and 6) A contractor uses a blueprint to build a house. An object is similar to
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
<font>(TCOs 1, 2, and 6) Set methods are also commonly called _____ methods.</font>
(TCOs 1, 2, and 6) Set methods are also commonly called _____ methods.
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
<font>(TCOs 1, 2, and 6) Which of the following statements is <i>false</i>?</font>
(TCOs 1, 2, and 6) Which of the following statements is false?
to refer to an instance variable in a method when there is a method parameter with the same name.Explanation / Answer
1.answer: option A is correct:to refer an instance variable in method when there is a method parameter with the same name
explanation:
2.answer:optionB is correct: the blue print
Explanation: Using the blueprint analogy, a class is a blueprint, and an object is a building made from that blueprint
a blueprint defines which parts of a building are accessible to people who use the building, so too can classes control user access to object items through encapsulation.
3.answer:optioc c correct:mutator methods
Explanation:A mutator method is used to set a value of a private field. It follows a naming scheme prefixing the word "set" to the start of the method name.
4.optionA is correct answer:
explanation: when we save the cpp file extension is .cpp and for java we use .java but we never use .class extension
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.