Multiple Choice
Which method call represents the invocation of a method that does not have explicit parameters?
A) greeting.replace("Hello", "Welcome") ;
B) greeting.length
C) greeting.length()
D) System.out.println(greeting) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q19: Which operator constructs object instances?<br>A)new<br>B)instanceof<br>C)void<br>D)construct
Q20: Assume that the variable count has been
Q26: By convention, classes begin with a(n) _.<br>A)
Q27: Which of the following represents a method
Q30: If greeting refers to a String object,
Q33: Assuming the following Java statement: Circle c1
Q35: A method name is _ if a
Q42: What is a storage location in the
Q57: Which of the following statements about objects
Q65: Which of the following declares a variable