Reverse Each Word in a Sentence | Java Interview Program

preview_player
Показать описание
Here we see another Java coding interview question and tackle it practically on Eclipse IDE.
Reversing a sentence "This is Java" in a way like "sihT si avaJ". Cleary not reversing the whole sentence literally but reversing words of a sentence.

There is a very easy trick explained in this video. Watch till the end.

Find the code here:

Find below Playlists' links:

My Tech Stack:
1. Video Editing: Da Vinci Resolve 18
You can download it from here for free:

2. Thumbnails: Canva Pro
Рекомендации по теме
Комментарии
Автор

Using stack is easy. Use peek and pop built in method to get the reverse

saddaydreamer
join shbcf.ru