+ 1
I think one of the best way to practice is solving programming challenges. You can sign in to Hackerrank and start solving problems.
To understand how a method works, you can read the official Java documentation because it is written in a very organized way. And again, you need to write some actual code to see how the method works and what it does it do to your output when called đ
Best of luck đ