DEV Community

Namada Junior
Namada Junior

Posted on

Starting My Java Learning Journey ๐Ÿš€

Hey Devs ๐Ÿ‘‹,

Iโ€™ve recently decided to start learning Java, and I wanted to document my journey here on Dev.to โ€” both to help others who might be starting and to keep track of my own progress. If you're also just getting started or thinking about it, I hope this helps!


๐Ÿง  Why Java?

Java has been around for decades and continues to power everything from enterprise systems to Android apps. Some reasons I picked it:

  • ๐Ÿ”’ Strong typing and structured syntax (great for learning fundamentals)
  • ๐Ÿงฉ OOP (Object-Oriented Programming) is baked in
  • ๐Ÿ’ผ It's widely used in enterprise applications
  • ๐Ÿ“ฑ Itโ€™s the foundation of Android development

๐Ÿ“˜ What Iโ€™ve Learned So Far

โœ… The Basics

I started with the classic Hello World example and moved on to variables and data types:

public class HelloWorld {
    public static void main(String[] args) {
        String name = "Nam";
        int age = 20;
        boolean isStudent = true;

        System.out.println("Hello, " + name);
        System.out.println("Age: " + age);
        System.out.println("Is Student: " + isStudent);
    }
}
Enter fullscreen mode Exit fullscreen mode

Functions (a.k.a. Methods)

I learned how to write my own methods:

public static void greet(String name) {
    System.out.println("Good morning, " + name + "!");
}
Enter fullscreen mode Exit fullscreen mode

Then called them from the main method.

Loops

Loops are really useful โ€” especially when working with lists or doing repetitive tasks.

for (int i = 0; i < 5; i++) {
    System.out.println("Loop count: " + i);
}
Enter fullscreen mode Exit fullscreen mode

๐Ÿ”ง Tools I'm Using

  • Java 11 (OpenJDK) โ€” though Iโ€™m learning about Java 21+ and its new features
  • VS Code with the Java Extension Pack
  • Terminal (on Ubuntu via WSL)

๐Ÿงญ Whatโ€™s Next?

  • Understand object-oriented concepts (classes, objects, inheritance, etc.)
  • Explore file handling, exception handling, and collections
  • Maybe try building a small console app!

๐Ÿ’ฌ Final Thoughts

Learning Java has been fun so far. The syntax is a bit strict compared to Python or JavaScript, but thatโ€™s also teaching me to be more thoughtful and organized.

If youโ€™re new to Java or learning it too โ€” letโ€™s connect! I'd love to hear how others are approaching it.

Thanks for reading!
Happy coding ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป

Top comments (0)