🚀 Week 4 of My Java Learning Journey! This week, I explored Methods and Arrays — the building blocks that make Java programs modular and data-driven! 🧠 It was exciting to understand how methods simplify code and how arrays efficiently store and manipulate data. 💻 🧩 Key Learnings: Methods: Definition, Parameters, Scope Static methods and why they’re important Calling and Returning Methods Arrays: One-Dimensional & Two-Dimensional Array operations: Sorting and Searching 💻 Practice Programs: Array operations: Find Max, Min, Reverse, Sum Menu-based Array Application Method-based problem solving and modular programs 📝 Extra Skill: Improved code organization and reusability using methods 🔗 Check out my Week 4 GitHub repo: https://lnkd.in/gPAqMUPf Excited for Week 5, where I’ll dive into String Concepts — taking Java to the next level! 🚀 #Java #Programming #CodingJourney #Git #GitHub #100DaysOfCode #Learning #Backend
Learning Java: Methods and Arrays in Week 4
More Relevant Posts
-
🚀 Week 3 of My Java Learning Journey! This week, I explored one of the most exciting and essential parts of Java — Control Flow and Loops! 🧠 It’s been amazing to see how logic and structure come together to make programs dynamic and powerful. 💻 🧩 Key Learnings: Conditional statements: if, if-else, else-if, switch Loops: for, while, do-while Control statements: break, continue Nested loops 💻 Practice Programs: for loop: Factorial, Multiplication Table switch case: Calculator, Day of Week while loop: Reverse Number, Sum of Digits if-else: Eligible for Vote, Grade Calculator …and many more! 🚀 📝 Extra Skill: Started solving Java logic problems on HackerRank to strengthen my problem-solving skills 💪 🔗 Check out my Week 3 GitHub repo: https://lnkd.in/gzvSXY8h Excited for Week 4, where I’ll dive into Methods and Arrays — bringing structure and data manipulation to the next level! 🎯 #Java #Programming #CodingJourney #Git #GitHub #100DaysOfCode #Learning #Backend #HackerRank Would you like me to make a Week 4 template now (similar tone and layout) so you can just fill it in next week?
To view or add a comment, sign in
-
🚀 Week 5 of My Java Learning Journey! This week, I explored String Concepts in Java — one of the most powerful and commonly used data types! 🔤 It was exciting to understand how Strings work internally and how many different operations can be performed using built-in methods. 💻 🧩 Key Learnings: What is String & how it is stored in memory String vs StringBuilder vs StringBuffer String methods (length, charAt, substring, indexOf, equals, compareTo, replace, trim, split, etc.) Immutable vs Mutable strings String concatenation & performance 💻 Practice Programs: Reverse a string Count vowels & consonants Check palindrome string Compare two strings Word / character frequency Splitting sentences into words 📝 Extra Skill: Explored performance difference between String vs StringBuilder using loop concatenation 🔗 Check out my Week 5 GitHub repo: https://lnkd.in/giiR_G86 Excited for Week 6, where I’ll dive into Object-Oriented Programming (OOPs) Concepts — taking Java to the next level! 🚀 #Java #Programming #CodingJourney #Git #GitHub #100DaysOfCode #Learning #Backend #Strings
To view or add a comment, sign in
-
🚀 Just completed a deep dive into how Java handles strings! Key learnings from today’s session: ✅ Java Strings (String) are immutable, while StringBuffer and StringBuilder are mutable—knowing when to use each unlocks powerful features like reversing a string using .reverse(). ✅ Seamlessly convert between immutable and mutable types to leverage different inbuilt methods (toUpperCase, toString, etc.). ✅ Explored string splitting with both .split() and the StringTokenizer class, and learnt how to loop through tokens using hasMoreTokens() and nextToken(). ✅ Professional Java developers follow strict naming conventions: PascalCase for classes, camelCase for variables and methods, and UPPERCASE for constants. Adopting good coding practices and conventions helps distinguish you from the crowd—logic alone isn’t enough! Highly recommend this session for anyone interested in mastering Java strings and building professional coding habits. #Java #Programming #Learning #Coding #Developer #StringMethods #TapAcademy TAP Academy #Skills #Strings
To view or add a comment, sign in
-
-
🎯 Java Bootcamp – Day 3 Highlights 💡 Object-Oriented Programming (OOP) Unlocked! Today’s session was a deep dive into the world of OOP — the secret sauce behind clean, scalable, and real-world Java applications. Here's what I tackled: 🧱 OOP Foundations 🔹 Class = Blueprint | Object = Real-world instance 🔹 Why OOP? Because modular, reusable code is the future! 🛠️ Constructors & Methods 🔹 Used constructors to auto-initialize object data 🔹 Built methods that do things and return results (like calculating interest!) 🧯 Error Handling 101 🔹 Explored try-catch to gracefully handle runtime errors 🔹 No more crashes — just clean, safe execution! 💰 Hands-On Project: BankAccount App 🔹 Built a class with deposit(), withdraw(), and displayBalance() 🔹 Added error checks for smoother user experience 🔹 Practiced real-world logic with clean OOP structure Each concept added a new layer to my Java mindset. Can’t wait to keep building smarter and cleaner code as the bootcamp continues! 💻🔥 #JavaBootcamp #Day3 #OOPinJava #LetsUpgrade #TechJourney #StudentDeveloper #ParulUniversity #100DaysOfCode #CodeWithPraneel #BuildInPublic
To view or add a comment, sign in
-
-
🚀 New Repository Alert! Just uploaded my latest repository — “Java Learnings” 📚 This repo is a collection of everything I’m learning in Core Java and Object-Oriented Programming — from basic syntax to advanced concepts and small practice projects. 💡 What’s inside: Java Basics (loops, arrays, strings) OOP Concepts (inheritance, polymorphism, abstraction) Exception Handling, Collections, and more Step-by-step progress in my Java journey I’ve been documenting my learnings regularly to track progress and share knowledge with others in the community. Check it out 👇 🔗 https://lnkd.in/dXtmE3bp #Java #Programming #LearningJourney #FullStackDeveloper #Coding #GitHub #SoftwareDevelopment #SafwanShaikh
To view or add a comment, sign in
-
-
💡 Day 14 of My Java Learning Journey ☕ Today was all about connecting the dots between operators, loops, and functions — three pillars that form the base of every Java program. 🔍 Here’s what I explored today: Bitwise, Increment-Decrement, and Assignment Operators ⚙️ — getting comfortable with how each affects data at the memory level. The power of for loops, break, and continue — learning how to control program flow effectively. Practiced problems like Fibonacci series, checking prime numbers, and finding Nth terms in a sequence. Deep dive into Functions — from return types and parameter passing (pass by value) to real-world function usage. Revisited Variables and Scopes — truly understanding how lifetime and accessibility affect program behavior. 🧠 Each topic might look simple, but combining them gave me a better sense of how Java logic works as a system. Every loop, every variable, and every function connects like puzzle pieces. 🚀 Small progress every day builds strong foundations — and I’m slowly starting to think like the compiler! #Java #LearningInPublic #CodingJourney #100DaysOfCode #DevelopersCommunity #CodeNewbie #Programming #SoftwareDevelopment #NamasteJava #WomenWhoCode #TechJourney
To view or add a comment, sign in
-
🚀 Day 15 of My Java Full Stack Journey Stepping into the World of OOP — Where Code Feels Alive! 💡 Today, I entered one of the most important parts of Java — 👉 Object-Oriented Programming (OOP) Just like everything around us is an object — 🎓 Student, 🚗 Car, 💳 Bank Account — Java lets us model them through classes and objects. OOP makes code: ✔️ Easier to maintain ✔️ Reusable ✔️ More organized Here are the 4 pillars that make OOP powerful: 1️⃣ Encapsulation – protecting data using private fields with controlled access (getters/setters) 🔐 2️⃣ Inheritance – reusing and extending existing logic to avoid duplication ♻️ 3️⃣ Polymorphism – one method name performing different behaviors depending on the object 🎭 4️⃣ Abstraction – modeling only essential features while hiding unnecessary internal details (Achieved using abstract classes and interfaces.) 🚗 #Day15 #JavaDeveloper #FullStackJourney #OOPConcepts
To view or add a comment, sign in
-
🔥 “Today I dived deep into Java Streams — and wow, they simplify logic beautifully!” I explored how to handle multiple conditions using Streams — especially for problems like finding numbers “between two sets”, where I used methods like 👉 allMatch() 👉 filter() 👉 and reduce() from Stream. ➡️ 10 questions today I solved 1. Find the second-highest marks among students. 2. Find the top 3 students based on marks. 3. Find the names of students who belong to “CSE” and scored more than 80. 4. Display the student with the longest name. 5. Find total marks of all students using reduce(). 6. Convert the student list into a Map → key as name, value as marks. 7. Get list of students sorted by marks, then by name (multi-level sort). 8. Find students whose marks are between 50 and 80. 9. Get only unique branches from the student list. 10. Display the branch with the highest average marks. These help write clean, readable, and efficient code instead of nested loops. Here’s a small takeaway from today’s practice: “Streams make your logic more expressive and help you think functionally!” Excited to explore more real-time problems using Streams tomorrow! 💪 #Java #StreamAPI #AdvancedJava #CodingJourney #LearningEveryday #ProblemSolving
To view or add a comment, sign in
-
-
Java for Newbies #4 — Constructor: Building the Object Every object in Java is born through a constructor — yet most developers never really stop to ask what happens when we call new. In this session, I break down how a constructor actually builds the object — from memory allocation to initialization — and why it’s much more than just a “method without a return type.” If you’re learning Java seriously, this one is essential. -Watch the full lecture on YouTube https://lnkd.in/gSNRmess -The detailed blog is already published — no need to make notes, it’s all there. ♻ Repost to help others for learning. 👤 Follow me for more. Nitin Singh 👤 Subscribe here: nitinsingh717.substack.com ▶ Watch videos: youtube.com/@nitinsingh717 #javafornewbies #java #levelupyourprogrammingwithnitin
To view or add a comment, sign in
-
💻 LeetCode 50 Days Challenge — Day 8: Median of Two Sorted Arrays Day 8 of my #LeetCode50DaysChallenge ✅ Today’s problem was about finding the median of two sorted arrays — Median of Two Sorted Arrays ✨ 🧩 Problem: Given two sorted arrays nums1 and nums2, return the median of the two sorted arrays. The challenge was to merge them efficiently and then determine the middle value(s). 💡 Approach: I used Java 8 Streams to merge both arrays in a single line using IntStream.concat(), followed by Arrays.sort() to sort the combined array. Finally, I calculated the median by checking if the array length is even or odd. ⏱️ Time Complexity: O((m + n) log (m + n)) (due to sorting) 📊 Example: Input: nums1 = [1, 2], nums2 = [3, 4] Output: 2.5 Each day, I’m getting more comfortable with cleaner and modern Java techniques like Streams — small steps toward writing concise and efficient code 🚀 #LeetCode #CodingChallenge #Day8 #ProblemSolving #Java #SoftwareDevelopment #Consistency #50DaysOfCode
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