🚀 Day 10 of My Programming Journey – Introduction to Array Traversal Today, I focused on understanding the fundamentals of Array Traversal in Java a core concept that plays a major role in problem-solving and data handling. 🔹 1️⃣ Array Traversal Array traversal means accessing each element of an array one by one. It helps in reading, processing, and analyzing data stored inside arrays. Understanding traversal is important because almost every array-based problem starts here. 🔹 2️⃣ Count Elements in an Array I learned how to logically determine the number of elements present in an array. This concept strengthens understanding of: Array size Loop execution Basic counting logic 🔹 3️⃣ Finding the Maximum Element Index Another important program was identifying the index of the maximum value in an array. This improves: Comparison logic Decision-making using conditions Tracking positions while iterating ✅ Stronger understanding of loops ✅ Better clarity on array structure ✅ Improved logical thinking ✅ Foundation for searching and sorting algorithms #Day10 #Java #ArrayTraversal #ProgrammingJourney #KeepLearning
Java Array Traversal Fundamentals
More Relevant Posts
-
Today’s session focused on strengthening core Object-Oriented Programming concepts through practical coding. 🔹 Implemented Encapsulation to protect data using private variables and getter/setter methods. 🔹 Built a POJO (Plain Old Java Object) class to structure and manage object data efficiently. 🔹 Explored how to resolve the buffer problem in Scanner when mixing nextInt() and nextLine() inputs. 🔹 Learned about Wrapper Classes like Integer, Double, and Character, and understood autoboxing and unboxing. Hands-on coding helped me understand how these concepts improve data security, code organization, and flexibility in Java applications. #Java #OOP #Encapsulation #POJO #WrapperClasses #JavaLearning #ProgrammingJourney
To view or add a comment, sign in
-
-
🚀 Day 6 – Understanding Constructors in Java Today I implemented constructors in my Student class and understood how object initialization works in Object-Oriented Programming. Instead of assigning values manually after creating the object, I learned how to pass them directly through the constructor. This made my code cleaner, more structured, and closer to real-world programming practices. 🔹 Constructor name is same as the class name 🔹 No return type 🔹 Automatically runs when an object is created 🔹 Helps in initializing instance variables Created multiple Student objects with different data and displayed their details using methods. Every day I’m getting more comfortable with OOP concepts and building stronger fundamentals in Java. Consistency > Motivation 💻✨ #Java #OOP #Constructors #ProgrammingJourney #Day6 #LearningInPublic #ComputerScience
To view or add a comment, sign in
-
-
🚀 Day 17 – Understanding Class vs Object in Java Today was focused on one of the most fundamental concepts in Object-Oriented Programming: Class vs Object. Instead of just reading theory, I implemented a practical example to clearly understand how objects are created from a class blueprint. 🧠 What I Strengthened: ✔ A class as a blueprint/template ✔ Objects as real-world instances ✔ Instance variables for storing object-specific data ✔ Methods to define object behavior ✔ Creating and using multiple objects 💡 Key Learning: A class defines structure. An object gives it life. Understanding this distinction is crucial because every scalable software system is built around object interaction. Today helped me think more in terms of modeling real-world entities into structured code — an essential skill for backend and application development. #100DaysOfCode #Java #OOP #ClassAndObject #SoftwareDevelopment #JavaDeveloper #BackendDeveloper #ProgrammingFundamentals #CodingJourney #TechGrowth #ComputerScience #DeveloperGrowth #LearningDaily
To view or add a comment, sign in
-
-
Day 8 — Array problems Searching & basic operations Method practice (modular coding) Big shift: Stopped writing everything in one block. Started breaking problems into functions. Less chaos. More structure. Day 9 tomorrow. #LearnInPublic #Java #BuildInPublic
To view or add a comment, sign in
-
💻 Day 10 – Understanding Abstraction in Java Today I explored one of the core pillars of Object-Oriented Programming: Abstraction. Abstraction is about hiding implementation details and showing only the essential features of an object. What I learned today: • How to create an abstract class • Difference between abstract methods and normal methods • How child classes implement abstract methods • How interfaces work in Java • Real-world understanding of “what to do” vs “how to do” Key takeaway: Encapsulation hides data Abstraction hides implementation Using abstract classes and interfaces makes code: ✔ More scalable ✔ More structured ✔ Easier to maintain Every day I’m understanding how OOP concepts make real-world applications more organized and powerful 💡 #Java #OOP #Abstraction #LearningInPublic #ComputerScience #Day10 #CodingJourney
To view or add a comment, sign in
-
-
Day -10 🚀 Arrays in Java – Building Strong Programming Foundations Arrays are one of the most fundamental concepts in Java programming. Understanding them clearly helps in writing efficient and structured code. 🔹 Stores multiple values of the same data type 🔹 Index starts from 0 🔹 Easy access using array[index] 🔹 Update values anytime 🔹 Find size using array.length Arrays are widely used in loops, sorting, searching, and data processing. Mastering arrays makes learning Data Structures & Algorithms much easier. Step by step, improving my Java fundamentals and strengthening my problem-solving skills. 💡 #Java #Arrays #Programming #CodingLife #DataStructures #ComputerScience #LearningJourney
To view or add a comment, sign in
-
-
Today’s session focused on strengthening core Object-Oriented Programming concepts through practical coding. 🔹 Implemented Encapsulation to protect data using private variables and getter/setter methods. 🔹 Built a POJO (Plain Old Java Object) class to structure and manage object data efficiently. 🔹 Explored how to resolve the buffer problem in Scanner when mixing nextInt() and nextLine() inputs. 🔹 Learned about Wrapper Classes like Integer, Double, and Character, and understood autoboxing and unboxing. Hands-on coding helped me understand how these concepts improve data security, code organization, and flexibility in Java applications. TAP Academy Bibek Singh #Java #OOP #Encapsulation #POJO #WrapperClasses #JavaLearning #ProgrammingJourney
To view or add a comment, sign in
-
-
Over the past semester I focused on building a strong foundation in Object-Oriented Programming with Java by consistently practicing and organizing my work in a structured way. I organized my practice into a structured repository covering core concepts such as classes, inheritance, polymorphism, abstraction, and object relationships, along with hands on assignments, problem sets, and small GUI-based implementations. Maintaining this structure helped reinforce clarity in thinking, improve code organization, and develop better problem solving habits. Repository: https://lnkd.in/d9reDSjK #Java #OOP #SoftwareEngineering #ComputerScience #Programming
To view or add a comment, sign in
-
-
🚀 Daily DSA Practice – Day 52 | Dynamic Programming – Pick or Skip (Java) Continuing my Dynamic Programming journey, today I focused on a classic decision-making DP problem that introduces the powerful Pick or Skip pattern. 📌 Problem Solved (LeetCode): 198. House Robber (Medium) 🎯 Concept: 1D DP – Pick / Not Pick Strategy 🧠 Key Learning: At each house, we decide whether to rob the current house or skip it to avoid robbing adjacent houses. DP Relation: dp[i] = max(dp[i-1], nums[i] + dp[i-2]) 🔍 What I Practiced: ✔ Understanding Pick vs Skip decision logic ✔ Converting recursion → memoization → tabulation ✔ Space optimization using two variables ✔ Identifying overlapping subproblems This problem strengthened my ability to think in terms of choices and consequences, which is a core mindset for Dynamic Programming and many real interview problems. #DSA #LeetCode #DynamicProgramming #Java #ProblemSolving #InterviewPreparation #Consistency #SoftwareEngineer
To view or add a comment, sign in
-
Day 15 of Programming Multiple Arrays Today I worked on Multiple Arrays and finding the Largest Repeating Element in a Sorted Array. 🔹 Multiple Arrays Learned how to handle and traverse more than one array in a program. This helps when comparing data, merging arrays, or solving problems involving multiple datasets. 🔹 Largest Repeating Element in a Sorted Array Since the array is sorted, repeating elements appear next to each other. By iterating through the array and counting occurrences, we can efficiently identify the largest element that appears more than once. 💡 What I Practiced Traversing multiple arrays Comparing elements across arrays Counting occurrences in sorted arrays Identifying repeating elements using loops and conditions 🧠 Example Problem Practiced Find the largest repeating element in a sorted array. Example: Array → 1 2 2 3 3 3 4 5 Output → 3 (largest element that repeats) #Day15 #ProgrammingJourney #Java #CodingPractice #ProblemSolving
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