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

Verified
Correct Answer:
Verified
Related Questions
Q20: Assume that the variable count has been
Q22: In the code below, write a statement
Q24: What is the output of the following
Q25: The object on which the method call
Q26: By convention, classes begin with a(n) _.<br>A)
Q30: If greeting refers to a String object,
Q31: Which method call represents the invocation of
Q46: Which of the following terms denotes the
Q57: Which of the following statements about objects
Q65: Which of the following declares a variable