Day 56/100: Today I revised OOP fundamentals in LLD. - Classes and Objects : - Enums : - Interfaces - Encapsulation - Abstraction - Inheritance - Polymorphism When we are designing any system, these are the important concepts required during LLD. Although Golang is my primary langauage, these are the fundamentals need to be clear. Go is not a traditional object-oriented language like Java or C++ because it lacks classes and hierarchies However, it supports an object-oriented style of programming through struct, methods and interfaces. Time to do it again tomorrow :) #systemdesign #100daysofcode #softwareengineering #consistency
Revisiting OOP Fundamentals in LLD
More Relevant Posts
-
Strings are one of the most fundamental yet powerful components in Java, and understanding how they actually work can make a significant difference in writing efficient, reliable, and scalable applications. This guide breaks down key concepts such as how Strings are stored in memory (String Constant Pool vs Heap), why immutability is a core design decision, and how different comparison methods like ==, .equals(), .equalsIgnoreCase(), and .compareTo() behave in real scenarios. These are not just theoretical ideas they directly impact performance, memory optimization, and correctness of code. It also highlights the practical side of working with Strings, including commonly used methods and when to use mutable alternatives like StringBuilder or StringBuffer for better performance in specific use cases. #Java #SoftwareDevelopment #Programming #Coding #JavaDeveloper #TechSkills #BackendDevelopment #ComputerScience #TapAcademy
To view or add a comment, sign in
-
-
Day 10: Bringing OOP Together Over the last 10 days, this series focused on one goal: making Object-Oriented Programming in Java feel simpler, clearer, and more connected. From classes and objects to encapsulation, inheritance, overriding, polymorphism, abstraction, and interfaces, each concept was building toward something practical. Today, that journey comes together in one small modular Java project. This screen-recorded walkthrough shows how those concepts connect in code, step by step. GitHub Repo: https://lnkd.in/dJbr6gK6 10 days completed. Now the real building begins. #Java #OOP #Programming #SoftwareEngineering #ComputerScience #koofkee
To view or add a comment, sign in
-
📚 New article just published on SYUTHD! 🔖 Beyond Async: Turbocharging Java Microservices with Virtual Threads and Project Panama in Java 25 LTS 🏷️ Category: Java Programming 📖 Full article → https://lnkd.in/gQNk6Y89 👉 Follow our page for more tech tutorials: https://lnkd.in/gsJDptPM 💬 Telegram: https://t.me/nisethtechno 👍 Facebook: https://lnkd.in/gsKv3Dyn #JavaProgramming #Tech #Tutorial #Programming #TechBlog #2026
To view or add a comment, sign in
-
🚀 Operators in Java — and this is where coding actually starts feeling real 👇 Instead of just theory, I tried solving small problems using operators. 💡 Example 1: Even or Odd int num = 7; System.out.println(num % 2 == 0 ? "Even" : "Odd"); 💡 Example 2: Find largest number int a = 10, b = 5; int max = (a > b) ? a : b; System.out.println("Max: " + max); 💡 Example 3: Using increment int count = 1; count++; System.out.println(count); // 2 👉 What I learned today: Arithmetic → for calculations Relational → for comparisons Logical → for combining conditions Unary → for quick updates (++/--) Ternary → for writing clean if-else Understanding operators made me realize how logic is built step by step in programming. #Java #CodingJourney #LearnJava #FullStackDeveloper
To view or add a comment, sign in
-
100 Days of Coding Challenge – Day 35 📌 Problem: Longest Repeating Character Replacement 💻 Language: Java 🔍 Platform: LeetCode Approach Used: Sliding Window + Frequency Count 1. Use a sliding window with two pointers (left and right) 2. Maintain a frequency array for characters 3. Track the count of the most frequent character in the window 4. If (window size - max frequency) > k, shrink the window 5. Keep updating the maximum window length 👉 Key Insight: We can replace at most k characters, so window is valid if remaining characters ≤ k Time Complexity: O(n) Space Complexity: O(1) 🔗 Problem Link: https://lnkd.in/gD4WeQJU 🔗 Code Link: https://lnkd.in/gEyEXyXB #100DaysOfCode #Day34 #Java #DSA #LeetCode #ProblemSolving #CodingJourney #SlidingWindow #Strings
To view or add a comment, sign in
-
-
🚀 Day 48/100:-Odd String Difference Not every problem is about writing code — some are about seeing patterns clearly. 🧠 Today, I worked on the "Odd String Difference" problem using Java. 🔍 Instead of comparing strings directly, I learned to: • Convert each string into a difference array • Identify patterns between characters • Detect the one string that breaks the pattern 💡 Key takeaway: Breaking a problem into smaller transformations makes complex logic much easier to handle. ⚡ Result: Efficient solution with strong runtime and memory performance ✅ Step by step, improving not just coding — but the way I think. #Day48 #100DaysOfCode #DSA #Java #ProblemSolving #LeetCode #Consistency #LearningInPublic
To view or add a comment, sign in
-
-
100 Days of Coding Challenge – Day 37 📌 Problem: Longest Repeating Character Replacement 💻 Language: Java 🔍 Platform: LeetCode Approach Used: Sliding Window + Frequency Count 1. Use two pointers (left, right) to maintain a window 2. Keep a frequency array to count characters in the window 3. Track the count of the most frequent character 4. If (window size - max frequency) > k, shrink the window 5. Update the maximum valid window length 👉 Key Insight: Replace at most k characters to make all characters in the window the same Time Complexity: O(n) Space Complexity: O(1) 🔗 Problem Link: https://lnkd.in/gD4WeQJU 🔗 Code Link: https://lnkd.in/g2qqRmfw #100DaysOfCode #Day37 #Java #DSA #LeetCode #ProblemSolving #CodingJourney #SlidingWindow #Strings
To view or add a comment, sign in
-
-
Day 6 - Externalization Vs Serialization in Java !! As we know, the Serializable interface in Java allows us to perform serialization, effectively turning an object into a byte stream for storage or transmission. What is externalization ? 💫 Externalization is a customized serialization mechanism. Unlike the Serializable marker interface, it allows developers to explicitly define the logic for saving and restoring an object's data through marshalling and unmarshalling. #java #backend #coding #developer #learning #springboot
To view or add a comment, sign in
-
-
🚗 Understanding Composition in Java (Strong Relationship) Today I learned an important OOP concept — Composition. 📌 In this example: A Car class contains an Engine object The engine is created inside the car → showing a strong relationship 👉 This means: If the Car does not exist, Engine also cannot exist independently 💡 Key Concept: Composition represents a "has-a" relationship where one object is dependent on another. 🔹 Flow: Car object is created Engine object is automatically created inside Car Calling startCar() → Engine starts first Then Car starts 🖥️ Output: Engine started Car started 🔥 This concept is very important for writing clean and modular code in Java. #Java #OOP #Composition #SDET #AutomationTesting #CodingJourney
To view or add a comment, sign in
-
-
Reversed String in Java | Easy Logic + Coding 💡 Strong fundamentals are essential to become a confident developer. This example shows how String Reversal works using simple logic: • Start with a given string • Traverse the string from last character to first • Use loop or built-in methods • Form the reversed string Practicing these types of problems improves logical thinking and strengthens coding basics. 📊 Example Input : LIVE Output : EVIL 🎥 I’ve also created a short video explaining this concept with code: YouTube link : https://lnkd.in/eKH2JJwa #Java #Programming #ProblemSolving #Coding #SoftwareDevelopment #Learning #CSE #Developers #LogicBuilding #String
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