Computer Science, asked by kashish12387, 1 year ago

Write Java statements to: [5]
(i) replace all occurrences of character ‘r’ with ‘h’ in the String “Programmer”
(ii) initialize a character array ch with the characters of the word “Transition”
(iii) convert a character stored in variable test into Upper Case
(iv) write the prototype of a method that returns true/false and takes 2 strings as parameters
(v) input an integer using Scanner class object ‘sc’

Answers

Answered by Anonymous
11

These would helps u

Attachments:
Similar questions