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
  • Noob_Coder
    Level 22
    Springfield
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    missing returnmissing return statement not really sure if there's something wrong
    • 10/24/20
    • 519views
    • 3comments
    0
  • deekshit kurnutala
    Level 7
    Mumbai
    Question about the task Static methods for cats
    Java Syntax, Level 6, Lesson 8
    Under discussion
    someone please post the codeim not able to solve the code. please do help me
    • 1/2/19
    • 2574views
    • 5comments
    2
  • Surya
    Level 33
    Newark
    Question about the task Adding a file to an archive
    Java Collections, Level 1, Lesson 6
    Under discussion
    I am not sure what is wrong hereCould any one help me in this.
    • 8/9/20
    • 654views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Wine tasting
    Java Core, Level 4, Lesson 8
    Archived
    dont understand anythinghelp me pls, guys
    • 6/25/19
    • 1596views
    • 3comments
    0
  • Tom ford
    Level 15
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Resolved
    Cannot get pass 5th conditionI have tried "\n" and file.newLine() but I cannot receive verification. Please help!
    • 10/23/20
    • 520views
    • 2comments
    0
  • Dave Andrea
    Level 41
    Question about the task Archiver (part 18)
    Java Multithreading, Level 7, Lesson 15
    Under discussion
    Bugs in solution code?it looks like there are a couple of bugs in the code. Because the project updates the files with CodeGym's own code, I don't believe these bugs are my fault (not that I don't make lots of mistakes, just that I think these ones aren't caused by me). The addFile() function doesn't rewrite the origina
    • 9/28/20
    • 495views
    • 0comments
    0
  • aem
    Level 22
    Amsterdam
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Under discussion
    Requirement 4 is failing with following message: CodeGym security exception. You are performing a forbidden or potentially dangerous operation.For requirement 4 I'm getting the following recommendation message from the mentor: CodeGym security exception. You are performing a forbidden or potentially dangerous operation. When I run the task on IntelliJ the end result is as expected. Where does this security exception happens? package co
    • 10/21/20
    • 861views
    • 14comments
    0
  • Rafal
    Level 3
    Kraków
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    it passed but in my opinion it is errorSystem.out.print(s+ " " +s+ " " +s); and output is window window windowfile file file how to make: window window window file file file? the funniest thing is that it passed, why? could sb explain please.
    • 10/19/20
    • 822views
    • 4comments
    0
  • Timothy Chan
    Level 11
    Hong Kong
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Resolved
    Need HelpWhat's the problem here? Thanks in advance...
    • 10/24/20
    • 622views
    • 2comments
    0
  • Timothy Chan
    Level 11
    Hong Kong
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Need HelpNo idea what's wrong with my code. Thanks!
    • 10/23/20
    • 522views
    • 3comments
    0
  • Rafal
    Level 3
    Kraków
    Under discussion
    how to get a result in intellij IDEA?I have done some simple math code in intellij IDEA and it olny says that the "no problems found" how can i see solution?
    • 10/24/20
    • 448views
    • 1comment
    0
  • Nehal Abubakar
    Level 7
    Karachi
    Question about the task Constructor
    Java Syntax, Level 5, Lesson 9
    Resolved
    Help........Can someone help me out with the query plzzz ..........
    • 9/14/18
    • 3429views
    • 16comments
    0
  • Maxim Raitin
    Level 20
    Tomsk
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    What's wrong?This works, but last task doesn't commit..
    • 9/3/20
    • 683views
    • 3comments
    0
  • Joshua Tyrrell
    Level 7
    Poughkeepsie
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Can't pass the final verification, everything seems to work properly. Can you help find the error?public class Solution { public static int even; public static int odd; public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader (new InputStreamReader(System.in)); int number = Integer.parseInt(reader.readLine());
    • 10/21/20
    • 600views
    • 2comments
    0
  • Valuev Nutt
    Level 4
    Chiba
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Resolved
    I need help if any one can would be greatHow do I fix this
    • 10/22/20
    • 636views
    • 3comments
    0
  • Omer Yavor
    Level 14
    Tel Aviv
    Question about the task Minesweeper (Part 16/16)
    Games, Level 0, Lesson 0
    Under discussion
    This may be stupid but it's frustratingI finished the whole thing (verification works) but when I try to run the game there's this error: Error: Could not find or load main class com.codegym.games.minesweeper.MinesweeperGame Caused by: java.lang.ClassNotFoundException: com.codegym.games.minesweeper.MinesweeperGame I am wondering if I di
    • 7/20/19
    • 1749views
    • 2comments
    0
  • Seferi
    Level 22
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Resolved
    Works but fails the testsHelp is appreciated...
    • 10/23/20
    • 609views
    • 2comments
    0
  • Seferi
    Level 22
    Question about the task Prices 2
    Java Core, Level 8, Lesson 11
    Resolved
    String out of bounds ???Hi, I'm still working on this task but I'm getting a string out of bounds error on line 33 and can't figure out why. Help will be appreciated. Thanks.
    • 10/23/20
    • 865views
    • 8comments
    0
  • Branka
    Level 41
    Belgrade
    Question about the task Refactoring (part 7)
    Java Multithreading, Level 5, Lesson 16
    Resolved
    The printStudentInfo(Student) should display information about the student.I am not sure which part of my code is wrong. Can someone help me figure this one out? I suppose it's in the StudentDatabase class, but I am not sure why it won't pass. Thanks in advance. Branka
    • 4/14/20
    • 1387views
    • 3comments
    0
  • WIDMO
    Level 25
    Gdańsk
    Question about the task Archiver (part 2)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    I have no idea what's wrong, can anybody help?Can you give me at least a hint what I should do? Thx.
    • 7/24/20
    • 1201views
    • 8comments
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    I am not getting the code snippet //generate three random numbers (I need explanation on working of Math.random()*oneLenghth and so on....)import java.lang.Math; public class PhraseOMatic{ public static void main(String[]args){ //Make three set of words to choose from. Add your own! String[] wordListOne = {"24/7", "multi-Tier","30,000 foot","B-to-B","win-win","front-end","web-based","pervassive","smart","six-sigma","critical-path","
    • 10/23/20
    • 423views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Two in one
    Java Core, Level 8, Lesson 11
    Under discussion
    Last condition plsReally need help
    • 6/29/19
    • 1275views
    • 2comments
    0
  • Dmitri
    Level 22
    Seversk
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    Run button of the IDEAWhy Run button of IDEA (green triangle) runs not current code opened on the screen, but previous?
    • 9/16/20
    • 997views
    • 4comments
    0
  • Dmitri
    Level 22
    Seversk
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    My program works okMy program works ok and I do initialize the list of Strings.
    • 10/20/20
    • 660views
    • 2comments
    0
  • Dmitri
    Level 22
    Seversk
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Resolved
    what is wrong with this initialization?What is wrong with this initialization? Is it a sort of bug in the system?
    • 10/20/20
    • 515views
    • 1comment
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    Unable to understand the output of Bold and Underlined statement. In my opinion it must not print this line instead It should print the line that is strikethrough in the program. import java.lang.Math.* ; class Statements{ public static void main(String[]args){ int x = 3; String name = "Dirk"; x = x * 17; System.out.println("x is " + x); double d = Math.random(); while (x > 12) { x = x-1; System.out.print("x is " + x); } for (x = 0; x < 10; x = x + 1
    • 10/22/20
    • 579views
    • 2comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Need help on last taskI'm confused on what to do for the last task. Could someone please guide me.
    • 7/4/20
    • 715views
    • 1comment
    2
  • Anitamalina
    Level 18
    København
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    condition fails: If a triangle with the specified sides could exist, you need to display: "The triangle is possible."hm.. I can't figure out, what is wrong here? I can't fulfil this condition: If a triangle with the specified sides could exist, you need to display: "The triangle is possible." any hints ?
    • 10/19/20
    • 587views
    • 3comments
    0
  • Aleksandr
    Level 22
    Moscow
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Code works with negative, positive, result fine, but not passCan you help please, I don't know where I am wrong.
    • 10/15/20
    • 885views
    • 4comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Resolved
    I get the right output but it wont passSo when I ran the solution in intellij I literally got the right solution. I put null values for the Human father and Human mother reference which I think may be the issue because I think it may be secretly asking me to reference both constructors(which I don't understand). If that's the case I stil
    • 10/21/20
    • 1122views
    • 6comments
    0
  • 1
  • ...
  • 123
  • 124
  • 125
  • 126
  • 127
  • ...
  • 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