🚀 Starting My Java Journey I’ve recently started learning Java and diving into Data Structures & Algorithms. So far, I’ve learned: • Basics of Java (variables, loops, conditions) • Arrays and how to work with them • Solving beginner problems on LeetCode I’m really enjoying the process of solving problems and improving my thinking skills. Looking forward to building projects and sharing my progress here! If you have any tips or resources, feel free to share 💻 #Java #DSA #CodingJourney #LearningInPublic
Java Beginner Learns Data Structures & Algorithms
More Relevant Posts
-
🚀 Back with another update from my Java + DSA journey! Staying consistent and focusing on building strong fundamentals 💪 Today I explored some core Java concepts: • Variable Shadowing Local variable hides class variable depending on scope • Static vs Non-Static Static → belongs to class (no object needed) Non-static → belongs to object (object required) • Variable Arguments (Varargs) Allows flexible number of inputs Fixed parameters come first, varargs must be last • Method Overloading Same method name, different parameters Java decides based on number/type of arguments 💡 Key takeaway: Understanding scope and function behavior makes coding much clearer. Small concepts, strong foundation 🔥 Let’s keep learning 🚀 #Day2 #Java #DSA #LearningInPublic #Consistency #CodingJourney
To view or add a comment, sign in
-
-
🚀 Mastering Java Basics Understanding the fundamentals is the first step to becoming a strong programmer. This visual highlights key Java concepts every beginner should know: 🔹 Data Types – Learn about integer, floating-point, character, and boolean types along with their sizes and ranges. 🔹 Type Casting – Understand implicit and explicit conversions between data types. 🔹 Character & Boolean – Explore ASCII vs Unicode and how Java handles characters and logical values. 🔹 Increment & Decrement Operators – Know the difference between pre and post operations. 💡 Building a solid foundation in these basics makes advanced Java concepts much easier to grasp. #Java #Programming #Coding #JavaBasics #LearningJourney #Developer #TechSkills #tapacademy
To view or add a comment, sign in
-
-
Day 33 of Learning Java Today I learned about Return Types in Java methods, and it finally started to make sense how methods give results back! Here’s what I understood: 🔹 Every method has a return type 🔹 It tells what kind of value the method will give back 🔹 There are mainly two types: Primitive Data Types (PDT) : • byte • short • int • long • char • String • float • double • boolean Reference Data Types (RDT) : • Arrays • Classes • Interfaces • Annotations • Enums 🔹 A method can also return an object 🔹 The "return" keyword is used to send the value back 🔹 If nothing is returned, we use "void" Thanks to my mentor Ashim Prem Mahto for the clear explanations and for always clearing my doubts. #Java #LearningJava #ProgrammingJourney #CodingLife #JavaBasics #SoftwareDevelopment #DeveloperJourney #TechLearning #StudentLife
To view or add a comment, sign in
-
-
Continuing my Java learning journey, I’ve recently explored some advanced core concepts that further strengthen object-oriented design and code flexibility. Here are the topics I covered: Object Class and its fundamental methods like toString(), equals(), and hashCode() Interfaces and how they enable abstraction and multiple inheritance in Java Functional Interfaces and their role in supporting lambda expressions and cleaner code Nested Classes and how they help in logically grouping classes and improving encapsulation These concepts helped me understand how Java provides powerful tools to write more modular, reusable, and maintainable code. Step by step, building a deeper understanding of Java and preparing to apply these concepts in real-world applications. #Java #OOP #Programming #LearningJourney #SoftwareDevelopment #CDAC
To view or add a comment, sign in
-
-
🚀 Day 44 of My Learning Journey Today I explored some important concepts in Java related to memory management and threading. Here’s what I learned: 🔹 Finalize Method Used before an object is garbage collected. Helps in performing cleanup activities like closing resources. However, it's not reliable and is now considered outdated in modern Java practices. 🔹 Mark and Sweep Algorithm A key technique used in Garbage Collection. Mark Phase: Identifies objects that are still in use. Sweep Phase: Removes unused objects from memory. Improves memory efficiency and prevents memory leaks. 🔹 Garbage Collector Automatically manages memory by removing unused objects. Helps developers focus more on logic rather than memory handling. Works in the background for better performance. 🔹 Daemon Thread A low-priority thread that runs in the background. Supports main threads (e.g., garbage collection). Automatically stops when all user threads finish execution. 💡 Key Takeaway: Understanding how memory is managed and how background threads work is crucial for writing efficient and optimized Java programs. #Java #GarbageCollection #Multithreading #LearningJourney #Programming #Developer
To view or add a comment, sign in
-
-
Continuing my Java learning journey, I’ve recently explored Streams in Java, which bring a modern and functional approach to data processing. Here are the key concepts I covered: Introduction to Streams and how they enable declarative data processing Creating streams from collections, arrays, and other sources Intermediate operations like filter(), map(), and sorted() Terminal operations such as forEach(), collect(), reduce(), and count() Understanding lazy evaluation and pipeline processing Using streams for cleaner, more concise, and efficient code Working with streams has helped me write more readable and expressive code while handling complex data transformations with ease. Step by step, building towards writing optimized and modern Java applications. #Java #Streams #FunctionalProgramming #Programming #LearningJourney #SoftwareDevelopment #CDAC
To view or add a comment, sign in
-
-
🚀 Mastering Java Through LeetCode 🧠 Day 32 Today I solved an Easy-level Tree problem that strengthened my understanding of Recursion + Depth Calculation — a fundamental concept for tree-based problems 📌 LeetCode Problem Solved: Q.104. Maximum Depth of Binary Tree 💭 Problem Summary: Given a binary tree, the task is to find the maximum depth — i.e., the number of nodes along the longest path from root to leaf. 🧠 Approach (Optimal): Instead of iterating level by level, I used a clean recursive approach: ✔️ If node is null → return 0 ✔️ Recursively calculate left subtree depth ✔️ Recursively calculate right subtree depth ✔️ Return 1 + max(left, right) ⚡ Key Learning: Recursion makes tree problems much simpler when you think in terms of “what should each function return for a node?” Complexity: Time: O(n) Space: O(h) Takeaway: Tree problems become easier once you master recursion and start recognizing patterns. Consistency is the key — showing up every day #Day32 #LeetCode #Java #DSA #CodingJourney #Recursion #BinaryTree #100DaysOfCode #SoftwareEngineering
To view or add a comment, sign in
-
-
🔥 Title Solved "Library Fine" Problem Using Java 📚💻 📄 Description I recently worked on the Library Fine problem, a great exercise to strengthen conditional logic and real-world problem-solving. 🔍 Problem Summary: Calculate the fine for returning a library book late based on: Days late Months late Years late 💡 Approach: Compare return date with due date Apply fine rules based on hierarchy (year → month → day) Ensure minimum penalty logic is followed ✨ Key Learning: Breaking down conditions step-by-step helps avoid logical errors and improves clarity in coding. ⚡ Implemented in Java with simple and efficient conditional checks. 🏷️ Tags #Java #DSA #Coding #ProblemSolving #HackerRank
To view or add a comment, sign in
-
-
🚀 Day 8 – Understanding Functions and Parameters in Java Today, I learned about functions (methods) in Java, which are very important for writing clean and reusable code. A function is simply a block of code that performs a specific task and can be used multiple times in a program. This helps to reduce repetition and makes the code easier to understand. I started by learning the basic syntax of a function, where we define a return type, function name, and body. Then I moved to functions with parameters, where values are passed into the function to perform operations. This made the concept more practical. Next, I learned about types of parameters: Formal Parameters: These are variables defined in the function. Actual Parameters: These are the values passed when calling the function. 👉 Understanding this difference made it clear how data flows inside a program. Overall, today’s learning helped me understand how to write better and more structured code using functions. 💪 I will keep practicing daily and improve step by step in my coding journey. #Java #Coding #DSA #Learning #Consistency
To view or add a comment, sign in
-
-
📘 Day 43 of My Learning Journey Today, I learned about the equals() method from the java.lang package in Java. 🔹 The equals() method is used to compare two objects for equality. 🔹 By default, it checks whether both objects refer to the same memory location. 💡 But the real power comes when we override equals() to compare object values instead of references. 👉 Example: Two objects with the same data (like two students with the same ID) can be treated as equal using equals(). 🔸 This concept is very important when working with collections like lists, sets, and maps. 🚀 Understanding equals() helps in writing accurate comparisons and avoiding logical errors in Java programs. Step by step, improving my Java skills and writing better code! 💻 #Java #LearningJourney #Day43 #OOP #Programming #TechSkills
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