1. Popularity of java and high salary2. Java is Easy to Learn3. Java has a Large Community4. Java has an abundant API5. Java has multiple Open Source Libraries6. Java has Powerful Development Tools7. Java is Free of Cost8. Java is Platform Independent9. Java has great Documentation Support10. Java is Versatile
If you truly want to learn Java programming language, you'll need at least a year to progress from zero to somebody who can build a whole Java code.
You must learn a few things, such as how to loop. While this can be learned later, it is suggested that you clear your fundamentals first.
looping constructions can make you loopy at first, so it's best to get them out of the way as soon as possible.
Encapsulation, inheritance, polymorphism, and other fundamental aspects should all be thoroughly examined.
Lastly
Don't merely memorize facts; put them into practice.
For a person with no prior programming experience, it is expected approximately 9 months to understand and write Java programs completely.