🚀 Java Revision Journey – Day 02 Continuing my Java revision, today I focused on understanding Methods and Arrays, which are fundamental for writing structured and efficient programs. 📌 Topics Covered: Methods ✔ Introduction to Methods ✔ Static Methods vs Instance Methods ✔ Access Modifiers ✔ Command Line Arguments ✔ Variable Arguments (Varargs) Arrays ✔ Introduction to Arrays ✔ Multi-Dimensional Arrays ✔ Jagged Arrays ✔ Arrays Class ✔ Final Arrays Also completed quizzes on both Methods and Arrays to reinforce the concepts. Consistently revisiting the fundamentals helps strengthen problem-solving skills and improves code structure. #Java #CoreJava #Programming #LearningJourney #BackendDevelopment #day02 #Arrays #Methods
Java Revision Day 02: Methods and Arrays Fundamentals
More Relevant Posts
-
💻 Day 13 – File Handling in Java Today I explored File Handling in Java, which allows programs to create, read, write, and manage files. This is an important concept because real-world applications often need to store and retrieve data from files. Things I learned today: 🔹 How to create a file using File class 🔹 Writing data into a file using FileWriter 🔹 Reading data from a file 🔹 Handling errors using IOException File handling helps programs store information permanently instead of losing it when the program ends. 💡 Key takeaway: File handling enables Java programs to interact with external data and manage information efficiently. Learning something new every day and strengthening my Java fundamentals step by step 🚀 #Java #FileHandling #Programming #LearningInPublic #CodingJourney #ComputerScience #Day13
To view or add a comment, sign in
-
-
#Day17 – Understanding Constructors in Java ⚙️ Today’s session helped me understand how constructors work in Java and how they are used while creating objects. Key Learnings: ✔ A Constructor is a special type of method whose name is the same as the class name ✔ Constructors do not have any return type, not even void ✔ Constructors are automatically called when an object is created using the new keyword ✔ If a programmer does not create any constructor, Java Compiler provides a Default Constructor ✔ Learned about Parameterized Constructors and Zero-Parameterized Constructors ✔ Understood Constructor Overloading (multiple constructors with same name but different parameters) ✔ Explored Constructor Chaining using this(), where one constructor calls another constructor within the same class TAP Academy Harshit T #Java #OOPS #CoreJava #Constructors #Programming #SoftwareDevelopment #LearningJourney #Consistency
To view or add a comment, sign in
-
-
🚀 Java Revision Journey – Day 03 Continuing my Java revision, today I focused on Strings in Java, which play a major role in text processing and application development. 📌 Topics Covered: Strings ✔ Introduction to Java Strings ✔ Why Strings are Immutable ✔ String Concatenation ✔ Commonly Used String Methods String Handling Classes ✔ String Class ✔ StringBuffer Class ✔ StringBuilder Class ✔ Strings vs StringBuffer vs StringBuilder Understanding how Java handles strings helps in writing more efficient and optimized programs. Consistency in revisiting fundamentals helps build a stronger programming foundation. #Java #CoreJava #Programming #LearningJourney #BackendDevelopment #String #JavaDeveloper #Learning
To view or add a comment, sign in
-
-
Day 27-What I Learned In a Day(JAVA) Java Revision – Decision Making Statements Today I revised all the Decision Making Statements in Java as part of my preparation. I went through concepts like: ✔️ if statement ✔️ if-else statement ✔️ else-if ladder ✔️ nested if ✔️ switch statement Understanding these concepts helps in controlling the flow of a program based on different conditions. Practicing them improved my logical thinking and programming skills. #Java #Programming #LearningJava #CodingJourney #StudentDeveloper
To view or add a comment, sign in
-
Functions in Java : part 3 - memoization Hi all, in this third part of the serie we 'll have a look on memoization. Hope you will find it useful. Happy coding PS: github repository address on last slide... #java #functionalprogramming #memoization
To view or add a comment, sign in
-
💻 Java Practice – String Operations Today I continued practicing Java String fundamentals. Worked on small exercises like: • Checking if a string is a palindrome • Counting words in a sentence • Replacing characters using replace() • Comparing strings correctly using equals() Also explored a small but important detail in string comparison and why some approaches are safer in real applications. Consistent practice with small problems helps strengthen programming fundamentals. #Java #ProgrammingFundamentals #LearningInPublic #DeveloperJourney #Consistency
To view or add a comment, sign in
-
I was learning about Sealed Classes in Java (Java 15), and I found it really interesting. The main idea is simple, you can control which classes are allowed to extend another class. So instead of letting any class inherit, you define exactly who can do it. This makes your code more SAFE and EASIER to understand. For example, if you have a fixed set of types (like success, error, loading), sealed classes help a lot. The compiler already knows all possible cases, so it helps avoid BUGS and makes things like switch cleaner. I think this is very useful when modeling business rules or states in the system. It’s a small feature, but it can improve a lot the QUALITY of the code. Have you already used sealed classes in your projects? #Java #SealedClasses #CodeQuality
To view or add a comment, sign in
-
♻️ Why should you always close Scanner in Java? Scanner is used to read input, from the console, a file, or a stream. But a lot of beginners (including me, early on) never bother closing it after use. Here's why that's a problem: ->it holds onto system resources even after your program is done with them ->for file-based Scanners, it can lock the file or cause data not to be flushed properly ->in larger programs, unclosed Scanners can quietly lead to resource leaks The fix is simple, either call: ✔️ sc.close() at the end ✔️ or use a try-with-resources block so Java closes it automatically While practicing Java basics, I realized the code worked either way… but one way was responsible, and the other wasn't. That's something no compiler warning will tell you. Writing correct code and writing clean, responsible code are two different things. Learning the difference early makes you a better developer. Learning in public, improving step by step 🤍 #Java #ResourceManagement #LearningInPublic #Programming
To view or add a comment, sign in
-
Day 12 – Exception Handling in Java Today I explored Exception Handling, an important concept that helps make programs more stable and error-resistant. In real-world applications, errors can occur during program execution. Instead of crashing the program, Java allows us to handle these situations gracefully using exception handling. Things I learned today: 🔹 What exceptions are 🔹 How to use try and catch blocks 🔹 Understanding finally block 🔹 How exception handling prevents program crashes 🔹 Writing cleaner and safer code Example scenario: Handling errors like division by zero without stopping the entire program. 💡 Key takeaway: Exception handling improves the reliability and robustness of applications by managing unexpected errors effectively. Learning Java step by step and building a stronger foundation in programming every day 🚀 #Java #ExceptionHandling #Programming #CodingJourney #LearningInPublic #ComputerScience #Day12
To view or add a comment, sign in
-
-
💻 Java Practice – Arrays with Methods Saturday I worked on combining Java methods with array-based logic. Practiced: • Passing an array to a method • Writing a method to calculate the sum of an array • Finding the largest element using a method • Reversing an array through a method This helped connect DSA problem-solving with structured Java programming. Small exercises like these make it easier to understand how logic and program design work together. #Java #DSA #ProgrammingFundamentals #LearningInPublic #DeveloperJourney
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
#cfbr #java