exam questions

Exam 1z0-819 All Questions

View all questions & answers for the 1z0-819 exam

Exam 1z0-819 topic 1 question 176 discussion

Actual exam question from Oracle's 1z0-819
Question #: 176
Topic #: 1
[All 1z0-819 Questions]

Given:



Which two methods modify field values? (Choose two.)

  • A. setTCount
  • B. setACount
  • C. setAllCounts
  • D. setGCount
  • E. setCCount
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
d7bb0b2
6 months, 4 weeks ago
Selected Answer: CD
C,D only, setTcount() not modified field because set the same t parameter of class this.t = t (tricky), IF this method recive a a int parameter it so then modified value
upvoted 1 times
...
Stavok
1 year ago
Selected Answer: CD
C. setAllCounts and D. setGCount. The setGCount method takes an integer argument g and assigns its value to the gCount field. It then returns the value of the gCount field. The setAllCounts method takes an integer argument x and assigns its value to the aCount, tCount, and cCount fields using chained assignment. It also calls the setGCount method with the argument x, which assigns the value of x to the gCount field.
upvoted 1 times
...
KiraguJohn
1 year ago
Answer is C,D setAllCounts and setGCount
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago