☕ 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
Java Strings: Storing Text Values and Methods
More Relevant Posts
-
#Day_13 of My Java Learning Journey – Writing Functions in Java Today I practiced how to create functions (methods) in Java, and I built a simple program to check whether a number is Even or Odd. 🔥 What I learned today: ✔ How to create a boolean function ✔ How to use if-else conditions inside a method ✔ How to return true/false ✔ How to call a method inside the main() function ✔ How to print the result in the console 🧩 Example I worked on: I created a method IfEven(int a) that: Prints whether the number is Even or Odd Returns a boolean value (true for even, false for odd) This helped me understand functions more clearly and how they improve code structure and reusability. #Java #LearningJourney #100DaysOfCode #Coding #Developer #JavaBeginners #OOP #CodeNewbie
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
-
🚀 Day 1 of My Java Journey Started learning Java from scratch. ✔ Variables ✔ Data Types (int, float, char) One thing I realized: Programming is not about memorizing syntax, it's about understanding how data works. Simple example: int age = 20; → storing real-world data in code This is just the beginning 🔥 What was your first programming language? #Java #CodingJourney #Learning #Day1
To view or add a comment, sign in
-
Today, I explored one of the core concepts of Object-Oriented Programming — Polymorphism in Java. - Understood how a single interface can represent multiple behaviors. - Practiced method overriding and runtime polymorphism. - Implemented real examples using inheritance and dynamic method dispatch. This concept really changed how I think about writing flexible and scalable code. Sharing a small implementation I worked on. #Java #OOP #Polymorphism #CodingJourney #LearningInPublic #SoftwareDevelopment #TAP TAP Academy
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
-
-
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
-
🚀 Exploring Java Collection Framework Today’s session was all about understanding the powerful Java Collection Framework and how it helps in managing and organizing data efficiently. Dived deep into core concepts like interfaces and classes in collections, and explored the three main interfaces: List, Set, and Map. Gained clarity on how these structures differ and where to use them in real-world applications. Focused on the ArrayList class—its properties like dynamic resizing, ordered storage, and index-based access—making it one of the most commonly used collection classes in Java. Also understood the hierarchy of ArrayList, how it is part of the List interface, and how it inherits behavior from abstract classes like AbstractList and AbstractCollection. 📚 A strong foundation in collections is essential for writing efficient and scalable Java applications. TAP Academy #Java #CollectionsFramework #ArrayList #Programming #LearningJourney #FullStackDevelopment
To view or add a comment, sign in
-
-
🚀 Day 46 of My Learning Journey – Java StringBuilder Today, I explored the concept of StringBuilder in Java, which is a powerful alternative to traditional strings when it comes to performance and efficiency. 🔹 What I Learned: Unlike String, StringBuilder is mutable, meaning we can modify the same object without creating new ones. It helps improve performance, especially when working with large or frequently changing strings. It is not synchronized, making it faster than StringBuffer in single-threaded environments. 🔹 Key Methods I Practiced: append() – adds text to the existing string insert() – inserts text at a specific position replace() – replaces a portion of the string delete() – removes characters reverse() – reverses the string 🔹 Why Use StringBuilder? 👉 Reduces memory usage 👉 Improves execution speed 👉 Ideal for dynamic string manipulation 💡 Small concept, but a big impact on writing efficient Java code! #Java #LearningJourney #Day46 #Programming #JavaDeveloper #Coding #StringBuilder
To view or add a comment, sign in
-
-
Today I strengthened my understanding of how Java programs actually execute 🚀☕ Here’s what I learned step by step: ✔ The file name must match the public class name 📄 ✔ The main() method can be inside any class, not only the public class 🔍 ✔ Only one public class is allowed in one ".java" file ⚠️ ✔ Protected members outside the package are accessible through inheritance — 🔹 Non-static → accessed using child class object 🔹 Static → accessed using child class name or parent class name inside child class 👨👦✨ ✔ The JVM first loads the class that contains main(), then loads other required classes when needed 🧠 Understanding these core execution rules is helping me build stronger clarity in Java inheritance and access modifiers 💻📚 #Java #Programming #LearningJourney #OOP #JavaDeveloper #BackendDevelopment 🚀
To view or add a comment, sign in
-
💻 Day 23 – Strings in Java Today I explored Strings in Java, one of the most fundamental and important concepts. I learned about different types of string handling: 🔹 String – Immutable (cannot be changed) 🔹 StringBuilder – Mutable and faster 🔹 StringBuffer – Mutable and thread-safe Understanding immutability was a key highlight today, as it plays an important role in memory management and performance. 💡 Key takeaway: Choosing the right type of string handling improves both performance and efficiency in Java applications. Continuing to strengthen my core Java concepts step by step 🚀 #Java #Strings #Programming #LearningInPublic #CodingJourney #Day23
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