Computer Science, asked by aparnamaurya75182297, 1 year ago

Write a statement each to perform the following task on. strings: (i) Find and display the position of the last space in a string s. (ii) convert int data type into char data type

Answers

Answered by anitamitramadhu
48

1.

String str;

str.lastIndexOf (' ');

------------------×---------------

2.

int n;

char c= (char)n;


Answered by student22235
13

above answer is correct

Similar questions