How to reverse words in a sentence without using array or split or string tokenizer in Java?
[deleted]

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 (78) [earned 5 cycles]
View Answer
[deleted]

@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.