It varies from person to person. I learned mostly with teachers and textbooks but eventually learned how to learn so I could supplement lessons with self study. If you're looking for resources here's a list for beginners. jtalkonline.com/how-to-learn...

How to Learn Japanese: The Ultimate Beginners GuideA guide to what you should know when you start learning Japanese, how to learn it, and some resources you can use to learn them!jtalkonline.com