Day 32- What I Learned in a Day (JAVA) Today, I focused on pattern programming in Java, especially some of the most confusing ones. I practiced different types of patterns like: 🔹 Triangle patterns 🔹 Pyramid patterns 🔹 Reverse triangle patterns 🔹 Number patterns (increasing & decreasing) 🔹 Alphabet patterns 🔹 Reverse alphabet patterns Key Learnings: 🔹 Understanding how nested loops control rows and columns 🔹Learning how spaces and values (numbers/alphabets) are managed 🔹Improving logic-building for complex patterns 🔹Realizing that most patterns follow simple rules once broken down Pattern programming really helped me improve my logical thinking and problem-solving skills. 25 Problems Practiced 👇 #Java #Coding #PatternProgramming #LearningJourney #ProblemSolving
More Relevant Posts
-
Day 34-What I Learned In a Day (JAVA) Today, I focused on pattern programming in Java, especially triangle patterns. I practiced different types of triangle patterns like: 🔹 Increasing triangle 🔹 Decreasing triangle 🔹 Right-aligned triangle 🔹 Reverse triangle Key Learnings: 🔹 Understanding how nested loops control rows and columns 🔹 Learning how to manage spaces and stars 🔹Breaking patterns into simple logic (increase & decrease) 🔹 Improving problem-solving and logical thinking Practiced 👇 #Java #Coding #PatternProgramming #LearningJourney #ProblemSolving
To view or add a comment, sign in
-
Day 38 of Learning Java Today, I explored how a class executes inside the JVM (Java Virtual Machine). Understanding this lifecycle really helped me see what happens behind the scenes when we run a Java program. 🔹 Class Loading • The JVM loads the class into memory • It brings the ".class" file into the system 🔹 Linking Phase • Verification → Checks bytecode for errors • Preparation → Allocates memory for static variables (default values like 0) • Resolution → Replaces symbolic references with actual memory references 🔹 Initialization • Static variables get their actual assigned values • Static blocks are executed 🔹 Execution • Methods start running and the program logic is executed 🔹 Destruction • Objects are destroyed and memory is cleaned up by the Garbage Collector Static variables first get default values during preparation, and later their actual values during initialization. Thanks to my mentor Ashim Prem Mahto for the clear explanations and for always clearing my doubts. #Java #JVM #LearningJourney #Programming #SoftwareDevelopment #BackendDevelopment #CodingLife #JavaDeveloper #TechLearning #StudentLife
To view or add a comment, sign in
-
-
Day 35 - What I Learned Today (JAVA) Today, I spent time practicing pattern programming in Java, and it was both challenging and fun. I worked on different types of triangle patterns such as: 🔹 Upper triangle 🔹 Lower triangle 🔹 Forward half triangle 🔹 Backward half triangle Deep Dive into Learning: While solving these patterns, I understood how important nested loops are in controlling rows and columns. I also learned how to manage spaces and symbols to create proper alignment and shapes. At first, some patterns were confusing, but once I broke them into: 🔹 spaces 🔹 stars (or symbols) the logic became much clearer. Creative Part: Instead of always using *, I tried something different: 🔹 Used emojis to print patterns 🔹 Printed my name ELAKKIYA using pattern logic This made learning more interesting and helped me think beyond basic patterns. Pattern programming is a great way to strengthen fundamentals and improve problem-solving skills. Step by step, turning confusion into clarity 💪 Practiced 👇 #Java #Coding #PatternProgramming #LearningJourney #ProblemSolving #JavaDeveloper
To view or add a comment, sign in
-
Day 44-What I Learned In a Day(JAVA) Today I revised pattern programming in Java to strengthen my core logic and understanding of loops. What I practiced: • Star patterns • Number patterns • Pyramid patterns • Inverted patterns • Nested loop logic Pattern programming helped me improve: • Loop control (for/while) • Logical thinking • Understanding of rows & columns Every pattern I solve makes my logic stronger step by step. Consistency is the key #Java #CodingJourney #PatternProgramming #Learning #StudentDeveloper
To view or add a comment, sign in
-
Day 55-What I Learned In a Day (JAVA) Today, I learned how to create and use constructors in Java. 🔹 A constructor is a special method used to initialize an object when it is created. 🔹 Constructors are non-static by default, meaning they work with objects and help assign values to instance variables. 🔹 They are automatically executed when an object is created, making object initialization simple and efficient. 🔹 This reduces the need for setting values manually after object creation. Understanding constructors helped me see how Java initializes objects in a structured and efficient way. #Java #OOP #Constructors #LearningJourney #Programming #TechSkills
To view or add a comment, sign in
-
☕ Learn Java with Me — Day 9 Text is everywhere in programming. Today we learned something simple, but extremely powerful. 👉 Strings in Java Strings are used to store text values. For example:String name = "Java"; Simple. But this is where real applications begin. With Strings, we can:→ store names → messages → email IDs → user inputs → passwords We also explored some useful methods:→ length() → toUpperCase() → toLowerCase() → equals() This made Java feel much more practical. Because every real-world application works with text. From numbers → real user interaction 🚀 We’re learning together 🤝 #java #coding #strings #learning #showup
To view or add a comment, sign in
-
-
💻 Day 19 of My Java Journey Today I explored Generics, and it made Java feel much cleaner. Instead of writing separate code for different data types, generics allow us to write one reusable piece of code. Using <T> as a placeholder, we can handle multiple data types safely without worrying about runtime errors. This is one of those concepts that improves both code quality and flexibility. Learning something new every day 🚀 #Java #Programming #LearningInPublic #CodingJourney
To view or add a comment, sign in
-
-
Today I Learned: Method Overloading in Java Today I explored one of the most important concepts in Java — Method Overloading. --> Method Overloading allows multiple methods in the same class with the same name but different parameters (type, number, or order). --> Key Points: --> JVM resolves overloaded methods using priority: Exact Match > Widening > Autoboxing > Varargs --> It is an example of Compile-Time Polymorphism --> Improves code readability and flexibility --> Changing only the return type is NOT valid overloading --> We can even overload main() and static methods #Java #Programming #Coding #Developer #100DaysOfCode #LearningJourney #Java #JavaProgramming #JavaDeveloper #SoftwareDevelopment #Programming #Coding #BackendDevelopment #TechLearning #Developers #LearnToCode #ProgrammingCommunity #100DaysOfCode #CodeNewbie #TechCareer #SoftwareEngineer
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
-
-
Nested types are a powerful way to organize and encapsulate logic in Java — but understanding the difference between static and non‑static nested types is key to using them effectively. This post breaks down how each kind works, how they access outer class members, how instances are created, and what the compiler does behind the scenes. Whether you’re structuring helper classes or managing deeper hierarchies, mastering nested types will help you write cleaner, more maintainable Java code. #Java #Programming #SoftwareDevelopment #RheinwerkComputingBlog Read the full post: https://hubs.la/Q048Shz50
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