🚀 Exploring Method Reference in Java Learned how method references provide a cleaner and more readable way to refer to methods using :: instead of lambda expressions. Used different types like static method reference, instance method reference, and constructor reference. 💻 #Java #Java8 #MethodReference #FunctionalProgramming #CodingJourney
Java Method Reference Explained
More Relevant Posts
-
Day 50 – Understanding Java Execution & ClassLoader ☕ Today I revised how a Java program is executed and the role of the ClassLoader in JVM. Topics covered: 🔹 How Java code is compiled into bytecode (.class files) 🔹 How JVM executes the bytecode 🔹 Role of the ClassLoader in loading .class files 🔹 How class files are brought into the JVM memory (code segment) Understanding how the ClassLoader loads classes and how JVM processes them gave me deeper insight into Java’s internal working. This helped me move beyond just writing code to understanding how Java runs behind the scenes 🚀 #Day50 #JavaJourney #JVM #ClassLoader #CoreJava #Consistency
To view or add a comment, sign in
-
Starting a 100-day Java series, and this is day 1 ☕ Today, we are covering Java variables - from syntax to scope to memory, all in one place. Declaration, data types, the 3 types of variables, casting, the final keyword and the mistakes most beginners make without realising. 10 slides covering everything. The last slide has a full cheat sheet worth saving.🔖 For more such tech content, follow @herbrewcode on Instagram too. #Java #Day1 #100DaysOfCode #LearnToCode #CodingJourney #HerBrewCode
To view or add a comment, sign in
-
🚀 Exploring Multithreading in Java Created a simple program using Thread + Lambda (Runnable) to print numbers with a delay. 🔹 Learned how threads work 🔹 Used lambda expressions for cleaner code 🔹 Implemented Thread.sleep() for controlled execution Small steps every day towards mastering Java and backend development 💻🔥 #Java #Multithreading #CodingJourney #DeveloperLife #LearningByDoing
To view or add a comment, sign in
-
-
💻 Day 25– Exception Handling in Java Today I learned about Exception Handling and honestly… this is something every program needs. Like when errors happen (divide by zero, wrong input, etc.) instead of crashing → we can handle it properly. Things I understood: 👉 try – risky code 👉 catch – handles the error 👉 finally – always runs 💡 Main thing: Errors are normal… handling them properly is what matters. Slowly getting into writing clean & reliable code 😌 #Java #CodingJourney #LearningInPublic #Day25 #100DaysOfJava
To view or add a comment, sign in
-
-
Leetcode Practice - 12. Integer to Roman The program is solved using JAVA We store values in descending order 👉 Then: Loop through values If number ≥ value → append symbol Subtract value Repeat #LeetCode #Java #StringHandling #CodingPractice #ProblemSolving #DSA #DeveloperJourney #TechLearning
To view or add a comment, sign in
-
-
💻 Java Practice Update | Largest Number in Array 📌 Problem: Find the largest number in an array 🧠 Approach: Assume first element as max Traverse array Compare each element Update max if larger value found ⚙️ Key Learning: Strengthens logic building and is useful in automation testing scenarios like validating UI tables and API responses. #Java #Arrays #CodingPractice #SDET #AutomationTesting
To view or add a comment, sign in
-
-
🚀 Day 58/180 | #180DaysOfCode 📍 LeetCode | 💻 Java Solved: 278. First Bad Version Used binary search on answer space to efficiently find the first bad version while minimizing API calls. ⏱️ Time Complexity: O(log n) 📦 Space Complexity: O(1) Strengthening understanding of binary search optimization and decision-based problems. 💪 Consistency continues 🚀 #DSA #LeetCode #Java #CodingJourney #Consistency
To view or add a comment, sign in
-
-
🔐 Mastering inheritance starts with mastering access modifiers! Understanding how public, protected, default, and private work across packages and subclasses is key to writing secure, maintainable Java code. #TapAcademy #Java #Inheritance #AccessModifiers #Encapsulation #OOP #ProgrammingTips #CleanCode
To view or add a comment, sign in
-
-
💻 Java Practice Update | Largest Number in Array 📌 Problem: Find the largest number in an array 🧠 Approach: Assume first element as max Traverse array Compare each element Update max if larger value found ⚙️ Key Learning: Strengthens logic building and is useful in automation testing scenarios like validating UI tables and API responses. #Java #Arrays #CodingPractice #SDET #AutomationTesting interviewchat codeonedigest cod
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