Promotion
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
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
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
Any status
Available
In progress
Completed
Closed
It's cool to be a programmer!
New Java Syntax
Level 1,
Lesson 3
Write a program that displays: "I think being a programmer is cool". Example output: I think being a programmer is cool
Kind words for the teacher
New Java Syntax
Level 1,
Lesson 4
Write a program that displays "Ellie is very smart" 5 times. Each time, on a new line. Example output: Ellie is very smart Ellie is very smart Ellie is very smart Ellie is very smart Ellie is very smart
My young friend
New Java Syntax
Level 1,
Lesson 4
It's currently 3126. My friend was born 8 years ago. Write a program that displays my friend's birth year.
Declare variables
New Java Syntax
Level 1,
Lesson 4
Write a program that declares the following variables in the main method: String name, int age, and String city. Note: "Declaring a variable" is the same thing as "creating a variable".
No comments needed
New Java Syntax
Level 1,
Lesson 6
Uncomment one line so that the program displays the numbers 12 and 2 (first 12, and then 2).
2 + 3 = 5
New Java Syntax
Level 1,
Lesson 6
Comment out a few lines to display "2 plus 3 is equal to 5" on the screen. Note: Don't comment out the lines with variable declarations.
Uh... Happy New Year!
New Java Syntax
Level 1,
Lesson 6
Remove comments from part of the code so that "Happy New Year" appears on the screen.
Comment out the superfluous
New Java Syntax
Level 1,
Lesson 6
Comment out some code so that "sum = 12" appears on the screen.
Nerd break
New Java Syntax
Level 1,
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.
Bugs and features
New Java Syntax
Level 1,
Lesson 8
Write a program that displays: It's not a bug - it's a feature.
We solemnly publish and declare these variables...
New Java Syntax
Level 2,
Lesson 3
Declare int variables called a and b. In the same line in which the variables are declared, immediately assign them different values. The values can be any integers.
A variable on our screen
New Java Syntax
Level 2,
Lesson 3
Declare a String variable called name. In the line where we declare the variable, immediately assign it some value. Display the variable "name" on the screen.
Show more
1
2
3
...
107
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
.
Accept and close
Please enable JavaScript to continue using this application.