Page 1 of 1

Given this code, which choice below is most likely TRUE? public void setType(int t) { //some work } A. It's most likely

Posted: Sat May 14, 2022 8:11 pm
by answerhappygod
Given this code, which choice below is most likely TRUE?
public void setType(int t)
{
//some work
}
A. It's most likely a setter for an int attribute named
type.
B. It's most likely a setter for a String attribute named
type.
C. It's most likely a getter for an int attribute named
type.
D. It's most likely a constructor for a class named setType.
E. It's a static method.