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
  • Liliane Top
    Level 24
    Amsterdam
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Resolved
    Why do I fail the test? There is obviously something wrong with the verification system but there also might be something wrong with my code. Any help is appreciated.
    • 1/3/21
    • 506views
    • 3comments
    0
  • Nathaniel Mayowa Omole
    Level 15
    Lagos
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Under discussion
    code not compilingThis code is indicating error at the point of reader.readLine() method, I can't see any visible error.
    • 12/30/20
    • 522views
    • 3comments
    0
  • Alex Balandinos
    Level 18
    Lusaka
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    It's printing 4 lines and still not working where have I gone wrong?It's not grafting something am doing wrong
    • 1/21/19
    • 2173views
    • 3comments
    1
  • Dinesh
    Level 7
    Delhi
    Under discussion
    error in variable declarationInt result has been declared at line 14 error: cannot find symbol result; public class Codegym public class Codegym { public static int number = 25; public static void main(String[] args) { Codegym cg = new Codegym(); cg.square(); System.out.println(result); }
    • 1/2/21
    • 594views
    • 5comments
    0
  • Chandan Thapa
    Level 22
    Dubai
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    Output is right - but not passing the validation. Please help!I also tried running this using a file in my local drive .txt file, saved in the below format, id 324 productName laptop price 45.23 quantity 4 id 323 productName desktop cable price 43.22 quantity 12 i get the correct output if i search for 323 it gives me below output: id 323 productName desktop
    • 1/2/21
    • 527views
    • 4comments
    0
  • Kasia
    Level 22
    Zabrze
    Question about the task HashSet of plants
    Java Syntax, Level 8, Lesson 3
    Resolved
    The output is correct but it doesn't pass the last two verifications As in the title. the output is: banana pear iris cheery blackberry ginseng potato strawberry watermelon cantaloupe Any help appreciate :)
    • 10/14/20
    • 700views
    • 3comments
    0
  • Josephine
    Level 2
    Normal
    Question about the task Mirror image
    Java Core, Level 9, Lesson 11
    Resolved
    My code worjs in InteliJ..Please help..My code worjs in InteliJ..Please help..
    • 1/2/21
    • 492views
    • 2comments
    0
  • Liliane Top
    Level 24
    Amsterdam
    Question about the task Splitting a file
    Java Core, Level 8, Lesson 5
    Resolved
    Why do I fail the test?The output is correct but fail condition 2 and 3.
    • 1/2/21
    • 654views
    • 9comments
    0
  • Abdelrahman
    Level 5
    Amman
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Resolved
    why is this wrong?I'm pretty sure I put everything correct, but I'm not sure why it gives an error.
    • 1/2/21
    • 679views
    • 2comments
    0
  • Dyrits
    Level 1
    Question about the task 2048 (Part 18/18)
    Games, Level 0, Lesson 2
    Under discussion
    I can't publish my game...Am I the only one with this issue? This is my code: package com.codegym.games.game2048; import com.codegym.engine.cell.*; public class Game2048 extends Game { private static final int SIDE = 4; private int [][] gameField = new int[SIDE][SIDE]; private boolean isGameStopped; privat
    • 7/31/20
    • 618views
    • 2comments
    0
  • anupam jha
    Level 7
    Under discussion
    void...when u write void before methods it means it returns nothing.fine.but sum method returns the value of the sum .when u add 2 numbers it returns a new number.then how can we write void before sum method? m confused.i know i lack clarity.so please clear it.Thanks
    • 1/1/21
    • 592views
    • 3comments
    0
  • Inga
    Level 3
    Silale
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    don't know where is the mistakes. please help!!
    • 1/1/21
    • 619views
    • 4comments
    0
  • Ru
    Level 2
    Crown Point
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    The print method should display the string 4 times. Each time, on a new line.Hello, I'm confused on the last requirement. What do we need to do? What is it asking, specifically? Thank you.
    • 1/2/21
    • 683views
    • 2comments
    0
  • Chandan Thapa
    Level 22
    Dubai
    Question about the task Two in one
    Java Core, Level 8, Lesson 11
    Resolved
    getBytes() was supposed to do the trick right?!!Could you help where am I making the mistake.. i did not use byte[] buffer as that is another approach. But is there a way to correct the one I wrote?
    • 12/31/20
    • 481views
    • 3comments
    0
  • alex2003527
    Level 2
    Moscow
    Under discussion
    CheatingWhat's going on here? I was promised free training, why are they demanding money from me now to continue it?
    • 1/1/21
    • 528views
    • 0comments
    0
  • valentin Berthol-Raada
    Level 3
    Issy-les-Moulineaux
    Under discussion
    Problem Hello, when I want to start a mission I have this message that appears: To access the task, you need to unlock the lesson that contains it.
    • 4/4/20
    • 999views
    • 0comments
    0
  • BD
    Level 4
    Solothurn
    Under discussion
    Premium AbonnentIst es normal das 1 Jahr so viel kostet wie ca. 3 Monate, oder sehe ich da was falsch?
    • 4/4/20
    • 983views
    • 0comments
    0
  • Kobi
    Level 17
    Haifa
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Help package com.codegym.task.task07.task0716; import java.util.ArrayList; /* love */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("lyre"); // 0 list.add("love"); // 1 list.add("rl");
    • 4/4/20
    • 896views
    • 0comments
    0
  • Dejan
    Level 1
    Den Haag
    Under discussion
    please help how to download and instal java
    • 4/5/20
    • 903views
    • 0comments
    0
  • Daniel
    Level 4
    Berlin
    Under discussion
    Problem bei PunktabzügenHallo, jedes Mal, wenn ich neue Aufgaben freischalten möchte, werden mir Punkte abgezogen, obwohl ich die jeweiligen Aufgaben gelöst habe. Vielleicht kann mir hier jemand weiter helfen. Gruß Daniel
    • 4/6/20
    • 955views
    • 0comments
    0
  • Ciro Cancello
    Level 4
    Napoli
    Under discussion
    How can i ask a (recommendations) about a lesson?How can i ask a (recommendations) about a lesson?
    • 4/6/20
    • 851views
    • 0comments
    0
  • hidden #10600580
    Level 9
    Under discussion
    why does my intellij randomly shut down?whenever im building a program, it will randomly close out. i would like to find out why or if there is a way to fix this.
    • 4/6/20
    • 1027views
    • 0comments
    0
  • Estefania Ak
    Level 4
    Mendoza
    Under discussion
    I CAN'T RUN NOR VERIFY TASKSSS....Does someone else happen to be unable to run or verify exercises from this lesson? https://codegym.cc/quests/lectures/es.questsyntax.level03.lecture03
    • 4/8/20
    • 792views
    • 0comments
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task HTML Editor (part 7)
    Java Multithreading, Level 8, Lesson 15
    Under discussion
    where am i wrong
    • 4/8/20
    • 1126views
    • 1comment
    0
  • non_season
    Level 6
    Zhuhai
    Under discussion
    三角形package zh.codegym.task.task04.task0415; /* 三角形法则 */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //在此编写你的代码 BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String sa = reader.readLin
    • 4/10/20
    • 1005views
    • 0comments
    0
  • Pedzi
    Level 22
    Cape Town
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Please help. whats wrong here?package com.codegym.task.task06.task0606; import java.io.*; import java.util.Scanner; /* Even and odd digits */ public class Solution { public static int even; public static int odd; public static void main(String[] args) throws IOException { int temp, digit, even=0,
    • 4/10/20
    • 1057views
    • 1comment
    0
  • Msaters
    Level 20
    Legnica
    Under discussion
    problem with intelliJ every time when I try to run some program (from codeGym plugin) for some task this is my output : "C:\Program Files\Java\jdk-13.0.1\bin\java.exe" "-javaagent:D:\JAVA\IntelliJ IDEA Community Edition 2019.3.1\lib\idea_rt.jar=58893:D:\JAVA\IntelliJ IDEA Community Edition 2019.3.1\bin" -Dfile.encoding=U
    • 4/15/20
    • 1038views
    • 0comments
    0
  • Bert Doe
    Level 22
    Flanders
    Question about the task 2048 (Part 1/18)
    Games, Level 0, Lesson 2
    Under discussion
    Engine librariesHello, I was wondering if we could get access to the libraries (engine.cell.* eg) that the implementation of these games require. I'd like to run/code the game in my own editor but since I don't use Intellij that is impossible? Thanks, Bert
    • 4/16/20
    • 1095views
    • 0comments
    0
  • Michał Pawłowicz
    Level 18
    Question about the task Arranging calls to join()
    Java Core, Level 6, Lesson 5
    Under discussion
    Thread.sleep(200);Since class Cat extends class Thread, was it possible to use Cat.sleep(200) instead of Thread.sleep(200), just curious.
    • 4/16/20
    • 872views
    • 0comments
    0
  • Jonas
    Level 41
    Vilnius
    Question about the task CashMachine (part 10)
    Java Collections, Level 9, Lesson 15
    Under discussion
    Don't I change it?Mentor says: Be sure that the withdrawAmount(int expectedAmount) method changes the value of the denominations field in the manipulator (after removing a small amount from the ATM, isAmountAvailable should return true if the required amount is still available). Could you please point out what's wro
    • 4/17/20
    • 844views
    • 0comments
    0
  • 1
  • ...
  • 104
  • 105
  • 106
  • 107
  • 108
  • ...
  • 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