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
  • Seferi
    Level 22
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Resolved
    Help pleaseThanks in advance..
    • 10/15/20
    • 546views
    • 4comments
    0
  • Shadow
    Level 7
    Hogsmead
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Under discussion
    its showing :Identifier missing in System.out.println(man1.name ^
    • 10/16/20
    • 598views
    • 3comments
    0
  • romeo
    Level 5
    Paramaribo
    Resolved
    HELP!!! Problems with Solutions using IntelliJ IDEA...When I try to run the code for a Codegym task. it runs the last solution instead of the current one. I have to manually change the solution configuration to match the current task. I.e ( I have to change task0319 to task0320 using the solution folder at the top...)
    • 5/26/19
    • 1760views
    • 3comments
    0
  • Jhoal
    Level 22
    Berlín
    Question about the task Minesweeper (Part 3/16)
    Games, Level 0, Lesson 0
    Under discussion
    I don't know what I m doing wrongHi guys do you have any idea what am i doing worn? I'm having this message all the time com/codegym/games/minesweeper/part03/GameObject.java:12: error: unreachable statement return y; What am I missing?
    • 10/16/20
    • 633views
    • 2comments
    0
  • Timothy Chan
    Level 11
    Hong Kong
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Resolved
    Can't meet the requirement 3What's wrong with it? Why the minimum is -9? Thanks in advance!
    • 10/15/20
    • 678views
    • 4comments
    0
  • Inifome
    Level 10
    Delta
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    got the answer and tested it with different input but no verificationdon't know why the last condition failed to get verified please can anyone help point out my mistakes
    • 10/13/20
    • 745views
    • 17comments
    0
  • Davedabull
    Level 22
    New York City
    Question about the task Long words
    Java Core, Level 9, Lesson 11
    Resolved
    Can someone debug my codes?I think it's working fine but it's not passing...
    • 10/15/20
    • 528views
    • 2comments
    0
  • Vitalina
    Level 20
    Question about the task Minimum of N numbers
    Java Syntax, Level 8, Lesson 11
    Under discussion
    What's the problem with the getMinimum() method??I'v tried 4 different ways for getMinimum() method but no one works. It seems like the list is empty... I don't know what to do.. I will be pleased if someone will help me. Thanks in advance!
    • 10/15/20
    • 507views
    • 2comments
    0
  • arafat
    Level 4
    Dhaka
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Resolved
    what's wrong here ?????when i ran the program i got 9.9 so i think its correct because if you increase 9 by 10 percent the answer is 9.9 please explain me what's wrong
    • 3/25/19
    • 2596views
    • 11comments
    0
  • Jan Elšík
    Level 41
    Prague
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Resolved
    I know it is odd solution on my side, but I think it worksHi, So my thinking was basically this: get the first file to list round and move to list move to list with added " " change list to String write to file 2. I am way top tired to think about more pretty solution (and also eliminate some unecessary steps there), so my question is - is my solutio
    • 10/15/20
    • 623views
    • 2comments
    0
  • Krad
    Level 14
    Cherry Log
    Resolved
    So I'm using intellij and I don't see the solution when I click run. I only see "process finished with exit code 0". Any thoughts on how to bring back the output? m,
    • 10/15/20
    • 636views
    • 2comments
    0
  • Jesús de Llera
    Level 23
    Badajoz
    Question about the task John Johnson
    Java Core, Level 9, Lesson 11
    Resolved
    Validator complaining about namesI don't see where the problem is. Validator is telling me to "Be sure that names are correctly added from the file to the PEOPLE list." But I've run a loop on PEOPLE and all the names are in there as they should. Any hint? Thanks!
    • 7/12/19
    • 2202views
    • 4comments
    0
  • Davedabull
    Level 22
    New York City
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    Works with the example, but not passingThe codes works with multiple args keywords and nested tags, but still not passing, any thoughts?
    • 10/14/20
    • 701views
    • 5comments
    0
  • Azhar Iqbal
    Level 18
    Multan
    Question about the task Let's talk music
    Java Core, Level 6, Lesson 3
    Resolved
    Is there any problem in my code ?A little hint is required.
    • 10/8/18
    • 2197views
    • 3comments
    4
  • Henrique
    Level 41
    São Paulo
    Question about the task Mixed-up modifier
    Java Syntax, Level 8, Lesson 11
    Resolved
    Solved it, but didn't quite understandHi! Why "public int C = A * B;" (non static) can use "A" and "B" (which are static)? Inside this static and non static field, what's the difference between "public int C = A * B;" and "public static int D = B * A;"? I've already read the article about it, but everytime this task appears I see tha
    • 5/13/20
    • 998views
    • 6comments
    2
  • Joshua Tyrrell
    Level 7
    Poughkeepsie
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    it prints the expected output, yet says I need to check the number of rows. Can someone double check me?import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader (new InputStreamReader(System.in)); String num1 = reader.readLine(); int rows = Integer.parseInt(num1); String
    • 10/14/20
    • 862views
    • 3comments
    0
  • Ian De Bie
    Level 28
    Austin
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Resolved
    Please help. Why doesn't this pass tests, but it works in my IDE?Can anyone tell me what is specifically failing here please? The program calls alert(Double) if the value contains a period ".", or otherwise it calls alert(String), but it fails those validation tests.
    • 10/14/20
    • 532views
    • 1comment
    0
  • Cam
    Level 15
    Bogota
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    I'm not sure what is wrongBy my logic this should print out all the family. I've read a few of the other comments and I suppose there is nothing wrong in my code. But validation says otherwise
    • 10/14/20
    • 1283views
    • 7comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task File in a static block
    Java Core, Level 5, Lesson 12
    Under discussion
    What am I doing wrong?It is telling me In the static block, all lines from the file named FILE_NAME must be added separately to the List lines. I am adding them separately.
    • 5/27/19
    • 1906views
    • 2comments
    0
  • Ian De Bie
    Level 28
    Austin
    Question about the task Default values
    Java Core, Level 5, Lesson 9
    Resolved
    Is this the proper way to solve the problem?I solved it with reflection, but not sure if that is acceptable. public static void main(String[] args) throws IllegalAccessException { Solution solution = new Solution(); for(Field f : Solution.class.getFields()) System.out.println(f.get(solution)); }
    • 10/14/20
    • 621views
    • 2comments
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    What's wrong with code?
    • 10/14/20
    • 454views
    • 1comment
    0
  • Ahmad Dabagh
    Level 9
    Hannover
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    Task requirements are not met pls HelpThe code works with me But i don't understand why not accept it it says ( Task requirements are not met ) 😟
    • 10/14/20
    • 621views
    • 2comments
    0
  • Marek Pasierbek
    Level 9
    Poznań
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Under discussion
    Why it is correct? package com.codegym.task.task18.task1821; import java.io.FileReader; import java.io.IOException; public class Solution { public static void main(String[] args) throws IOException { int[] aSCII = new int[128]; try (FileReader reader = new FileReader(args[0])) { whil
    • 10/14/20
    • 573views
    • 1comment
    0
  • Tom ford
    Level 15
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Under discussion
    The first letter is not being accounted with repetition...HELP..
    • 10/14/20
    • 510views
    • 1comment
    0
  • Ahmad Dabagh
    Level 9
    Hannover
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Resolved
    Why?I have done this task but i don't understand why was this Code is not correct and the result was ( 98 ) 🤯 int num = reader.read(); Why wthis this Code dosn't worked the result was ( 98 ) int num = Integer.parseInt(reader.readLine()); Why to int ? it's worked but i dont unders
    • 10/13/20
    • 633views
    • 4comments
    0
  • Benjamin Winchester
    Level 17
    Savannah
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    Not sure why this isnt working.Please help.
    • 11/26/18
    • 2459views
    • 7comments
    0
  • Шарох
    Level 12
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Hi Coders!It's simple problem but I don't know what should I do :(
    • 10/14/20
    • 850views
    • 2comments
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    what's wrong with this code?
    • 10/14/20
    • 477views
    • 1comment
    0
  • Erextor
    Level 9
    Moscow
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    what is wrong?what is wrong with my answer? package com.codegym.task.task04.task0409;
    • 10/13/20
    • 617views
    • 2comments
    0
  • Шарох
    Level 12
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    Hi Coders!I solved it but I'm confused :( Why (a%2 == 0) is true for "Negative and even" ?! Why we don't write (a%2 != 0) ?
    • 10/13/20
    • 498views
    • 2comments
    0
  • 1
  • ...
  • 127
  • 128
  • 129
  • 130
  • 131
  • ...
  • 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