d)
Write a Java statement for the following:
To extract the second last character of a word (w) stored in the variable ch.
Answers
Answered by
2
Answer:
char ch=w.charAt(w.length()-2);
is the answer
himanshu2006vps:
same to you
Similar questions