🚀 Day 2 of My Java Learning Journey Today I explored 2D Arrays and Jagged Arrays in Java. 📌 What I learned: ✔ How to declare and initialize 2D arrays ✔ How to take user input using nested loops ✔ Matrix representation using rows and columns ✔ Difference between normal 2D arrays and jagged arrays ✔ Creating jagged arrays with different column sizes 🧠 What I understood: A 2D array stores data in a tabular format (rows × columns), similar to a matrix. A jagged array is a special type of 2D array where each row can have a different number of columns. It gives more flexibility when data size varies. 💻 Practiced: • Taking input for a matrix • Printing matrix using nested loops • Creating a jagged array dynamically • Finding common elements in a jagged array Every day learning something new and improving step by step 💪 #Java #LearningInPublic #100DaysOfCode #Programming #JavaDeveloper #Placements
Java 2D Arrays and Jagged Arrays Explained
More Relevant Posts
-
Learn Programming with Arrays, Lists, Sets and Maps with Practical Examples Session 1: Concept of Arrays in Java | Programming with Arrays, Lists, Sets and Maps Series Learn It Easy: https://lnkd.in/gad2uaM3 #arrays #programming #automationtesting #sets #maps #lists #java #learntocode #seleniumwebdriver #dezlearn #dezinnia #happylearning
Session 1: Concept of Arrays in Java | Programming with Arrays, Lists, Sets and Maps Series
https://www.youtube.com/
To view or add a comment, sign in
-
Today let's practice one of the strongest foundations in Java — Arrays. From basics like: ✔ Finding even numbers ✔ Reversing an array ✔ Sum & average To logic-building concepts like: ✔ Largest & smallest element ✔ Linear Search (Brute Force) ✔ Selection Sort Arrays may look simple… But they build real problem-solving skills and algorithmic thinking. I’ve uploaded all the programs here: https://lnkd.in/g_ZW9aqq Swipe through the carousel → Practice → Improve #Java #JavaFullStack #Arrays #CodingPractice #DSA #LearningInPublic #Programming
To view or add a comment, sign in
-
Day-10 Understanding Arrays in Java – 3D & Jagged Arrays 🔹 Exploring the concepts of Three-Dimensional Arrays and Jagged Arrays in Java with clear structure and visualization. 📌 In this post, I covered: ✔️ Structure of 3D arrays (blocks, rows, columns) ✔️ How memory is organized internally ✔️ Difference between regular and jagged arrays ✔️ Variable column lengths in jagged arrays ✔️ Practical Java implementation with nested loops Understanding multidimensional arrays is essential for handling complex data structures efficiently in Java. Always learning. Always building. 💻✨ #Java #Programming #DataStructures #LearningJourney #ComputerScience #Coding
To view or add a comment, sign in
-
-
How many of you know that this line creates TWO objects? String s1 = new String("Hello"); One object is created in the Heap and another in the String Pool. But things become interesting when we combine concepts like: • Compile-time vs Runtime concatenation • final variables • intern() behavior I’ve added a few tricky Java String questions in this document to test your understanding. Try answering them before checking the explanation. Curious to know — how many did you get right? 👇 #Java #JavaInterview #JavaDevelopers #StringPool #Programming
To view or add a comment, sign in
-
Explored the concept of Strings in Java, including different types like String, StringBuffer, and along with the importance of immutability. Understanding how strings work helps in writing efficient and optimized programs. A strong foundation in these concepts is essential for every developer. #Java #Programming #Learning #Strings #Coding TAP Academy Bibek Singh
To view or add a comment, sign in
-
-
🚀 Day 5/45 – Mastering Loops in Java On Day 5 of my Java learning journey, I explored one of the most important concepts in programming — Loops. Loops allow us to execute a block of code multiple times, which is essential for solving real-world problems efficiently. 📚 What I Learned Today Today I learned about: ✔ for loop for controlled iterations ✔ while loop for condition-based execution ✔ do-while loop which executes at least once These concepts helped me understand how repetition works in programming. 💻 Practice Work To apply my learning, I implemented: • Printing numbers from 1 to 10 • Calculating the sum of first 10 numbers • Generating multiplication tables • Creating star patterns using nested loops 🎯 Key Takeaway Loops are extremely powerful and help reduce repetitive code. Understanding loops is essential for solving complex problems and building efficient programs. Daily practice is helping me improve my logical thinking. #Java #Programming #LearningInPublic #CodingJourney #SoftwareDevelopment #Consistency
To view or add a comment, sign in
-
Day 32-What I Learned In a Day(JAVA) Today, I dedicated my time to practicing Pattern Programming in Java, and it turned out to be a very valuable learning experience. Pattern programming is not just about printing shapes using stars or numbers - it actually helps in building a strong foundation in logic development. While working on different patterns, I understood how important nested loops (for loops inside another loop) are and how they control the flow of rows and columns in a program. I explored different types of patterns such as: • Square patterns • Triangular patterns • Pyramid structures One key learning: Every pattern can be broken down into: Rows (outer loop) Columns (inner loop) Condition (when to print star or space) By identifying these three parts, even complex patterns become easy to solve. In total, I solved 16 pattern problems today, which boosted my confidence in coding and strengthened my core Java concepts. Consistency in small steps like this is what builds strong programming skills over time. Practiced 👇 #Java #PatternProgramming #CodingJourney #ProblemSolving #Learning #Developers #100DaysOfCode
To view or add a comment, sign in
-
Java is a versatile programming language ideal for beginners, especially with your background in C, C++, and Python. Learning resources #java #javaprogramming #javatutorial #JavaDeveloper #programming #coding #developer #coder #learntocode #JavaOOP #Multithreading #SpringBoot #100DaysOfCode #programmerlife #tech #webdevelopment #computerscience
To view or add a comment, sign in
-
-
#day-21/29-Generic Problem The generic problem requiers the programming in c++ or java, python cannot be used in this since it supports dynamically typing, HackerRank #cpp #HackerRank #30daysofcode #PythonProgramming
To view or add a comment, sign in
-
-
New Video Uploaded 🚀 I’ve just uploaded a new video where I explain the difference between Compiler and Interpreter in a simple and beginner-friendly way. In this video, we will understand: • What is a Compiler • What is an Interpreter • Key differences between Compiler and Interpreter • How both work in programming languages This video is part of my Java Programming learning series, where I’m sharing concepts step-by-step for students and beginners. If you are starting your journey in programming, this concept is very important to understand. 👉 Watch the video here: https://lnkd.in/gd8ViP5V Your support and feedback would mean a lot. Let’s keep learning and growing together. #Java #JavaProgramming #Programming #Compiler #Interpreter #CodingForBeginners #LearnProgramming #Students
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
great share🥳