💻 Day 7 of #100DaysOfJava Today was all about arrays getting more interesting. What started as simple 2D arrays quickly turned into exploring jagged arrays — where every row can have a different size. It was fun seeing how Java handles flexible data structures. The most interesting part today? Final arrays. Even though the array reference cannot change, the values inside it still can. Small concept, but it really shows how Java handles memory and references. Every day I code, I realize programming is less about memorizing syntax and more about understanding how things work under the hood. On to Day 8 🚀 #100DaysOfJava #100DaysOfCode #Java #JavaProgramming #CodingJourney #LearningInPublic #DeveloperJourney #ProgrammingLife #CodeNewbie #CodeDaily #CodingPractice #TechJourney #FutureDeveloper #SoftwareDeveloper #DevelopersOfLinkedIn #TechCommunity #ProgrammingStudent #ComputerScience #WomenInTech #BuildInPublic
More Relevant Posts
-
Struggling with Core Java concepts? Reading theory alone isn’t enough. One approach that really works is to break concepts with small experiments. Try creating 1000 threads and observe behavior. Use "parallelStream()" and compare performance. Force memory usage and watch how garbage collection reacts. Compare "ArrayList" vs "LinkedList", or even use a bad "hashCode()" to see collisions in action. When you actually see things break, concepts stop being abstract and start making sense. Learning by experimentation builds real understanding—not just theoretical knowledge. #Java #CoreJava #JavaDevelopers #Debugging #SoftwareEngineering #LearnByDoing #BackendDevelopment
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
-
-
Built a Java program to classify user input 💻 Used Scanner for taking input from user. Extracted character using charAt(0). Checked if input is alphabet, digit, or special character. Handled both uppercase and lowercase cases. Applied if-else logic effectively. Improved understanding of Java fundamentals. Practiced clean and structured coding. Strengthening logic building step by step 🚀 Consistency leads to better problem-solving skills 🔥 #Java #JavaProgramming #CodingJourney #LearnToCode #StudentDeveloper #ProgrammingBasics #LogicBuilding #TechSkills #VSCode #100DaysOfCode
To view or add a comment, sign in
-
-
Day 49-What I Learned In a Day (JAVA) Today, I focused on understanding the execution flow of static elements in Java. 🔹 Learned about: • Static variables and how they are shared across objects • Static methods and how they can be accessed without object creation • Static initializer (single-line) • Static initializer (multi-line) This helped me clearly understand how Java handles memory and execution at the class level before objects are created. Building strong fundamentals step by step! #Java #Programming #LearningJourney #OOP #TechSkills
To view or add a comment, sign in
-
-
Refactoring for Clarity: Array Manipulation in Java 👨💻 I’ve just finished a practical exercise on array manipulation. While the goal was simple (summing two arrays), I used it as an opportunity to apply improvements. - Method decomposition: Separated concerns into specialized methods (Read, Calculate, Display). - Input validation: Built a robust loop to handle invalid inputs and prevent crashes. - Data Formatting: Used printf to create a clear, readable results table. Small improvements in logic and organization make a huge difference in software quality. #Java #Algorithms #CleanCode #Backend #LearningToCode
To view or add a comment, sign in
-
-
Day 46 - String Compression Used a two pointer approach to group consecutive characters and write compressed results directly into the input array. If a character repeats, its count is converted to digits and appended sequentially. Time Complexity: O(n) #Day46 #LeetCode #Java #Algorithms #TwoPointers #DSA
To view or add a comment, sign in
-
-
problem #15 🙂 , 3 sum problem from #leetcode, unlike 2 sum problem, here we have to use 3 pointers to reach the target, this was little bit complicated than the 2 sum problem, of course we must avoid the duplicate numbers. TIME COMPLEXITY - o(n^2) #problemsolving #datastructuesandalgorithms #arrays #hardproblem #computerscience #3sumproblem #java #geeksforgeeks #leetcode #softwaredevelopment
To view or add a comment, sign in
-
-
This looks simple… but confused me at first 😅 String str = "Java"; str.concat(" Developer"); System.out.println(str); 👉 Output: Java ❌ (not "Java Developer") Why? Because String is immutable in Java. 👉 concat() creates a new object 👉 original string remains unchanged ✅ Correct way: str = str.concat(" Developer"); 💡 Small concept, but very important in real projects. Did you know this? 👇 #Java #CoreJava #Programming #BackendDeveloper #Coding #TechLearning
To view or add a comment, sign in
-
🚀 Day 2/30 — LeetCode Challenge Solved the Reverse Integer problem on using Java. At first glance, reversing digits looks straightforward. But the real challenge is handling integer overflow within 32-bit limits — that’s where most implementations fail. ✅ Key takeaway: Correctness isn’t just about logic — it’s about respecting constraints and edge cases. Continuing to focus on writing solutions that are not just working, but reliable. #LeetCode #Java #ProblemSolving #DataStructures #Algorithms #Consistency
To view or add a comment, sign in
-
-
Exploring classic Java programs today — Palindrome, Spy Number, and Strong Number! Each one builds strong logic around loops, digit manipulation, and mathematical thinking. Small programs like these are the foundation of problem-solving in competitive programming. #Java #JavaProgramming #100DaysOfCode #CodingJourney #LearnToCode #LogicBuilding #PalindromeNumber #SpyNumber #StrongNumber #TechCommunity #SoftwareDeveloper #CodeNewbie #CodingLife
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