Search This Blog

Wednesday, August 6, 2025

Week 1 in Code: Java, You Had Me at Hello

 



Hey everyone!

This week, I got started with Java development and wanted to share a few things I learned. I successfully installed Java on my computer, ran my first “Hello, World!” program, and started digging into the basics of object-oriented design (OOP).


☕ Installing Java

At first, setting up Java felt a little overwhelming, but these resources helped a lot:

Once everything was installed, I wrote a simple program that prints "Hello, World!" to the console. It might seem small, but it was a cool moment seeing it actually work!


🧠 Learning Object-Oriented Design

After getting Java running, I started learning about how Java uses object-oriented programming. This basically means writing code that’s organized around objects—like real-world things that have data and actions.

Here are the four main ideas I learned:

  • Encapsulation – Keeps details inside an object and only shows what’s needed

  • Abstraction – Simplifies complex systems by hiding the messy stuff

  • Inheritance – Lets one class reuse code from another

  • Polymorphism – Same method name, different behaviors depending on the object

I’m still getting used to thinking this way, but it’s helping me see how real software projects stay organized and flexible.


🔚 Wrapping Up

Overall, it’s been a good first week. I got Java installed, ran a program, and started learning how to structure code the way real developers do. I’ll be posting weekly updates as I keep learning and building—stay tuned!

Thanks for reading!

No comments:

Post a Comment