uppercase() and lowercase() methods are accessed by using ______ method .

Options
- object
- class
- interface
- all of these


CORRECT ANSWER : class

Discussion Board
Wrong Answer

The methods on the String class are toUpperCase() and toLowerCase() and they are instance methods, e.g.{www}tutorialspoint.com/java/java_string_touppercase.htm, and are invoked on the object instance. Class methods are static methods.

Ned Ames 09-6-2018 04:32 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement