Computer Applications
Related Questions
Method that converts a character to uppercase is
- toUpper()
- ToUpperCase()
- TOUPPERCASE()
- toUpperCase(char)
Give the output of the following code
System.out.println("Good".concat("Day"));
- GoodDay
- Good Day
- Goodday
- goodDay
This access specifier achieves the lowest level of accessibility.
- Public
- Protected
- Private
- Default
Assertion (A) Line comment is used for a single line of comment.
Reason (R) A line comment starts with forward slash and asterisk(/*).- 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.