Write a java statement for each of the following.
(i) Extract the second last character of a word stored in the variable w.
(ii) Find and display the index of last space in a string s.
Answers
Answered by
0
Answer:
Extract the second last character of a word stored in the variable w.
(ii) Find and display the index of last space in a string s.
Explanation:
please mark as branliest
Similar questions