If it is the basics of Java that you want to learn, I would say W3schools is the best place to start for beginners. It gets your hand dirty without dumping any technological or theoretic jargon on your mind upfront. Just download Eclipse or Intellij IDE and you are good to go in your basic Java learning and get a hang of the language. Because Java can be hectic with its threads, JVM, heap-space and a lot of object orientation that can be scary in the beginning. Also, I recommend learning a little of C if you haven't before.
https://www.w3schools.com/java/
Once you start learning basics, and since Java is an intricate OO (Object orientation) language, I would also recommend you to learn OO techniques early in your journey of learning Java. This will make you think from OO perspective right from the beginning.
For that, and DSA, I believe GeeksforGeeks is an easy and readily available option.
https://www.geeksforgeeks.org/java/