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
More Relevant Posts
-
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 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
-
☕ 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 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
-
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
-
-
Today I learned about Abstraction in Java. Abstraction is a core concept of Object-Oriented Programming that focuses on hiding implementation details and showing only essential functionality. To understand it better, I implemented a simple payment system using an abstract class. Through this example, I understood: - How abstract classes work - How implementation is hidden from the user - How different behaviors can be achieved using the same structure I’m continuing to strengthen my understanding of Java and OOP concepts. #Java #Abstraction #OOP #LearningJourney
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
-
-
Day 45-What I Learned In a Day (JAVA) Today I explored some important concepts related to static in Java: 🔹 Static Method Learned how static methods belong to the class and can be called without creating an object. 🔹 Static Initializer (Static Block) Understood how a static block is executed only once when the class is loaded. 🔹 Single-Line Static Initializer Explored how we can initialize static variables in a single line. 🔹 Multi-Line Static Initializer Learned how to use static blocks for complex initialization logic. Practiced 👇 #Java #Programming #LearningJourney #Coding #100DaysOfCode
To view or add a comment, sign in
-
***Learn Programming with Arrays, Lists, Sets and Maps with Practical Examples*** Session 2: Array Object in Java | Programming with Arrays, Lists, Sets and Maps Series Learn It Easy: https://lnkd.in/dYh-esat #arrays #lists #sets #maps #java #learntocode #seleniumwebdriver #automationtesting #computerprogramming #dezinnia #dezlearn #happylearning
Session 2: Array Object in Java | Programming with Arrays, Lists, Sets and Maps Series
https://www.youtube.com/
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