How to reverse words in a sentence without using array or split or string tokenizer in Java?
h
SolarBoom (71)

how to reverse words in a sentence without using split orarray or string tokenizer.
I/p :- how are you
O/p :- you are how

You are viewing a single comment. View All
Answered by Edgod (58) [earned 5 cycles]
View Answer
SolarBoom (71)

@vedprad1 Split() makes things easier. But our efficiency comes when we are not dependent on the functions which are not the most important function of the stings.