#Day 1 of revising Java. Today I focused on refreshing the fundamentals: • Data types • Taking input using Scanner • Object creation • Loops (for / enhanced for) • Conditional statements Going back to the basics is helping me strengthen my programming foundation before diving deeper into problem solving and data structures. The goal for the next few weeks is simple: practice consistently, improve logic, and become more comfortable writing clean Java code. Small progress every day. #Java #Programming #LearningInPublic #CodingJourney #JavaBasics
Refreshing Java Fundamentals Day 1
More Relevant Posts
-
🔹 Title: Solving “A Very Big Sum” Problem in Java 🚀 🔹 Description: Today I worked on a classic problem: handling very large integers and calculating their sum efficiently. The key challenge was avoiding integer overflow, which I solved by using the long data type instead of int. 💡 Approach: Read input values into a list Iterate through the list Accumulate the sum using a long variable This problem is a great reminder of how choosing the right data type is crucial in programming. 🔹 What I learned: ✔ Importance of data types ✔ Handling large inputs ✔ Writing clean and efficient Java code #Java #Coding #ProblemSolving #Programming #DataStructures
To view or add a comment, sign in
-
-
🚀 Day 36 – Understanding Encapsulation in Java Today’s focus was on one of the most important pillars of Object-Oriented Programming — Encapsulation. Encapsulation is all about data hiding and controlled access. Instead of exposing variables directly, we protect them and interact through methods, making our code more secure, modular, and maintainable. 📚 Concepts Covered ✔ Introduction to OOP Principles ✔ Understanding Encapsulation ✔ Data Hiding using private variables ✔ Controlled access using Getter & Setter methods 💻 What I Implemented • Created a class with private fields • Used getters and setters to access and update values • Ensured data validation before modifying object state 💡 Key Learning Encapsulation is not just about hiding data — it’s about building secure, flexible, and scalable applications. This concept is heavily used in real-world systems to maintain data integrity and clean architecture. #Java #OOP #Encapsulation #CoreJava #JavaProgramming #SoftwareDevelopment #CodingJourney #DeveloperJourney #LearningInPublic #BackendDevelopment
To view or add a comment, sign in
-
-
Day 44-What I Learned In a Day(JAVA) Today I revised pattern programming in Java to strengthen my core logic and understanding of loops. What I practiced: • Star patterns • Number patterns • Pyramid patterns • Inverted patterns • Nested loop logic Pattern programming helped me improve: • Loop control (for/while) • Logical thinking • Understanding of rows & columns Every pattern I solve makes my logic stronger step by step. Consistency is the key #Java #CodingJourney #PatternProgramming #Learning #StudentDeveloper
To view or add a comment, sign in
-
🚀 New YouTube Video Alert! I just uploaded a new video where I practice Java loops by building a Multiplication Table Exercise 🧮 In this tutorial, I explain and demonstrate how to use: 🔹 "for" loop 🔹 "while" loop We go step by step to understand how iteration works in Java and how loops can simplify repetitive tasks. 💡 This exercise is perfect for beginners who want to strengthen their logic and improve their programming skills. 📺 Watch the full video here: [https://lnkd.in/dPqCz2h8] Let’s keep learning and building strong programming fundamentals together 💻🔥 #Java #Programming #Loops #Coding #YouTube #SoftwareDevelopment #LearnToCode
multiplication table in java using for and while loop
https://www.youtube.com/
To view or add a comment, sign in
-
🚀 Day 1 — Java & Data Structures Learning Journey Today I strengthened my core programming fundamentals by revisiting essential Java concepts and setting up a solid development environment. My focus was on understanding both the practical implementation and the internal working of Java applications. ✅ Key Concepts Covered: • Java Installation & Development Environment Setup • JVM, JDK, and JRE — execution architecture and roles • Variables and Data Types for efficient data handling • Operators and expression evaluation • Input handling using the Scanner class • Type Casting (Implicit and Explicit conversions) This learning session enhanced my understanding of how Java programs are compiled and executed, while reinforcing clean coding practices and problem-solving fundamentals. I am consistently working toward improving my programming skills and building a strong base for Data Structures, Algorithms, and real-world software development. Looking forward to continuous learning and applying these concepts in practical projects. #Java #SoftwareEngineering #Programming #DeveloperJourney #100DaysOfCode #LearningInPublic #FutureDeveloper
To view or add a comment, sign in
-
🚀 Day 48 of My Java Learning Journey Today, I explored one of the most important concepts in Java – Collection Framework 💡 📌 What I Learned: Collection Framework is a set of classes and interfaces used to store and manipulate data efficiently It was introduced in JDK 1.2 by Josh Bloch Acts as an alternative to Data Structures in Java 📊 Key Components: Interfaces → List, Set, Queue, Map Classes → ArrayList, LinkedList, HashSet, HashMap 🔥 Why Collections? ✔ Dynamic size (no fixed length like arrays) ✔ Inbuilt methods (add, remove, etc.) ✔ Efficient data handling ✔ Reduces coding effort 💻 Key Features: Allows heterogeneous data Maintains insertion order (List) Allows duplicates (List) Improves performance in real-world applications 📈 Takeaway: Collection Framework is a must-know concept for interviews and real-time development. Almost every Java application uses it! #Day48 #Java #CollectionsFramework #JavaDeveloper #LearningJourney #Coding #Programming
To view or add a comment, sign in
-
-
🚀 Day 1 of My Java Journey Started learning Java from scratch. ✔ Variables ✔ Data Types (int, float, char) One thing I realized: Programming is not about memorizing syntax, it's about understanding how data works. Simple example: int age = 20; → storing real-world data in code This is just the beginning 🔥 What was your first programming language? #Java #CodingJourney #Learning #Day1
To view or add a comment, sign in
-
🚀 100 Days Java + DSA Challenge | Day 2 Today’s focus was on strengthening my programming fundamentals by covering: 🔹 Operators in Java (Arithmetic, Relational, Logical, Assignment) 🔹 Conditional Statements (if, if-else, nested if, switch) Understanding how operators work and how decisions are made in code is essential for building strong logic. These concepts are the backbone of problem-solving in Data Structures and Algorithms. 💡 Practiced writing multiple programs using conditions and improved my logical thinking step by step. Consistency is the key — small progress every day leads to big results. #100DaysOfCode #Java #DSA #LearningJourney #Coding #SoftwareDevelopment
To view or add a comment, sign in
-
Understanding the difference between shallow copy and deep copy in Java really changed how I think about object handling and memory. A shallow copy duplicates the reference — meaning changes in one object can unexpectedly affect another. On the other hand, a deep copy creates an entirely independent object with its own memory allocation. This concept might seem small at first, but it becomes critical when working with complex data structures, real-world applications, and avoiding unintended side effects. Key takeaway: Always be clear whether you're copying data or just references. #Java #Programming #Learning #DSA #SoftwareDevelopment
To view or add a comment, sign in
-
-
One Java concept completely changed how I write code: Encapsulation. At first, I thought Java was just about writing classes and methods or more over object creation But when I learned Encapsulation, I realized: 👉 Good code is not just working code. 👉 Good code protects its data. ☕ What is Encapsulation in Java? Encapsulation means: Wrapping data (variables) and code (methods) together into a single unit — a class. And controlling access to data using: 🔹 private variables 🔹 public getter/setter methods 💡 Why Encapsulation Matters: 🔹 Protects data from accidental changes 🔹 Improves code security 🔹 Makes code easier to maintain 🔹 Helps in building large applications 🎯 My Learning Takeaway: 👉 Encapsulation is not just a concept—it’s discipline. 👉 Clean code today saves debugging tomorrow. 👉 Understanding concepts deeply is better than memorizing syntax. #Java #JavaDeveloper #ObjectOrientedProgramming #OOP #Programming #SoftwareDevelopment #CodingJourney #TechLearning
To view or add a comment, sign in
Explore related topics
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