🚀 Day 14 of Java Learning | Strings in Java Today’s session was focused on deepening my understanding of Strings in Java, covering both the theoretical concepts and practical implementations through hands-on programs. It helped me see how string manipulation works behind the scenes and how it is used in real-world applications. 📌 Topics Covered: 🔹 Introduction to Strings 🔹 What Strings are in Java 🔹 Understanding immutability and basic string behavior 💻 String-Based Programs Practiced: ✅ Counting vowels, consonants, numbers, and special characters ✅ Removing special characters from a string ✅ Converting a string to uppercase and lowercase ✅ Removing leading and trailing spaces (without using inbuilt methods) ✅ Removing extra spaces inside a string ✅ Printing a star (*) before each character ✅ Finding and printing the index of a given character (k value) ✅ Checking whether one string is a subsequence of another These exercises helped me build a strong foundation in string processing and manipulation, which is essential for real-world Java applications. #Java #JavaStrings #CoreJava #StringManipulation #LearningJava #Programming #JavaDeveloper #TAPAcademy #DailyLearning #CodingJourney
Java Strings Fundamentals and Manipulation
More Relevant Posts
-
📘 Day 13 | Java Learning – Strings Today I explored one of the most important topics in Java — Strings. I learned how strings work internally, how they are stored in memory, and how different methods help in comparing and manipulating them efficiently. 📌 Key Concepts Covered: 🔹 Strings as a collection of characters enclosed in double quotes 🔹 Types of Strings: • Immutable (cannot be changed) • Mutable (can be modified) 🔍 String Comparison Methods: ✔ == ✔ equals() ✔ compareTo() ✔ equalsIgnoreCase() 🔗 String Operations: ✔ String concatenation ✔ Understanding String memory in the Heap 💻 Programs Practiced: ✅ Printing a string ✅ Reversing a string ✅ Reversing a string using logic ✅ Checking whether a string is a palindrome ✅ Comparing complete strings using equals() ✅ Comparing characters using == ✅ Counting spaces in a string ✅ Counting words in a string ✅ Counting vowels using if condition ✅ Printing consonants in a string 📈 Learning something new every day and growing step by step! #Java #CoreJava #StringsInJava #JavaLearning #CodingJourney #Programming #TAPAcademy #LearningEveryDay #StudentDeveloper
To view or add a comment, sign in
-
-
📘 Day 9 | Core Java Series Operators are the building blocks of every Java program. This visual explains the 4 most important types: 👉 Arithmetic 👉 Relational 👉 Logical 👉 Assignment If you remember just this: Arithmetic → Calculate Relational → Compare Logical → Combine Assignment → Store Everything else becomes easier. 📌 Save this for revision 💬 Feedback or corrections are welcome #Java #CoreJava #LearningInPublic #JavaBasics #Programming
To view or add a comment, sign in
-
-
Java Tutorial 10 🚀 ► https://lnkd.in/gzBxxNGR ► Learn how to find the range of all primitive data types in Java. This tutorial covers memory allocation and value ranges for each type. Follow the example code to print the minimum and maximum values of byte, short, int, long, float, double, char, and boolean. Ideal for Java beginners! Java Tutorials Playlist: ► https://lnkd.in/g-MdeE8X #Java #Programming #Coding #JavaTutorial #LearnJava #SoftwareDevelopment
To view or add a comment, sign in
-
-
Java Tutorial 10 🚀 ► https://lnkd.in/gXaFeHgE ► Learn how to find the range of all primitive data types in Java. This tutorial covers memory allocation and value ranges for each type. Follow the example code to print the minimum and maximum values of byte, short, int, long, float, double, char, and boolean. Ideal for Java beginners! Java Tutorials Playlist: ► https://lnkd.in/gz2_iusM #Java #Programming #Coding #JavaTutorial #LearnJava #SoftwareDevelopment
To view or add a comment, sign in
-
-
📘 Day 6 | Core Java Series Variables are one of the first and most important concepts in Java. This visual breaks down a simple statement: 👉 int score = 100; Understanding this clearly makes everything else easier — arrays, methods, objects, and more. I’m learning Core Java step by step and sharing my journey publicly to stay consistent and strengthen my fundamentals. 📌 Save this for revision 💬 Feedback or corrections are welcome #Java #CoreJava #LearningInPublic #JavaBasics #Programming
To view or add a comment, sign in
-
-
📘 Day 8 | Core Java Series Type casting is where many beginners get confused in Java. This visual explains the two types clearly: 👉 Implicit (Widening) 👉 Explicit (Narrowing) Just remember this: Widening → Automatic Narrowing → Manual Once this is clear, type conversions become easy. 📌 Save this for revision 💬 Feedback is welcome #Java #CoreJava #LearningInPublic #JavaBasics #Programming
To view or add a comment, sign in
-
-
Java Scanner Class Explained | Beginner Friendly Core Java. The Scanner class is one of the most beginner-friendly ways to take user input in Java. This short video explains: - What Scanner class is - How it uses System.in - Commonly used Scanner methods Ideal for beginners starting their Java programming journey. 🎥 Watch more Java tutorials on my YouTube channel: https://lnkd.in/gwqCZWkg #Java #CoreJava #JavaProgramming #JavaBasics #SoftwareDevelopment #LearnToCode #Programming #JavaTutorial
To view or add a comment, sign in
-
Understanding Input & Output in Java | Scanner, Console and BufferedReader. In this tutorial, I explain: • Scanner class for keyboard input • Console class for secure password input • BufferedReader for fast input handling • When to use Scanner, Console, or BufferedReader 📘 Topics Covered: ✅ Java Input Output Basics ✅ Scanner Class in Java ✅ Console Class and readPassword() ✅ BufferedReader with InputStreamReader ✅ Performance comparison of input methods 🎓 This tutorial is helpful for: *Students learning Java fundamentals *Java beginners *Interview preparation 📺 Watch the full tutorial here : https://lnkd.in/gpA8PVhq #Java #JavaProgramming #LearnJava #SoftwareDevelopment #Programming
To view or add a comment, sign in
-
-
📘 Day 4 | Core Java Series Every Java program starts here 👇 👉 public static void main(String[] args) But many beginners use it without knowing WHY it is written this way. This visual explains the main() method in a simple and beginner-friendly way. I’m revising Core Java step by step and sharing my learning publicly. 📌 Save this if you’re starting Java 💬 Feedback is welcome #Java #CoreJava #JavaBasics #LearningInPublic #Programming
To view or add a comment, sign in
-
-
☕ Strings in Java – Basics You Should Know In Java, a String is an object used to store a sequence of characters. Strings are immutable, which means once created, their value cannot be changed. ✔ Stored in String Constant Pool ✔ Provides many built-in methods ✔ Helps in secure and efficient data handling String immutability improves performance and security in Java. #Java #Programming #Coding #TapAcademy #Strings #OOP #SoftwareDevelopment #Learning #Developer TAP Academy Sharath R
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