Multiple Choice
Which of the following represents a method call to a method with a void return type?
A) greeting.toUpperCase()
B) System.out.println()
C) greeting.replace("Hello","World")
D) greeting.length()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: In Java, a comment on a line
Q8: Which class is part of the java.lang
Q9: Which of the following declares a variable
Q10: The Java compiler ignores any text between
Q11: Which import statement allows for the use
Q13: Input to a method, enclosed in parentheses
Q14: To use a class in another package
Q15: What is the declared return type for
Q16: "System.out" is an example of which class?<br>A)String<br>B)Println<br>C)System<br>D)PrintStream
Q17: Based on the following statement, which of