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

Help with tasks

  • Reviews
  • About us
Start
Start learning
Start learning now
  • All questions
  • Sandeep
    Level 6
    Greensboro
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Able to print chessboard in both odd and even casesAble to print chessboard in both odd and even cases, but its throwing The program needs to display the elements of the array on the screen error
    • 7/23/24
    • 312views
    • 6comments
    0
  • Kingpvz
    Level 31
    Under discussion
    This is a certified <введенная строка> moment.Good job translators.
    • 12/21/24
    • 247views
    • 0comments
    0
  • @amsilla
    Level 10
    Question about the task Price of apples
    Java Syntax, Level 3, Lesson 4
    Under discussion
    My solution does not pass the requirementsThe requirements are: ✅ The program should display text on the screen. ❌The Apple class's addPrice method should not display text on the screen. ✅ The Apple class's applePrice variable must be a static int initialized to zero. ❌ The main method should call the addPrice method only twice. ❌ The Apple
    • 12/22/24
    • 225views
    • 1comment
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Autoboxing features (part 2)
    Java Multithreading, Level 9, Lesson 7
    Resolved
    no idea help plsa
    • 8/18/20
    • 857views
    • 7comments
    0
  • Shubham Patil
    Level 5
    Kolhapur
    Question about the task Getting the length of a string
    Java Syntax, Level 2, Lesson 3
    Under discussion
    helpwhat actually do in this can we need to add new strings or not
    • 11/19/22
    • 831views
    • 3comments
    0
  • Muhammad Umar
    Level 1
    -
    Question about the task I think being a programmer is cool
    Java Syntax, Level 1, Lesson 2
    Under discussion
    i didn't understand how to code
    • 9/11/24
    • 281views
    • 5comments
    0
  • nickyy
    Level 18
    Diou
    Question about the task Creating threads recursively
    Java Core, Level 6, Lesson 13
    Under discussion
    I got smth wrong?I d'ont understand it it seems to me that the output is correct, the checks are in place and I use the run method as a recursive threag generator. I am not very clear on what I am missing here. Could you give a hand? :)
    • 9/11/20
    • 3979views
    • 4comments
    0
  • tanaka
    Level 6
    Tokyo
    Question about the task Chess board
    Java Syntax, Level 6, Lesson 5
    Under discussion
    I can NOT complete the fourth "Requirements".I can't complete the fourth "Requirements". I don't know what I'm doing wrong. If you enter an even number, it will be displayed as follows: 6 # # # # # # # # # # # # # # # # # # Odd number: 5 # # # # # # # # # # # # # Could you help me identify what's causing this?
    • 11/23/24
    • 272views
    • 3comments
    0
  • Christy
    Level 5
    Question about the task Working with elements of an array
    Java Syntax, Level 5, Lesson 0
    Under discussion
    Are the values in the array changed?Are the values in this array changed when the sign is changed? I believe once you declare an array, you can't change the values in it.
    • 11/20/24
    • 237views
    • 3comments
    0
  • Christy
    Level 5
    Under discussion
    Mantissa- why is the first digit not included?I'll put the link to the page and the issue I'm querying right here as the system won't let me put the link in the first field. Link : https://codegym.cc/quests/lectures/en.questsyntaxpro.level04.lecture07 (Number 3). My question is not re: a task but the theory part of this lesson (specifically nu
    • 11/19/24
    • 221views
    • 2comments
    0
  • Augusto Ghio
    Level 7
    Question about the task Drawing a triangle
    Java Syntax, Level 4, Lesson 7
    Under discussion
    code is ok, but compilier goes nuts int n=8 ; int m=1 ; int s=1 ; for(int i=1; i<11; i++){ System.out.println(n*s) ; m=m*10 ; s=s+m ; } output goes well until the last loop, where it goes something like 23564365 for no reason
    • 11/18/24
    • 240views
    • 1comment
    0
  • A Man
    Level 2
    -
    Question about the task My young friend
    Java Syntax, Level 1, Lesson 4
    Under discussion
    Should we stick to procedure?I think it doesn't matter if you know how to do it the complex way... for instance public class Solution { public static void main(String[] args) { int x = 3126 int y = 8 int z = (x-y) System.out.println("My Friend's Birth Year: " + z); } } I think the app
    • 11/5/24
    • 243views
    • 1comment
    0
  • A Man
    Level 2
    -
    Question about the task No comments needed
    Java Syntax, Level 1, Lesson 7
    Under discussion
    Logic?Wow! Lots of questions on how to solve this. It requires logic. Your x and y changes as you apply the math and adhere to the task conditions. Now, sometimes you need to take things one at a time. int x = 2; //This clearly tells you the variable x is 2 int y = 12; //This also tells you the va
    • 11/5/24
    • 236views
    • 0comments
    0
  • ewhwj
    Level 1
    Under discussion
    dnsna an sode!samera(__6__) SERA app SGrla8 { { { { {.exe/sons-in-law((the best//
    • 10/31/24
    • 230views
    • 0comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    whats wrong with my if else condition?package com.codegym.task.task02.task0214; /* Minimum of two numbers */ public class Solution { public static int min(int a, int b) { //write your code here int minimum; if (a < b) { minimum=a; else minimum=b; }return
    • 2/29/20
    • 1599views
    • 12comments
    0
  • Evgeniia Shabaeva
    Level 42
    Budapest
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Resolved
    Why is my "users" list still empty after all I've done?It's probably time to ask for help. Below is the code I've written. I keep getting the 2nd requirement wrong, and the tip from the validator is, "Check why the users list is empty after the file has been read". I understand that the problem must be with the load method that doesn't do what I'm makin
    • 11/6/24
    • 324views
    • 16comments
    0
  • Sam
    Level 2
    Delhi
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Resolved
    I don't get it ..isn't it right? still says: In the main method, create a Person object and immediately assign a reference to it to the variable person. ?? package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { //write your code here Person Person = new Person(); } public static class Person { //write your code here
    • 8/19/18
    • 3388views
    • 17comments
    0
  • Christy
    Level 5
    Under discussion
    Please critique the code below and explain how and why I can write it better...I understand that the variable names can be a bit more concise and relevant and also that the 'b' variable is redundant. However if I delete the b variable and I run the code, I get a multiplication table that prints up to num * 9 (it should print up to num * 10). At the end of the code, if I remove
    • 11/2/24
    • 244views
    • 5comments
    0
  • SOUFIANE DAHIMI
    Level 32
    Marrakech
    Question about the task A switch for threads
    Java Multithreading, Level 5, Lesson 5
    Under discussion
    Please what's wrong with this codeI don't know why the requirements are not met
    • 4/10/20
    • 1141views
    • 7comments
    0
  • mortarz
    Level 1
    Ceske Budejovice
    Question about the task Amigo is very smart
    Java Syntax, Level 1, Lesson 1
    Under discussion
    What am I doing wrong? I don't understand the error messageWhy is the following code wrong? I copied it from the article that was supposed to teach me. public class Solution //swapped "house" for "solution { public static void main (String[] args) //there is never explained what exactly this line do ... { System.out.println("Amigo is very smart");
    • 11/2/24
    • 324views
    • 1comment
    0
  • Michal
    Level 26
    Lodz
    Question about the task New functionality!
    Java Multithreading, Level 5, Lesson 2
    Under discussion
    This entire course is a joke
    • 6/11/20
    • 655views
    • 3comments
    0
  • LeonThePro
    Level 4
    Question about the task Price of apples
    Java Syntax, Level 3, Lesson 4
    Under discussion
    totally clulessI was following some assistance that was provided by a codegym graduate person to a beginner and just stupidly copied and paste onto my assignment. I literally dont have a clue about whats going on i feel like the whole subject wasnt explained properly and I have 0 understanding of what is this code
    • 10/30/24
    • 305views
    • 5comments
    0
  • LeonThePro
    Level 4
    Question about the task Count the number of cats
    Java Syntax, Level 3, Lesson 5
    Under discussion
    The Cat class must have only one count variable.for me it seems like the code looks pretty good and i literally have only one count variable... so what am I missing here?
    • 10/31/24
    • 240views
    • 1comment
    0
  • LeonThePro
    Level 4
    Question about the task What's the cat's name?
    Java Syntax, Level 3, Lesson 5
    Under discussion
    private variableWhen we have a private variable ( or whatever it is ) the only method to call it is by using the "this" operation?
    • 10/31/24
    • 233views
    • 1comment
    0
  • LeonThePro
    Level 4
    Question about the task Price of apples
    Java Syntax, Level 3, Lesson 4
    Under discussion
    I don't understand the code itself.I have a serious question... I come without any prior knowledge in programming or computer science, I started to learn here on codegym and everything went surprisingly smooth and it felt even too easy to be true ( lol ). Like we learned how to declare different types of variables like int, string, e
    • 10/31/24
    • 226views
    • 1comment
    0
  • LeonThePro
    Level 4
    Question about the task This age doesn't work for me…
    Java Syntax, Level 3, Lesson 4
    Under discussion
    CluelessLiterally have no clue what's wrong here... Would love a good explanation. thanks upfront :)
    • 10/30/24
    • 324views
    • 5comments
    0
  • LeonThePro
    Level 4
    Under discussion
    Feeling overwhelmed and lostHey everyone, so this is my first serious try to learn Java programming. I started a couple of days ago and everything went almost smooth! Now im at the "Visibility of Variables" part ( Level 3, Lesson 3 ) and I feel like i miss a lot of info and understanding of basic concepts. I don't understand c
    • 10/30/24
    • 286views
    • 8comments
    0
  • Nursultan Zhumataev
    Level 15
    Question about the task Cat carnage (3)
    Java Syntax, Level 10, Lesson 2
    Resolved
    3rd and 6th requirementsHello guys. I have code in the bottom and tried firstly to compare the weight, age and strength. After tried compare only strength. But in both of the cases don't meet the 3rd and 6th requirements
    • 10/28/24
    • 244views
    • 4comments
    0
  • LeonThePro
    Level 4
    Question about the task How to take over the world
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Feeling lost here... can some assist me?I feel like i dont know even where to start. The whole scanning part got me confused since the short video speaks about scanner and etc. and the whole written lesson speaks about bufferreader... Would love to have some assistance in order to understand it properly. Thanks upfront!
    • 10/29/24
    • 252views
    • 2comments
    0
  • LeonThePro
    Level 4
    Question about the task Predictions
    Java Syntax, Level 2, Lesson 8
    Under discussion
    weird thing hereCan someone explain me what am I missing out here?
    • 10/29/24
    • 232views
    • 3comments
    0
  • 1
  • ...
  • 5
  • 6
  • 7
  • 8
  • 9
  • ...
  • 374
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 © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym