this my first time here
it's cool site and i hope it will help me in my major
i'm beginner in java so plz help me to solve it
Input an UPPERCASE string
JAVA IS FUN
the modified string is: Java is Fun
Hint : Use indexOf() and substring() methods.
Q4. Design and implement a program that takes a 4 words’ string from the user then reverse its words.
Input a string to reverse
one two three four
the reverse is: four three two one
Hint : try it using three words first.