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
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.
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.
d7bb0b2
6 months, 4 weeks agoStavok
1 year agoKiraguJohn
1 year ago