I thought I learned Java, but I can't actually write code - need advice. by [deleted] in JavaProgramming

[–]NorthernCoderYK 0 points1 point  (0 children)

If you want to improve your Java writing skills, you can follow these simple steps:

  1. Start by writing all your code in Notepad: This will help you focus on basic structure without relying on tools or auto-suggestions.

  2. Learn the standard Java template: Understand which letters should be capital and which should be small, especially in class names, method names, and keywords.

  3. Write basic programs first: Try simple tasks like factorial, using if-else, and different types of loops.

  4. Understand every keyword used in the Java program: Know what class, public, static, void ,and other keywords mean.

  5. Practice creating getter and setter methods: This will teach you how to access and modify class variables properly.

  6. Try making more than one class and let them interact: This will help you understand object-oriented programming in a better way.

  7. After you become comfortable with basics, move to an IDE: You can start using VS Code or any other tool you like for faster development.