Is this below code fine for getSS with ASCII?
Hey @kakkarhk It is a correct method since the motive of the question is full filled. But as you can see in your output then instead of character ASCII values are printing so to cure that everytime you add a thing in a ArrayList add like this :
mr.add(""+i_ch+rrs); addition of “” will make your value to string.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.