CodeGym
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme

Lessons

  • Reviews
  • About us
Start
Start learning
Start learning now
  • My Progress
  • Courses
  • University
  • Quest Map
  • Lessons
  • You've leveled up!

    Java Multithreading
    Level 2, Lesson 0
    You've leveled up!
    Available
  • What are mutable/immutable objects, and what are they for?

    Java Multithreading
    Level 2, Lesson 1
    Today Bilaabo will tell you about mutable and immutable objects.
    Available
  • I list all of the classes associated with strings, and explain what they and all their methods do

    Java Multithreading
    Level 2, Lesson 2
    "Hi, Amigo!" "But, Bilaabo, you've already said hello." "Really? Well, I still like starting each lesson with that phrase." "Today we're going to study the String class in depth." "But, I already know everything about it. I even know that the String class is immutable." "The String class has 46 methods. How many of them do you know?" "No more than ten. Actually, probably about 5 max." "Then listen up." "Java's creators noticed that most ..."
    Available
  • String's inner workings, and the substring method

    Java Multithreading
    Level 2, Lesson 3
    "Hi, Amigo!" "Hi, Ellie." "I'm going to tell you about substrings. A substring is a part of a string. And the most common operation performed on strings (after combining several strings together) is obtaining a substring." How do I get part of a String? "The substring method returns part of a String. This method has two versions." "The first version returns the substring specified by starting and ending indices. But the character at the ending index ..."
    Available
  • Finding, retrieving, and deleting substrings

    Java Multithreading
    Level 2, Lesson 4
    "Check out some other things you can do with substrings: How do I find a substring? The indexOf and lastIndexOf methods let you search for strings within strings. There are 4 versions of these methods: The indexOf method looks for a string in a specified String. The method can search for the string from the beginning of the specified String, or starting from some index (the second method). If the string is found, then the method returns ..."
    Available
  • Practice finding and retrieving substrings

    Java Multithreading
    Level 2, Lesson 5
    "Hi, Amigo!" "You won't believe it. I just finished all the tasks for you!" "Sweet! Thanks, Diego." "But I'm not going to give them to you. So, you do them—it will make you smarter ..."
    Available
  • String.format

    Java Multithreading
    Level 2, Lesson 6
    "I also want to tell you about the String.format method." "It's a static method of the String class, but it is very useful. Let me take a roundabout approach." "If you need to display several variables on one line of text, how would you do it?" "What text?" "This, for example ..."
    Available
  • Practice using String.format

    Java Multithreading
    Level 2, Lesson 7
    "Hi, Amigo!" "No, Diego, that's enough! Do your own tasks!" "Amigo, buddy. No one is going to do your tasks for you. Do you want to get smarter?" "Yes." "When you're at the gym, you don't ask others to pump iron or do crunches for you, do you?" "No." "Then you should also do all this work by yourself. I've got some very interesting tasks for you this time ..."
    Available
  • StringBuilder and StringBuffer

    Java Multithreading
    Level 2, Lesson 8
    "We just have to cover StringBuilder, and then I think we're done." "As you already know, StringBuilder is like the String class, except it is mutable." "And I also remember that the compiler generates code that uses StringBuilder when we simply add Strings together." "Yes, you are right. What a remarkable memory you have. Then again, every robot does. I always forget that." "Let's examine what you can do using the StringBuilder ..."
    Available
  • Practice using StringBuilder and StringBuffer

    Java Multithreading
    Level 2, Lesson 9
    "Hi, Amigo!" "Hi, Diego. You know what, I've decided that everything you do is for my own good." "Thanks for the tasks. I'd be happy to do them ..."
    Available
  • Character encodings

    Java Multithreading
    Level 2, Lesson 10
    "Hi, Amigo!" "Now it's time for another interesting topic: encodings." "Perhaps you've already heard somewhere that each character has a code (number). That's why the char type can represent both symbols and numbers." "For example, the code for the letter 'A' in the English alphabet is 65. 'B' is 66, 'C' is 67, and so on. There are unique codes for uppercase letters, lowercase letters, Cyrillic letters, Chinese characters ..."
    Available
  • Regular expressions (with examples)

    Java Multithreading
    Level 2, Lesson 11
    "And now I'll tell you about regular expressions. This topic is both complex and simple at the same time. To thoroughly understand regular expressions, you may need to read two or three hefty books, but I can teach you how to use them right now." "As experienced programmers like to joke, if you have a problem and think you're going to solve it with regular expressions, now you have two problems." "Hmm." "I hope I didn't scare you ..."
    Available
  • 1
  • 2
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym