Reversing of words in java

You are given a phrase, you need to reverse the phrase.



Input
dog bites man

Output
man bites dog

Comments

Popular posts from this blog

Reasoning-Number Series

Reasoning-Letter Series

Multiply Negative numbers in java