Computer Applications
The valueOf() method returns the …………… .
- string representation of the argument
- int representation of the argument
- boolean representation of the argument
- character representation of the argument
Related Questions
Which one of the given statements is true for the following statement? string1.compareTo(string2)
- if string1 > string2 the result will be a negative integer i.e. < 0.
- if string1 > string2 the result will be a positive integer i.e. > 0.
- if string1 > string2 the result will be 0.
- None of the above
Which one of the given statements is true for the following statement? string1.compareTo(string2)
- if string1 > string2 the result will be a positive integer i.e. > 0.
- if string1 < string2 the result will be a negative integer i.e. < 0.
- if string1 = string2 the result will be 0 i.e. = 0.
- all of these
Output of the following statement is …………… .
System.out.println("SUNDAY".substring(3));
- NDA
- DAY
- SUN
- N
Output of the following statement is …………… .
System.out.println("WONDERFUL".substring(3,4));
- DERF
- NDER
- D
- N