Computer Applications
The method to determine whether the specified char value is in uppercase or not.
- toUpperCase(char)
- toLowerCase(char)
- isLowerCase(char)
- isUpperCase(char)
Related Questions
What will be the output of the following code?
System.out.println("Lucknow".substring (0, 4));- Lucknow
- Luckn
- Luck
- luck
This access specifier is the most open access level.
- Public
- Protected
- Private
- Default
Assertion (A) Method should be called explicitly either with object reference or class reference.
Reason (R) Method can be any user defined name.- Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
- Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).
- Assertion (A) is true and Reason (R) is false.
- Assertion (A) is false and Reason (R) is true.
Read the following text and choose the correct answer:
Public access specifier allows a class to expose its member variables and member functions to other functions and objects. Any public member can be accessed from outside the class.
Which of these access specifier must be used for class so that it can be inherited by another subclass?
- public
- private
- protected
- none of the mentioned