If greeting is a String object, which method call is incorrect?
A) greeting.length()
B) greeting.toLowerCase()
C) greeting.toUpperCase()
D) greeting.println()
Correct Answer:
Verified
Q30: The value calculated by a method is
Q31: Which of the following code fragments will
Q32: The input to a method is called
Q33: Assume that the variable count has been
Q34: "System.out" is an example of which class?
A)String
B)Println
C)System
D)PrintStream
Q36: Assuming that the variable count has been
Q37: Which method call represents the invocation of
Q38: What is an object?
A)A sequence of instructions.
B)Any
Q39: Which of the following statements about objects
Q40: Which statement about methods is true?
A)A method
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents