CodeGym
Promoție
Învățare
Cursuri
Exerciții
Sondaje & quiz-uri
Jocuri
Ajutor
Program
Comunitate
Utilizatori
Forum
Chat
Articole
Povești de succes
Activitate
Recenzii
Abonamente
Temă luminoasă

Tasks

  • Recenzii
  • Despre noi
Începe
Începe să înveți
Începe să înveți acum
  • All tasks
  • Amigo is very smart

    Sintaxa Java
    Level 0,Lesson 2
    Write a program that displays "Amigo is very smart". Example output: Amigo is very smart
    1
    Blocat
  • I think being a programmer is cool

    Sintaxa Java
    Level 0,Lesson 3
    If you don't think that being a programmer is cool, then you must not have tried it yet. It's time to give it a try by writing your first program. Use a screen output command to display a phrase that a CodeGym graduate once scratched on the hull of his spaceship: "I think being a programmer is cool".
    1
    Blocat
  • Kind words for the teacher

    Sintaxa Java
    Level 0,Lesson 4
    Every teacher is top-notch at the secret CodeGym center. Students notice this from the outset (level 0), but they rarely say it out loud. But even a kitten likes a kind word, right? The best compliment for anyone who teaches programming is a program. And if the program also prints the correct phrase, it would be priceless! Let's write a program with a compliment.
    2
    Blocat
  • My young friend

    Sintaxa Java
    Level 0,Lesson 4
    In 3126, everyone knows about System.out.println() and uses it often. It's not just CodeGym students that begin to learn programming with this command. Even children do. Let's write a program that displays my friend's true birth year. He was born 8 years ago.
    2
    Blocat
  • Declare variables

    Sintaxa Java
    Level 0,Lesson 4
    In Java, you can't simply start using a variable! Nobody will understand you. Compilers won't understand and they'll curse at you—you'll see! So if you decide to do something with a variable, you have to announce your intentions publicly! Let's write a program that declares int and String variables.
    1
    Blocat
  • Nerd break

    Sintaxa Java
    Level 0,Lesson 7
    The super secret CodeGym training center has both standard lessons and entertaining lessons. But we don't have them just for the sake of having them. They will teach you loads about your future field of employment! It's time to relax a bit and watch a video about your future colleagues.
    1
    Blocat
  • Bugs and features

    Sintaxa Java
    Level 0,Lesson 8
    Someday you'll be a real programmer, and you'll have your very own (almost) tester. Of course, this is still quite a ways off, but it's never too early to learn: for now, you can remember a phrase that will be useful when talking to your tester! Let's take the screen output command and zealously display: "It's not a bug - it's a feature".
    1
    Blocat
  • No comments needed

    Sintaxa Java
    Level 0,Lesson 8
    Not all comments are equally helpful! Sometimes they appear in the code when a programmer isn't sure about some line and wants to return to it later. For example, in this task we have one unnecessary comment that is making the program work incorrectly. Uncomment one line to get the correct result!
    4
    Blocat
  • 2 + 3 = 5

    Sintaxa Java
    Level 0,Lesson 8
    It's obvious that 2 + 3 = 5, right? As it turns out, this isn't always the case: our test program is incomprehensible, because some genius programmer added extra lines. Restore balance to the world: comment out some lines to display "2 plus 3 is equal to 5" on the screen.
    2
    Blocat
  • We solemnly publish and declare these variables...

    Sintaxa Java
    Level 1,Lesson 3
    In Java, variables must be declared, i.e. we must allocate space for a specific variable type. Only after we have done this can we assign a specific value. It's nice that we can do this literally in one line. In this task, you have to declare several variables and immediately assign them values.
    1
    Blocat
  • A variable on our screen

    Sintaxa Java
    Level 1,Lesson 3
    A beginning Java programmer first learns to declare (variables), assign (values ​​to variables), and display (variables and values). In this task, we will practice all three basic skills. Create a String variable, assign a value, and then display it.
    1
    Blocat
  • One variable is not enough

    Sintaxa Java
    Level 1,Lesson 3
    When learning to program, some work may initially seem like unnecessary repetition. This is an illusion: skill is just repetition (with variations!) and can't be achieved in any other way. So, stop whining. Instead, let's declare variables one more time. This time we'll have three of them, and we'll assign them some values.
    1
    Blocat
  • 1
  • 2
  • 3
  • ...
  • 111
Învățare
  • Înregistrare
  • Curs Java
  • Ajutor pentru exerciții
  • Prețuri
  • Proiecte de jocuri
  • Sintaxă Java
Comunitate
  • Utilizatori
  • Articole
  • Forum
  • Chat
  • Povești de succes
  • Activitate
  • Program de afiliere
Companie
  • Despre noi
  • Contacte
  • Recenzii
  • Centru de presă
  • CodeGym pentru EDU
  • Întrebări frecvente
  • Suport
CodeGymCodeGym este un curs online pentru a învăța programare Java de la zero. Acest curs este o modalitate perfectă pentru începători de a stăpâni Java. Conține peste 1200 de exerciții cu verificare instantanee și un set esențial de noțiuni teoretice despre fundamentele Java. Pentru a te ajuta să ai succes în învățare, am implementat o serie de funcții motivaționale: quiz-uri, proiecte de programare, materiale despre învățarea eficientă și cariera unui dezvoltator Java.
Urmărește-ne
Limba interfeței
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
"Programatorii se formează, nu se nasc" © 2026 CodeGym
MastercardVisa
"Programatorii se formează, nu se nasc" © 2026 CodeGym