💻 Java Practice – String Fundamentals Today I focused on practicing basic String operations in Java. Worked on small exercises like: • Finding the length of a string • Converting text to uppercase • Reversing a string using a loop • Counting vowels using charAt() Also revisited an important concept: the difference between == and .equals() when comparing strings. Small exercises like these help strengthen core programming fundamentals. #Java #ProgrammingFundamentals #LearningInPublic #DeveloperJourney #Consistency
Java String Practice: Length, Uppercase, Reverse, Vowels
More Relevant Posts
-
💻 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
-
Built a Java program to print number patterns 💻 Used nested loops to control rows and columns. Implemented outer loop for rows and inner loop for pattern logic. Printed numbers in increasing order for each row. Improved understanding of loop concepts in Java. Practiced pattern-based problem solving. Focused on writing clean and readable code. Strengthening logic building step by step 🚀 Consistency is key to mastering programming 🔥 Small programs like this build a strong foundation. #Java #JavaProgramming #CodingJourney #LearnToCode #StudentDeveloper #ProgrammingBasics #LogicBuilding #TechSkills #100DaysOfCode #DevelopersLife
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
-
💻 Java Practice – String Logic Today I worked on strengthening my understanding of string operations in Java. Practiced small exercises like: • Counting characters using length() • Printing each character using charAt() • Counting vowels and consonants • Removing spaces from a string using replace() These simple problems help build stronger logic and a deeper understanding of how strings are handled in Java. #Java #ProgrammingFundamentals #LearningInPublic #DeveloperJourney #Consistency
To view or add a comment, sign in
-
Hii Everyone!!! Topic: Method Overloading in Java (Compile-Time Polymorphism) Understanding Method Overloading in Java Today, I explored an important concept in Java called Method Overloading, which is a part of Compile-Time Polymorphism.. In this program, I created a Calculator class with multiple add() methods: Same method name Different parameter types and counts This allows Java to decide which method to execute based on the arguments passed — improving flexibility and code readability. #Java #Programming #Coding #MethodOverloading #OOP #JavaDeveloper #LearningJourney
To view or add a comment, sign in
-
-
In our online #Java Programming Series, you'll learn the basics of programming and build confidence through practice. By the end, you'll be able to write more sophisticated programs in Java! #WeAreCBE Learn more: https://lnkd.in/gZacxt8c
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
-
Day 46 – Understanding Method Overloading in Java ☕ Today I focused on revising the concept of Method Overloading in Java and understanding how it works internally. Topics covered: 🔹 What is method overloading 🔹 How the compiler selects the appropriate method 🔹 Steps involved in method resolution 🔹 Why it is called compile-time polymorphism 🔹 Why it is referred to as early binding Understanding how the compiler decides which method to invoke based on parameters helped me gain deeper clarity on Java’s execution process. Strengthening my core OOP concepts step by step 🚀 #Day46 #JavaJourney #OOP #MethodOverloading #CoreJava #Consistency
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
-
Day 43-What I Learned In a Day(JAVA) Today I worked on String concepts in Java and practiced some interesting problems. What I learned: Creating and using strings in Java Converting a number into an array using strings Handling characters using charAt() Problems I practiced: ✅ Created and manipulated strings ✅ Converted number -array using string ✅ Moved zeros to the end of an array These problems helped me understand how strings and arrays work together and improved my problem-solving skills. Learning step by step and getting better every day! Practiced 👇 #Java #CodingPractice #LearningJourney #Programming #100DaysOfCode
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