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

Tasks

  • Reviews
  • About us
Start
Start learning
Start learning now
  • All tasks
All quests Java Syntax Java Core Java Multithreading Java Collections JSP & Servlets Java Syntax Pro Module 3. Java Professional Module 4. SQL & Hibernate Module 5. Spring Games
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
Any status Available In progress Completed Closed
  • One variable is not enough

    New Java Syntax
    Level 2, Lesson 3
    Declare int variables a and b and String variable s. In the same line in which the variables are declared, immediately assign them any different values.
    2
    Locked
  • Display the square of a number

    New Java Syntax
    Level 2, Lesson 3
    The variable number is given. Write a program that displays the square of this variable: (number * number).
    2
    Locked
  • Let's change the code

    New Java Syntax
    Level 2, Lesson 4
    Change the program so that the variable name has the value "Amigo".
    2
    Locked
  • A few more corrections

    New Java Syntax
    Level 2, Lesson 4
    Change the program to display the following text: "Coding in Java". Use variables.
    2
    Locked
  • I'm 15 again!

    New Java Syntax
    Level 2, Lesson 4
    Change the program so that the variable age has the value 15.
    2
    Locked
  • Kiss my shiny metal rear actuator

    New Java Syntax
    Level 2, Lesson 5
    For human students, the first program displays the phrase "Hello World!" Do you know what brutal robot programmers write? Just don't tell anyone: "Kiss my shiny metal rear actuator!" In this task, see what a real coding robot feels like by writing a program that will display this phrase on the scree
    2
    Locked
  • Contract

    New Java Syntax
    Level 2, Lesson 6
    The rule "Always read the terms of the contract!" seems simple enough, but so many people get burned because they don't follow it! But programmers are not like that. They always carefully study project conditions/specifications and only then do they draw conclusions, make plans, and start working. Let's practice a useful skill: we'll change the terms of the contract to be more favorable.
    2
    Locked
  • How to take over the world

    New Java Syntax
    Level 2, Lesson 8
    Enter a name and number from the keyboard, and then display the line: «name» will take over the world in «number» years. Mwa-ha-ha! Example: Kevin will take over the world in 8 years. Mwa-ha-ha! The order in which the data is input matters a lot.
    2
    Locked
  • Predictions

    New Java Syntax
    Level 2, Lesson 8
    Use the keyboard to separately enter the name, number1, and number2. Display the following phrase: «name» will receive «number1» in «number2» years. Here's an example: Nick will receive 10000 in 5 years.
    2
    Locked
  • Deep and pure love

    New Java Syntax
    Level 2, Lesson 8
    Use the keyboard to enter three names, then display: «name1» + «name2» + «name3» = Pure love. Ooo la-la! For example: Kevin + Eva + Angelica = Pure love. Ooo la-la!
    2
    Locked
  • Nerd Break

    New Java Syntax
    Level 2, Lesson 10
    At the end of a level, it's helpful to unwind, watch an interesting video, and dream about your future. We suggest an excellent substitute for TV shows: videos about technology and famous nerds. During this break, you'll see Steve Jobs' famous speech to Stanford graduates. Let it inspire you to study with renewed intensity!
    2
    Locked
  • This age doesn't work for me…

    New Java Syntax
    Level 3, Lesson 4
    Think about what the program is doing. Fix the programming error so that person.age changes value. Hint: carefully review the adjustAge method
    3
    Locked
  • 1
  • 2
  • 3
  • 4
  • ...
  • 107
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.