🚀 Day 2 of. My Java Journey – Learning Variables Today, I started learning Java programming and covered one of the most fundamental concepts: Variables 🎯 Variables are used to store data in a program, such as numbers, text, and more. Understanding how to declare and use variables is the first step toward building strong programming logic. 💡 Key Learnings: • Variables act as containers to store data • Each variable has a specific data type (int, float, String, etc.) • Learned about declaration and initialization • Understood basic naming conventions for variables 🧠 Example: int age = 20; String name = "ABC"; Consistency is key to success, and I’m excited to learn more step by step 🚀 📌 Next Step: Data Types & Operators #Java #CodingJourney #Programming #Learning #DeveloperJourney #100DaysOfCode
Learning Java Variables: Fundamentals for Programming Success
More Relevant Posts
-
🚀 Day 6 of My Java Learning Journey – Mastering Arrays Today, I worked on strengthening my fundamentals of arrays in Java by implementing multiple important operations in a single program. Here’s what I practiced 👇 🔹 Introduction of aray 🔹 Traversing an array using enhanced for-loop 🔹 Calculating the sum of elements 🔹 Finding maximum & minimum values 🔹 Reversing an array 🔹 Performing linear search 🔹 Implementing Bubble Sort 💡 This small program helped me understand how powerful arrays are when combined with logic and loops. It also improved my problem-solving skills step by step. 📌 Key Learning: Arrays are not just about storing data — they are the foundation for solving real-world problems efficiently. 💻 Consistency is the key. Every day, one step forward! #Java #Programming #CodingJourney #Arrays #100DaysOfCode #Learning #JavaDeveloper #ProblemSolving
To view or add a comment, sign in
-
🚀 Day 34 of Learning Java — File Handling! 📂 Today I explored File Handling in Java, and it was such a great learning experience! Here's what I practiced: ✅ How to check if a file exists using the File class ✅ How to create a new file using createNewFile() ✅ How to write data to a file using FileOutputStream in append mode (true flag keeps existing data safe!) ✅ How to convert a String to bytes using getBytes() and write it to a file 🔍 Key Concept from Today's Code: My program first checks if a file exists at a given location. If it does, it directly appends new data to it. If not, it creates the file first and then writes the data — making it smart and reusable! 💡 One thing I learned: Using FileOutputStream(location, true) appends data instead of overwriting it. Such a small detail but so important! A big thank you to my mentor Raviteja T for the amazing guidance and support throughout this journey! 🙏 #Java #JavaProgramming #FileHandling #Day34 #LearningJava #CodingJourney #JavaDeveloper #Programming #CodeNewbie #TechLearning #JavaBeginners
To view or add a comment, sign in
-
🚀 Day 17/45 – Learning Interfaces in Java On Day 17 of my Java learning journey, I explored the concept of Interfaces, which is an important part of Object-Oriented Programming. Interfaces help in achieving full abstraction and allow multiple inheritance in Java. 📚 What I Learned Today Today I learned: ✔ What interfaces are and how they work ✔ Difference between interface and abstract class ✔ How to implement interfaces using implements keyword ✔ Multiple inheritance using interfaces 💻 Practice Work To apply my learning, I implemented: • A basic interface example using shape • A multiple interface example demonstrating multiple inheritance 🎯 Key Takeaway Interfaces are powerful because they provide a way to achieve abstraction and flexibility in design. They help in building scalable and loosely coupled applications. Understanding these advanced concepts step by step is making my programming journey more exciting. #Java #Programming #LearningInPublic #CodingJourney #SoftwareDevelopment #OOP
To view or add a comment, sign in
-
🚀 Day 7 of My Java Learning Journey – Advance Arrays Today, I explored advanced concepts of arrays in Java, moving beyond basics into more structured and flexible data handling. Here’s what I learned 👇 🔹 Working with 2D Arrays (Matrix) → Understanding rows & columns using nested loops 🔹 Exploring Jagged Arrays → Handling arrays with different column sizes 🔹 Passing arrays to methods → Learning how arrays behave when passed as arguments 🔹 Returning arrays from methods → Building reusable and modular code 💡 This practice helped me realize how arrays can represent complex data structures and how methods make code more organized and reusable. 📌 Key Learning: Mastering arrays is essential because they are the building blocks for advanced topics like data structures and algorithms. 💻 Small steps every day = Big progress over time! #Java #Programming #CodingJourney #Arrays #2DArray #JaggedArray #100DaysOfCode #Learning #JavaDeveloper
To view or add a comment, sign in
-
📌 Another step in my learning journey 🚀 Today I explored the basic structure of Java programs and created this simple presentation to understand it better. 🔹 Concepts covered: • Classes & Objects • Main Method • Packages & Imports • Variables & Data Types Still learning and improving every day 💻✨ #Java #Programming #Learning #StudentLife #CodingJourney #LinkedInLearning
To view or add a comment, sign in
-
🔹 Understanding Composition in Java (OOP Concept) 🔹 Today I practiced one important concept of Object-Oriented Programming — Composition (HAS-A relationship). 👉 Composition means one class contains another class as a part of it. 👉 It represents a strong relationship where one object depends on another. 💻 Example: House HAS-A Room In this example, a House object contains a Room object. The Room is created inside the House, which shows a strong dependency (Composition). ✨ Key Points: ✔ Composition = HAS-A relationship ✔ Strong dependency between objects ✔ Objects are created inside the parent class ✔ Improves code reusability and design 📚 Learning and practicing OOP concepts step by step to strengthen my Java fundamentals. #Java #OOP #Composition #Programming #Learning #CodingJourney
To view or add a comment, sign in
-
-
Today I explored one of the most essential data structures in Java — ArrayList. From understanding dynamic resizing to mastering common methods like add(), get(), and remove(), it’s amazing how flexible and powerful it is compared to traditional arrays. 💡 Key takeaways: ✔ Dynamic size makes it super flexible ✔ Easy data manipulation with built-in methods ✔ Cleaner iteration using for-each loops Grateful for the continuous learning journey and excited to apply this in real projects! 💻 #Java #Programming #CodingJourney #ArrayList #SoftwareDevelopment #LearningEveryday TAP Academy @Bibek singh
To view or add a comment, sign in
-
-
🚀 Day 33 of Learning Java — Multithreading Deep Dive! Multithreading has been one of the toughest topics for me so far — but I refused to move on without truly understanding it. So today I went back to basics and practiced hands-on. 🔧 What I built today: ✅ Program 1 — Even & Odd Number Printer using two threads • Implemented Runnable interface with custom start & end fields • Used start() to launch threads and join() to make main wait • Applied i % 2 == start % 2 logic to auto-filter even or odd numbers per thread ✅ Program 2 — Synchronized Shared Printer • Two users (User1, User2) sharing a single Printer object • Used synchronized block to prevent race conditions • Only one thread can access the printer at a time — clean and safe output! 💡 Key Takeaways: → start() creates a NEW thread | run() does NOT → join() makes the calling thread wait → synchronized prevents data corruption on shared resources → Struggling with a concept? Go back and PRACTICE — it clicks eventually! Some days are hard. Some concepts feel impossible. But showing up on Day 33 still writing code means more than perfect understanding on Day 1. 💪 #Java #JavaDeveloper #Multithreading #LearningInPublic #Programming #Threads #Synchronized #CodeNewbie #SoftwareDevelopment #BackToBasics #JavaProgramming #TechJourney #OpenToWork #LinkedInLearning
To view or add a comment, sign in
-
Day 39 of learning java Today I learned something very important in Java, Object Creation. Syntax: "className objectName = new constructor();" Here’s what I understood: • The left side ("className objectName") is just declaring a reference variable. • The right side ("new constructor()") is where the actual object is created. • Memory is allocated only when we use the "new" keyword. • The constructor gets executed automatically when the object is created. • Without "new", no memory is allocated and no constructor runs. In short: Declaration != Object creation You need "new" to actually create and use the object. This concept made things much clear about how Java handles memory and execution internally. Thanks to my mentor Ashim Prem Mahto for the clear explanations and for always clearing my doubts. #Java #LearningJourney #Programming #JavaBasics #CodingLife #DeveloperJourney #TechLearning #Beginners #CodeNewbie #jvm #SoftwareEngineer #StudentLife
To view or add a comment, sign in
-
-
🚀 Learning OOPs with Java – Abstraction & Polymorphism 💻 Today I practiced an important concept of Object-Oriented Programming: Abstraction with Polymorphism. 🔹 I created an abstract class Pen with an abstract method draw(). 🔹 Then I implemented two subclasses: BluePen and RedPen. 🔹 Both classes override the same method in their own way. 👉 This shows how one method can behave differently (Polymorphism). 💡 Key Learning: Abstract class defines structure, not implementation Subclasses must override abstract methods Same reference, different objects = powerful concept! 📌 Code Output: Pen -> Blue Pen -> Red I'm improving step by step and enjoying the journey of learning Java 🚀 #Java #OOP #Programming #Coding
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development