Day 8 of 100 | Java basics, but for real this time While revising Java, I realized I didn’t “learn” some things earlier — I just memorized them and hoped for the best A few myths I’m finally clearing up: ❌ “If the code compiles, it’s correct” ✔ Compilation checks syntax, not logic or edge cases. ❌ “More OOP keywords = better code” ✔ Turns out, readable code matters more than fancy words. ❌ “Stack and Heap is the whole story” ✔ Java said, there’s more happening behind the scenes. This time, I’m slowing down and actually understanding the fundamentals instead of racing through them. Laughing at my old mistakes, learning from them, and moving forward #Day8 #100DaysOfCode #Java #LearningInPublic #ProgrammingHumor #Consistency #Javafullstack #GenAI
Java Fundamentals: Debunking Common Myths
More Relevant Posts
-
Method Overloading in Java Method overloading allows multiple methods to share the same name but have different parameters (type, number, or order). ✅ Improves readability ✅ Supports compile-time polymorphism ✅ Makes code clean and intuitive Remember: Return type alone cannot overload a method. TAP Academy #Java #OOP #MethodOverloading #Coding #JavaDeveloper
To view or add a comment, sign in
-
-
📘 Today I Learned — Java static Keyword 🔹 What I Learned •static makes a variable or method belong to the class, not the object. Useful for memory efficiency and operations that don’t depend on object state. 🔹 Key Concepts •Static Variables Only one copy exists for the entire class Shared by all objects •Static Methods Can be called without creating an object Can access only static data Ideal for utility functions •Static Block Runs once when the class loads Used to initialize static variables Executes before main() •Static Inner Class Only inner classes can be static 🔹 Why It’s Important •Helps optimize memory •Supports efficient utility operations •Useful for one-time initialization •Reduces unnecessary object creation #Java #OOPs #StaticKeyword #JavaProgramming #FullStackDeveloper #LearningJourney #TapAcademy #CodingBasics
To view or add a comment, sign in
-
-
In today’s Core Java session, we explored how Java supports compile-time polymorphism by allowing multiple methods with the same name but different parameter lists. What seemed confusing at first became crystal clear through real-time coding and practical implementation under the guidance of Sharath R Sir at TAP Academy 💡 What I learned today: ⚙️ What compile-time polymorphism really means 🧩 Changing number, type & order of parameters 📌 How the compiler decides which method to execute 🚀 Writing cleaner, reusable, and structured code Instead of creating multiple method names, overloading helps maintain flexibility while keeping the code clean and readable. Every concept is adding one more strong brick to my Core Java & OOP foundation.🔥 #Java #CoreJava #OOP #MethodOverloading #Polymorphism #FullStackDeveloper #LearningJourney #TapAcademy
To view or add a comment, sign in
-
-
Day 11 of 100 days 💻 Today I learned about Method Overriding in Java. Method overriding happens when a child class provides its own implementation of a method that is already defined in the parent class. ✔ Same method name ✔ Same parameters ✔ Same return type ✔ Happens in inheritance It helps achieve Runtime Polymorphism — meaning the method that gets executed is decided at runtime. Also learned: 🔹 @Override annotation makes code safer 🔹 Access modifier cannot be more restrictive than the parent method 🔹 final and static methods cannot be overridden OOP concepts are slowly connecting together now — inheritance + polymorphism makes much more sense #Java #JavaLearning #OOP #MethodOverriding #Polymorphism #100DaysOfCode #ProgrammingJourney #SoftwareDevelopment #CodingLife
To view or add a comment, sign in
-
-
Day 10 of 100 days |💻 Today I learned about Inheritance — how one class can inherit properties from another. 👨👦 Parent Class (Super Class) The class that gives properties. 👶 Child Class (Sub Class) The class that inherits and can add its own features. I also understood: 🔹 this() → refers to the current class 🔹 super() → refers to the parent class And something interesting — Java does NOT support multiple inheritance with classes Because it can cause ambiguity (Diamond Problem) Also explored: ✔ Single-level inheritance ✔ Multi-level inheritance It’s cool how Java lets you reuse code instead of rewriting everything again and again. OOP is slowly starting to make sense #Java #JavaLearning #OOP #Inheritance #ProgrammingJourney #100DaysOfCode #CodingLife #SoftwareDevelopment #TechLearning
To view or add a comment, sign in
-
-
Java isn’t the same language it was 3 years ago. Virtual Threads. Pattern Matching. Records. ZGC. The developers still writing platform threads and boilerplate POJOs are quietly falling behind. The shift from Java 21 → 25 isn’t just a version bump — it’s a mindset change. Clean code isn’t optional. 95% test coverage isn’t perfectionism. Dependency injection isn’t overhead. These are the baseline now. The engineers winning in 2026 aren’t the ones who know the most syntax. They’re the ones who treat engineering as a discipline — not just a job. What’s the weakest link in your stack today? #Java #SoftwareEngineering #CleanCode #SpringBoot #VirtualThreads
To view or add a comment, sign in
-
How Java Generics Improve Code Reusability While learning Java recently, I came across an interesting concept - Generics. Generics allow developers to write classes, methods, and interfaces that can work with different data types without rewriting the code. Instead of creating separate methods for integers, strings, or other objects, generics allow us to write one flexible and reusable method. For example: Without generics: A method for integers Another method for strings Another for doubles With generics: One method that works with any data type This improves: • Code reusability • Type safety • Cleaner and more maintainable code Small concepts like this show how powerful Java can be when writing scalable programs. Still exploring and learning more every day 🚀 #Java #Programming #SoftwareDevelopment #LearningJourney
To view or add a comment, sign in
-
-
🚀 𝗠𝗼𝘀𝘁 𝗯𝗲𝗴𝗶𝗻𝗻𝗲𝗿𝘀 𝘁𝗵𝗶𝗻𝗸 𝗝𝗮𝘃𝗮 𝗿𝘂𝗻𝘀 𝗱𝗶𝗿𝗲𝗰𝘁𝗹𝘆 𝗼𝗻 𝘁𝗵𝗲 𝗰𝗼𝗺𝗽𝘂𝘁𝗲𝗿. But actually, the flow is different. 👇 📄 𝐉𝐚𝐯𝐚 𝐜𝐨𝐝𝐞 (.𝐣𝐚𝐯𝐚) → ⚙️ 𝐂𝐨𝐦𝐩𝐢𝐥𝐞𝐝 𝐛𝐲 𝐉𝐚𝐯𝐚𝐜 → 💾 𝐂𝐨𝐧𝐯𝐞𝐫𝐭𝐞𝐝 𝐭𝐨 𝐁𝐲𝐭𝐞𝐜𝐨𝐝𝐞 (.𝐜𝐥𝐚𝐬𝐬) → 🖥️ 𝐑𝐮𝐧𝐬 𝐨𝐧 𝐉𝐕𝐌 🌍 Since JVM can run on any operating system, the same Java program works everywhere. ✨ That’s why Java is called: “Write Once, Run Anywhere.” 💡 Understand this flow once, and concepts like JDK, JRE, JVM, and Bytecode start making perfect sense. Harsh Vardhan Dubey #Java #Programming #Coding #Developers #SoftwareDevelopment #JavaDeveloper #LearnToCode #CodingLife #TechEducation #ComputerScience #SoftwareEngineer #DeveloperCommunity #TechLearning #CodeNewbie
To view or add a comment, sign in
-
-
🚀 Day 18 – Understanding Core Java OOP Foundations Today’s focus was on strengthening my understanding of some fundamental Object-Oriented Programming concepts in Java that are widely used in real-world applications. 📚 Concepts Learned ✔ this keyword – Understanding how it refers to the current object and helps differentiate instance variables from parameters. ✔ static keyword – Learning how class-level variables and methods are shared across all objects. ✔ Constructors – Using constructors to initialize objects automatically during object creation. ✔ Code Blocks – Understanding how Java executes initialization blocks. 💻 To reinforce these concepts, I implemented Java programs demonstrating constructors, instance variables, and static variables, helping me understand how objects are created and how memory is managed in Java. Every day I aim to focus on understanding concepts deeply rather than just completing topics, because strong fundamentals are the key to becoming a better developer. #100DaysOfCode #Java #CoreJava #OOP #ObjectOrientedProgramming #JavaDeveloper #SoftwareDevelopment #Programming #CodingJourney #DeveloperLife #BackendDevelopmen #TechLearning
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