Guest, before posting your code please take these rules into consideration:
It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
Don't share a wall of code. All we want is the problem area, the code related to your issue.
Learning Java can be a great way to start your programming journey, as Java is a widely used programming language that is popular for building web, mobile, and desktop applications. Here are some steps you can follow to learn Java:
Familiarize yourself with programming concepts: Before you start learning Java, it's important to have a basic understanding of programming concepts such as variables, data types, loops, and functions.
Get a good Java programming book: There are many great books available that cover Java programming from the basics to more advanced topics. Start with a beginner's book and progress to more advanced books as you learn.
Practice coding: The best way to learn Java is to write code. Start with small projects and work your way up to more complex applications. Practice makes perfect!
Join an online course: There are many online courses available that teach Java programming, such as Udemy, Coursera, and edX. These courses offer video lessons, quizzes, and hands-on coding exercises to help you learn Java.
Participate in online forums: Join online forums, such as Stack Overflow, to ask questions and connect with other Java developers. These forums are a great resource for getting help when you get stuck and for learning from the experiences of others.
Build projects: Once you have a good understanding of Java, start building projects on your own or with a team. This will help you apply the concepts you have learned and gain real-world experience.
Remember, learning Java takes time and patience. Keep practicing, keep learning, and don't be afraid to ask for help when you need it. Good luck!
One thing to watch out for, especially with books…
Java is an evolving language. New features are added all the time, often to fix problems or annoyances in previous versions.
Tutorial web sites are mostly out of date to some degree or another. I know of some that haven’t been updated for a decade!
So before committing to any course, check when it was last updated. The same is even more true of books.
Ideally look for something based on Java SE 17, or maybe 11 (the last two long term support versions).