Yeap, thats true. That's how i learned java in the first place.
Though, you know people's learning styles are divided into 3 categories
Visual: You prefer using pictures, images, and spatial understanding.
Aural: You prefer using sound and music.
Verbal: You prefer using words, both in speech and writing.
That's the only reason i posted both tutorials and videos.
Note: Do not try to copy paste the code, you learn nothing by that.
First learn the basics and then practise with examples by yourself.