CodeGym
Christmas Sale
CodeGym University
Learning
Course
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
  • Quest map
  • Lessons
All quests Java Syntax Java Core Java Multithreading Java Collections JSP & Servlets Module 3. Java Professional Module 4. SQL & Hibernate Module 5. Spring
All levels Level 0 Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 Level 9 Level 10 Level 11 Level 12 Level 13 Level 14 Level 15 Level 16 Level 17 Level 18 Level 19 Level 20 Level 21 Level 22 Level 23 Level 24 Level 25 Level 26 Level 27 Level 28
  • A success story. From the ring to the IT field

    New Java Syntax
    Level 14, Lesson 0
    Sergey is a professional boxer from Chisinau, whose life was radically changed by a sports injury. Once upon a time, he decided to share his success story, or rather, to relate how you can recover from a blow of fate and build a new career in a completely different field. We hope this story will be motivation...
    Available
  • Lesson about collections

    New Java Syntax
    Level 14, Lesson 1
    Java classes whose main purpose is to store a set of other elements are called collections or containers. It makes sense that something we collect is called a collection. Java collections are divided into three main groups: Set, List, Map (or dictionary). This lesson will teach you the difference between them.
    Available
  • List of all collections

    New Java Syntax
    Level 14, Lesson 2
    Even the very first quest at the secret CodeGym center deals with important matters, so of course the eighth level does. Let's continue getting to know a serious tool: collections and collection interfaces. In this lesson, you will learn that Java has four Lists, three Sets, and four Maps. You'll study a few examples to deepen your understanding.
    Available
  • Practice with collections

    New Java Syntax
    Level 14, Lesson 3
    Have you ever collected cats? What about plants? Can you guess what HashMap means without any hints? Too many questions! But if you said 'yes' to at least two of the three question, then it's time to create cats and add them to a collection! We'll do tasks involving collections, simultaneously creating a HashSet of plants and a HashMap of cats.
    Available
  • ArrayList vs. LinkedList

    New Java Syntax
    Level 14, Lesson 4
    An interface can have multiple implementations. No single implementation is always better than the rest. In one approach, some operations are fast, but others are slow. The opposite can be true for another approach. That's why the List interface has two different classes: ArrayList and LinkedList. This lesson explores how one is better than the other and vice versa.
    Available
  • Measuring list performance

    New Java Syntax
    Level 14, Lesson 5
    The topic of "collections" can fry your brain, but we'll try to train your brain to make the smoke point as high as possible... So let's work on some tasks, preferably interesting ones. Let's take some measurements right in this lesson: We'll find out how long it takes to perform 10,000 insertions on each of the lists, and how long it takes to call get the same number of times.
    Available
  • What do we do with Set and Map?

    New Java Syntax
    Level 14, Lesson 6
    A Set is a bunch of unnumbered objects. A Map is a set of key-value pairs. Though they are similar, but there are some things you can do with Map that you can't do with Set. In the latter case, we just add elements, delete them, and check if they are in the set. But a Map supports many more operations. Wanna know what these operations are? Let's complete this lesson.
    Available
  • Practice using Set and Map

    New Java Syntax
    Level 14, Lesson 7
    Though not as popular as ubiquitous lists, Map (a set of key-value pairs) is used in many tasks. In this hands-on lesson, you'll learn how to work with Map and Set in the standard CodeGym way. Have you guessed the way*? (*answer: by completing tasks).
    Available
  • Additional lessons for Level

    New Java Syntax
    Level 14, Lesson 8
    In this level, you continued to get acquainted with collections: you figured out what HashMap and HashSet are, and also learned more about the methods of the Collections helper class. In the context of HashSet, it was relevant to talk about another type of loop: the for-each loop, which will help you display a list of HashSet elements...
    Available
  • Final tasks

    New Java Syntax
    Level 14, Lesson 9
    Several tasks must be completed at the end of the level. Some of them are more advanced and require student's to be able to google. Or think. Or think and google. Practice completing them day in and day out, and your skills will grow at an incredible speed. They were created especially for IDEA.
    Available
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
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 Java developer’s career.
Follow us
Interface language
Programmers Are Made, Not Born © 2023 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2023 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.