AP Computer Science A Quiz
20 questions · no time limit
0:00
CLASS CREATION
Question 1 of 20
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
public class Report
{
private String author; // initialized in constructor
public boolean isAuthor(String author)
{
return this.author.equals(author);
}
}
A programmer suggests that the
isAuthor method can be rewritten as return author.equals(author);. Which statement best evaluates this suggestion? YOUR PROGRESS
20
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F
Answers save as you go · flagged questions come back at the end