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
  • Cristian
    Level 13
    Ploiesti
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Why the arithmetic mean result is not correct in my code?Hello! Why the arithmetic mean result is not correct in my code? Thanks a lot! package com.codegym.task.task05.task0507; /* Arithmetic mean */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedRe
    • 11/4/20
    • 639views
    • 7comments
    0
  • Kasia
    Level 22
    Zabrze
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    It works perfectly on Intellij but doesn't run on codygym (and doesn't pass verification)I am sure there is an easy fix, my brain just refuses to see it ^^" Intellij: Input: Cat Cats I Output: CAT CATS I Cat Cat Cat Cats Cats I I I Process finished with exit code 0
    • 11/4/20
    • 655views
    • 4comments
    0
  • Błażej Ka
    Level 1
    Poznan
    Under discussion
    Having hard times with passing 9/16 MinesweeperI have troubles with passing 3rd and 4th task. Can I ask for code review? package com.codegym.games.minesweeper; public class GameObject { public int x; public int y; public boolean isMine; public int countMineNeighbors; public boolean isOpen = true; public boolean isFla
    • 11/4/20
    • 697views
    • 3comments
    0
  • David Close
    Level 17
    London
    Question about the task Lonely arrays interact
    Java Syntax, Level 7, Lesson 4
    Resolved
    im not sure how to assign output is always three, im assuming this is because nameLength is being assigned to the last element of the array with consists of length 3.
    • 11/4/20
    • 674views
    • 2comments
    0
  • Bill Wu
    Level 29
    Wellington
    Question about the task Black box
    Java Multithreading, Level 4, Lesson 4
    Resolved
    Not sure the requirement of the taskWhat means the 5, 4, 3, 2, 1 in the comments? Should I print them when param==5? How could I call super.someAction() since Action is an interface?
    • 4/14/19
    • 1745views
    • 5comments
    0
  • Boiii31
    Level 5
    Sankt Gallen
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    What did i do wrong?I still doesnt quite understand how i connect the two methods together.
    • 11/3/20
    • 552views
    • 1comment
    0
  • Jhoal
    Level 22
    Berlín
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    not matching the 3. conditionhi everyone, I think my code is right but I cannot do that the 3th will be match. What am I doing wrong?
    • 11/4/20
    • 544views
    • 1comment
    0
  • Seth
    Level 38
    Warsaw
    Question about the task Advanced file search
    Java Collections, Level 1, Lesson 2
    Resolved
    I solved it but i'm looking for better solutions package com.codegym.task.task31.task3111; import java.io.IOException; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.util.ArrayList; import java.uti
    • 4/7/20
    • 1130views
    • 2comments
    0
  • slyyx
    Level 15
    New York City
    Question about the task User, loser, coder and programmer
    Java Core, Level 4, Lesson 8
    Resolved
    I think it's a verification issue?Correct output - i think
    • 11/3/20
    • 644views
    • 4comments
    0
  • Alaskian7134
    Level 22
    Iasi
    Question about the task The way of the Samurai
    Java Syntax, Level 3, Lesson 6
    Resolved
    how is defined the quality of the solution?the solution for this task looks pretty basic (like many other tasks), something like System.out.println("日本語"); anyway, after validation it said: Your solution to the task was better than 7% other students. You solved it in 1 attempts. The average number of attempts for this task is 1.11.
    • 11/3/20
    • 657views
    • 4comments
    0
  • David Close
    Level 17
    London
    Question about the task Notepad for new ideas
    Java Syntax, Level 6, Lesson 11
    Resolved
    The code runs but wont pass The output requirement wont fulfill although the code does output.
    • 11/3/20
    • 663views
    • 1comment
    0
  • Patrick Wenk
    Level 5
    Unterstedt
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Resolved
    Trouble with Code + ConceptHey guys, having trouble. I don't know what code is expected From me. I don't even know where we have learnt how objects interact. Could you give me some good book/video references? I googled it, but the results were really introductory to objects and classes, without getting to the meat.
    • 3/6/20
    • 1581views
    • 3comments
    0
  • abhijith arjun
    Level 12
    DeKalb
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Under discussion
    help.why am i not satisfying 4th condition??
    • 8/12/19
    • 1385views
    • 4comments
    2
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Cat code won't compile
    Java Syntax, Level 7, Lesson 12
    Under discussion
    no idea how to deal with itI don't know how to do this after checking my code , it looks in the way but actually it is not really good to execute,could someone give help about how to fix it?
    • 11/3/20
    • 601views
    • 1comment
    0
  • Lgd
    Level 20
    London
    Question about the task Adapting multiple interfaces
    Java Core, Level 9, Lesson 3
    Resolved
    Same error as just about everyone else. Phone number requirement Hello there is anybody able to give a hint about what I have done wrong here. pulling my hair out. thanks
    • 11/2/20
    • 626views
    • 2comments
    0
  • Rajni Agrawal
    Level 12
    Bangalore
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    I have absolutely no idea how to do this Its giving concurrent modification exception . I have absolutely no clue what to ee where to see ... whats the error .. need some help...
    • 11/3/20
    • 586views
    • 1comment
    0
  • Rajni Agrawal
    Level 12
    Bangalore
    Question about the task 20 words that start with the letter "L"
    Java Syntax, Level 8, Lesson 8
    Resolved
    How to return a set containing L starting wordsHow to return a set containing L starting words.. Last validation not met
    • 11/2/20
    • 706views
    • 3comments
    0
  • Rajni Agrawal
    Level 12
    Bangalore
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Resolved
    The code is working for few cases not for allPls hepThe code is working for few cases not for allPls hep
    • 10/28/20
    • 879views
    • 3comments
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task HTML Editor (part 9)
    Java Multithreading, Level 8, Lesson 15
    Under discussion
    TIPS FOR VIEW CONSTRUCTOR
    • 4/8/20
    • 1328views
    • 3comments
    2
  • Anthony Chalk
    Level 30
    London
    Question about the task Horse racing
    Java Core, Level 6, Lesson 5
    Archived
    Please helpEdit: I got rid of lines 27 and 31. Now only the first condition isn't passing. Edit2: I got rid of line 26 and now it passes. Why though?
    • 12/19/19
    • 1310views
    • 3comments
    3
  • Wei Cui
    Level 39
    Newark
    Question about the task HTML Editor (part 6)
    Java Multithreading, Level 8, Lesson 15
    Resolved
    need improve
    • 4/8/20
    • 1182views
    • 1comment
    2
  • AlfredW
    Level 23
    Denver
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Under discussion
    Getting all the correct output no verifyI have tried several different data files to try and see what it is I am missing. Can't figure it. Every possible configuration of tags works. But it still won't verify.
    • 11/2/20
    • 664views
    • 3comments
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    I want to make this program executable. Please Provide HINTS ONLY I had been with Useful links from the Professor – 2 Level 2 Lesson 10 Getting started with classes: writing your own classes, constructors & Methods, method parameters, interaction and overloading In Methods and method parameters Topic There is an example of Truck and Bridge Officer, I trie
    • 11/1/20
    • 455views
    • 2comments
    0
  • Chandan Thapa
    Level 22
    Dubai
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    Help needed!!What am I doing incorrect here? cant figure out!
    • 11/2/20
    • 646views
    • 6comments
    0
  • Yusuf
    Level 3
    Bradford
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    What have I done wrong herePlease help I do not know what I have done wrong in this code I was not expecting myself to complete this without help as it is an epic so please check it out and tell me if you notice anything wrong.
    • 10/28/20
    • 638views
    • 5comments
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Introducing ThreadPoolExecutor
    Java Multithreading, Level 8, Lesson 8
    Resolved
    Bugged?Tried do, while and for loops - to no avail.
    • 5/19/19
    • 1474views
    • 1comment
    2
  • Marcus W
    Level 13
    Not in list
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Can't see why it doesn't verify, it does what it's supposed to?Is the problem that I should check whether there are more than 1 shortest string, and only then put them in another list and print that list?
    • 11/1/20
    • 649views
    • 4comments
    0
  • Maria
    Level 22
    Moscow
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Resolved
    Please, help..What wrong? 0-9 cats displayed...
    • 11/2/20
    • 662views
    • 1comment
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    confusionOutput is definitely correct but the test is not passed what's wrong?
    • 11/1/20
    • 699views
    • 4comments
    0
  • Noob_Coder
    Level 22
    Springfield
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    confusionThere's nothing wrong in my opinion but the output is definitely not correct = 0,idk why
    • 11/1/20
    • 659views
    • 1comment
    0
  • 1
  • ...
  • 119
  • 120
  • 121
  • 122
  • 123
  • ...
  • 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