I suppose you are allowed to use the String class' methods.
1. For longest & shortest word use length method of String.
2. To split use StringTokenizer class
3. For palindrome make use of the stack ds.
If you cannot use String methods you'll have to traverse the string maintaining a counter until you encounter a termination char like a space, comma, period or newline.
verruckt24 438 Posting Shark
verruckt24 438 Posting Shark
verruckt24 438 Posting Shark
verruckt24 438 Posting Shark
verruckt24 438 Posting Shark
verruckt24 438 Posting Shark
verruckt24 438 Posting Shark