🚀 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
Exploring String Concepts in Java: Week 5 of My Learning Journey
More Relevant Posts
-
🚀 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
To view or add a comment, sign in
-
🚀 #Day19 of My Coding Journey: Mastering String Handling in Java! 📢 Strings are the backbone of data in programming, and today I dove deep into String Handling in Java. It's been incredibly valuable to understand the mechanics of manipulating data, from simple text to complex messages. 📝 Here's what I learned and practiced: 🥇Comparison Methods: Explored equals(), equalsIgnoreCase(), and compareTo() to compare strings directly and by ignoring case. 🥈Case Conversion: Used toUpperCase() and toLowerCase() to standardize text formats. ♟️Length & Character Operations: Got hands-on with length() to find the size and charAt() to access specific characters. ⏳Search Operations: Practiced using indexOf() and lastIndexOf() to pinpoint the location of characters or words. 🧩Start & End Check: Learned to use startsWith() and endsWith() for specific text verification. 🎯Modification & Cleanup: Utilized replace(), trim(), split(), and concat() for cleaning, modifying, and combining strings. 📌A key takeaway was truly understanding why strings in Java are immutable—once created, their value can't be changed. This solidifies my understanding of how Java manages memory and data integrity. 🪄This is a crucial step toward building strong fundamentals and processing real-world text data efficiently! A special thanks to my mentor Anand Kumar Buddarapu and Codegnan for their continuous guidance! Saketh Kallepu &Uppugundla Sairam #Java #StringHandling #Programming #CodingJourney #Day19 #TechSkills
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 65 of my Java Full Stack Journey – Collection Framework Introduction Today, I explored the Collection Framework in Java. The main purpose of this framework is to handle and manipulate groups of objects efficiently. It provides a standard architecture to store, retrieve, and process data. Why Collections? Earlier, we relied on arrays, but they come with limitations like fixed size and lack of built-in utility methods. Collections solve these by offering dynamic size, flexibility, and ready-to-use algorithms. Key Interfaces I learned: List – Maintains insertion order and allows duplicates. (e.g., ArrayList, LinkedList) Set – No duplicate elements. (e.g., HashSet, TreeSet) Queue – Follows FIFO ordering. (e.g., PriorityQueue) Map – Stores data in key-value pairs. (e.g., HashMap, TreeMap) The Collection Framework makes data handling more reliable and efficient. Excited to dive deeper into each collection type in the coming days. 10000 Coders Gurugubelli Vijaya Kumar #Java #FullStack #LearningJourney #Collections #Programming #Day65 #CodeWithBrahmaiah
To view or add a comment, sign in
-
-
Method overriding : Method overriding in Java means that a subclass provides its own version of a method that is already defined in its superclass, keeping the method name, parameters, and return type the same. Example : class Animal { void makeSound() { System.out.println("Animal makes a sound."); } } class Dog extends Animal { @Override void makeSound() { System.out.println("Dog barks."); } } If you create a Dog object and call makeSound(), it prints "Dog barks," because the Dog class overrides the inherited method. Why Is Overriding Used? It enables child classes to provide specific implementations for inherited methods. It supports run-time polymorphism, allowing Java to decide which method to use depending on the object's actual type, not just its reference. It makes code more adaptable and reusable because parent class code does not need to change for new behaviors. In summary, method overriding is about customizing inherited behavior with the same method signature so subclass objects can act differently while fitting into the overall code structure. #Java #JavaProgramming #JavaDeveloper #Programming #Coding #SoftwareDevelopment #ObjectOrientedProgramming #OOP #TechLearning #Developer #CodeNewbie #LearnToCode #SoftwareEngineering #TechEducation #100DaysOfCode
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
-
-
🚀 Ever wondered how Java handles massive amounts of data so efficiently? It’s all thanks to the Java Collections Framework — one of the most powerful and versatile parts of the language! In this document, I’ve compiled everything you need to master Collections: ✅ Key differences between Arrays and Collections ✅ Clear hierarchy of Collection, List, Queue, Set, and Map ✅ Practical examples — ArrayList, LinkedList, Vector, Stack, HashSet, TreeSet, HashMap, TreeMap, and more ✅ Smart comparisons — ArrayList vs LinkedList, Comparable vs Comparator ✅ Hands-on Java exercises for real learning and interview prep Whether you're starting your Java journey or sharpening your coding edge, this guide gives you both clarity and confidence to handle data structures like a pro. 💬 Curious to know — which Collection do you use most in your projects? ArrayList, HashMap, or TreeSet? Follow for more practical Java insights! #Java #Collections #Coding #Programming #DataStructures #Learning #InterviewPreparation #SoftwareDevelopment #JavaDeveloper #CodingCommunity
To view or add a comment, sign in
-
📅 Days 57–64 of My Coding Journey — Diving Deep into Java Exception Handling, Threads & Real-World Projects 💻 Over the past week, I explored some of the most practical and powerful concepts in Java that take coding from theory to real-world application. 💡 Topics I covered: ✅ Exception Handling – mastering try-catch-finally blocks, and creating Custom Exceptions for cleaner error control. ✅ Multithreading – understanding how threads work, how to start and manage them efficiently. ✅ StringBuilder & StringBuffer – learning the difference between mutable classes and thread safety in string manipulation. ✅ Explored important String methods to handle text effectively. ✅ Built a Patient Management System 🏥 — implementing OOP principles, exceptions, and thread usage in one project. #Day57 #Day58 #Day59 #Day60 #Day61 #Day62 #Day63 #Day64 #Java #ExceptionHandling #Threads #StringBuilder #StringBuffer #OOPS #CodingJourney #SoftwareEngineering #100DaysOfCode #LearningInPublic #KunalKushwaha #ProblemSolving
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 53 #180daysofconsistency Deep Dive into Exception Handling, Java & Python ⚙️ Before exceptions, developers used return codes, global flags, and manual clean-ups, which often led to messy code, missed errors, and resource leaks. In this part, I explored how exception handling revolutionized modern programming by making our code: ✅ Cleaner — separates normal logic from error logic ✅ Safer — ensures automatic clean-up using try-with-resources (Java) and with (Python) ✅ Smarter — propagates context to where recovery actually makes sense 🔹 Java Focus: try, catch, finally, throws, and best practices like multi-catch & specific exception handling. 🔹 Python Focus: try, except, else, finally, raise, and Pythonic EAFP (“Easier to Ask Forgiveness than Permission”). 🔹 Key Lesson: Catch only what you can fix; let it crash safely when you can’t. 📘 Full guide PDF: Exception Handling in Java & Python , A Deep, Engineer-Friendly Guide Thank you to algorithms365 and Under the Guidance of Mahesh Arali Sir 🙏🏻 🧑💻 #Java #Python #DSA #ExceptionHandling #CleanCode #SoftwareEngineering #LearningJourney
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