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
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    hey anyone accessing codegym thru mobilei can access codegym premium content thru mobile phone. but when i access it thru the web on a laptop its not available. i m afraid i might so something illegal. or did the creators do this on purpose.
    • 29.05.2020
    • 458views
    • 1comment
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task The end
    Java Syntax, Level 7, Lesson 12
    Under discussion
    OMG!!! This arrayList 😡Can anybody help me, pls? I am so stuck...
    • 28.05.2020
    • 909views
    • 4comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Condition not satisfied package com.codegym.task.task04.task0414; /* Number of days in the year */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))
    • 29.05.2020
    • 380views
    • 1comment
    1
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Under discussion
    heeelp meeeee ppppppppplllllllllllsssssssssi dont know answer
    • 26.05.2020
    • 471views
    • 4comments
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    pls help plsits String d = "This is a Windows path: \"C:\\Progam Files\\Java\\jdk1.8.0_172\\bin\""; String a ="This is a Java string: \"C:\\\\Program Files\\\\Java\\\\jdk1.8.0_172\\\\bin\\\""; System.out.println(d); System.out.print(a); } } not the code down below
    • 27.05.2020
    • 941views
    • 4comments
    0
  • David
    Level 26
    Bucharest
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Under discussion
    Help!! I dont understandI get the right output but it doesn't pass Smith:Start game Jones:Start game Gates:Start game Gates:Gather resources Smith:Gather resources Gates:Grow economy Gates:Kill enemies Smith:Grow economy Gates:won! Jones:lost! Smith:lost!
    • 29.05.2020
    • 493views
    • 1comment
    0
  • Leonard Basag
    Level 7
    Iasi
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Good output but last 2 conditions are not metI have good output, but it does'n met last 2 conditions. Can you check it out, please?
    • 29.05.2020
    • 314views
    • 1comment
    0
  • Jaxsen Chew
    Level 29
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    Can't figure out whats wrongHi, Tried using different inputs to debug but all seems ok. Sometimes wish that codegym would show you what situations your code is failing at so that you can work on it
    • 29.05.2020
    • 394views
    • 1comment
    0
  • Azamat Aminov
    Level 41
    Tashkent
    Question about the task Sokoban (part 15)
    Java Collections, Level 10, Lesson 15
    Resolved
    Please helpWhere is the problem. I don't understand
    • 28.05.2020
    • 549views
    • 4comments
    0
  • Show How
    Level 13
    Manchester
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Resolved
    Last two tests are not passingAfter trying so many times I am forced to ask for help. My code produce the correct results I think with ==, isEmpty() and str.equals("") but tests are not passing. Can anyone point to me what's wrong with my code? Thank you.
    • 29.05.2020
    • 433views
    • 2comments
    0
  • Odd
    Level 6
    Clarksdale
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Why is this not working?My code should form a 10x10 multiplication table with a space between each number...and it does. What could the problem be?
    • 08.05.2020
    • 804views
    • 3comments
    0
  • AnnemiekFF
    Level 41
    Breda
    Question about the task Hippodrome (part 6)
    Java Multithreading, Level 1, Lesson 16
    Resolved
    I don't get the problem?The task looks simple enough, but for whatever reason it is not working and I don't know why? As far as I can see I do what they ask. There is a game field initialized in the main, horses added to horses and speed and distance set correctly. I tried it with adding the horses to the existing list, to
    • 13.03.2020
    • 1005views
    • 3comments
    0
  • Ibrahim Sharif
    Level 2
    Trenton
    Question about the task Max, Bella, and Jack
    Java Syntax, Level 2, Lesson 3
    Under discussion
    Neeed help with problemHow do I assign each object to a name.
    • 31.07.2019
    • 1315views
    • 5comments
    0
  • hidden #10529213
    Level 19
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    The output is right!!! Can someone help me The output is right.
    • 22.05.2020
    • 738views
    • 3comments
    0
  • Belinda
    Level 4
    Portland
    Question about the task Financial expectations
    Java Syntax, Level 3, Lesson 12
    Under discussion
    The code below works in Intellij, but it doesn't work when I cut and pasted into the task with code gym....no idea why it works one place and not the other.The code below works in Intellij, but it doesn't work when I cut and pasted into the task with code gym....no idea why it works one place and not the other. package com.codegym.test; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Solution
    • 29.05.2020
    • 424views
    • 2comments
    0
  • Balen Asangbeh
    Level 23
    Douala
    Question about the task Hippodrome (part 6)
    Java Multithreading, Level 1, Lesson 16
    Resolved
    pls what`s wrongpls help
    • 17.04.2019
    • 1312views
    • 5comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    completed the task but again unable to understand how line no 16 is working how int month the passed argument passed inside checkSeason(int month) is working for all of the checkSeason() inside main()
    • 27.05.2020
    • 496views
    • 6comments
    0
  • 0x6019
    Level 3
    Albany
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I'm not sure what's wrong with my code. It displays the right output...I think. It adds 1000 to hackSalary and prints the right stuff. What am I doing wrong?
    • 30.10.2018
    • 1612views
    • 3comments
    0
  • Tahsin Anam
    Level 12
    Helsinki
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Which part I am making the mistake.The verification is saying " Be sure that the length of the longest sequence is calculated correctly when it is located at the end of the list of entered numbers." But I thing I took care of this issue.
    • 28.05.2020
    • 456views
    • 1comment
    0
  • I.A
    Level 7
    unknown city
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    what is wrongwhat is wrong?
    • 11.10.2018
    • 1292views
    • 5comments
    0
  • Alex
    Level 2
    New York
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    I keep getting java overflow?package com.codegym.task.task02.task0214; public class Solution { public static int min(int a, int b) { int m2; int min = min(a,b); if (a < b) m2 = a; else m2 = b; return m2; } public static void main(String[] args) thro
    • 04.04.2020
    • 1326views
    • 5comments
    1
  • JianQiu Hwang
    Level 35
    Washington
    Question about the task Useful methods of the DateTime API
    Java Collections, Level 10, Lesson 10
    Resolved
    What's the problem of the isBefore?What's the problem of the isBefore?
    • 28.05.2020
    • 754views
    • 2comments
    0
  • Szymon
    Level 41
    Warsaw
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    max() method problemHey guys, maybe I'm blind or sth but i cant see whats wrong with it. It seems to work with negative numbers though.
    • 27.05.2020
    • 596views
    • 4comments
    1
  • dhanush
    Level 30
    Chennai
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    help!tell me pls why the last condition is not satisfying
    • 27.05.2020
    • 415views
    • 3comments
    0
  • Derrick Shema
    Level 14
    Bethany
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    Struggling with the logic part of this question.I am getting an output of 0000 and I am not sure what I am doing wrong. while (true) { int n=Integer.parseInt(cbeu.readLine()); if (n==-1) { sum+=n; break; } System.out.print(sum);
    • 27.05.2020
    • 662views
    • 3comments
    0
  • AnnemiekFF
    Level 41
    Breda
    Question about the task Fill 'er up
    Java Collections, Level 9, Lesson 9
    Resolved
    Where is the problem? The output appears to be correct when testedI don't know where the problem is. I check for the 4 adjoining cells as the diagonal joining ones don't count (I think?) and change them if they are the same color as the original. Then I check for each of those changed cells if their adjoining are different and so on. I safe the changes to a variab
    • 08.05.2020
    • 518views
    • 1comment
    0
  • Kamlesh Choudhary
    Level 2
    Mumbai
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    wher i am doing mistakepls guide me
    • 25.05.2020
    • 623views
    • 2comments
    0
  • Lucas Hoage
    Level 14
    Savannah
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    Can it be more efficient? (I'm not allowed to post solution)I feel like there should be a better way to do this. Maybe without creating the string and going straight to parsing instead? But when I do that, I have difficulty incorporating that solution so that the boolean will be modified if the input is read. There is no problem when it's passed into the str
    • 26.05.2020
    • 817views
    • 1comment
    0
  • Michał Kwaśny
    Level 22
    Krakow
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    Verification system getting annoyingHave someone got some Idea what is is not passing step 4? Everything seems perfect.
    • 26.07.2019
    • 1263views
    • 1comment
    1
  • Catherine
    Level 23
    London
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Not sure what is wrongThis seems to be the same issue I am having with similar problems. The output appears to meet all the requirements, but the system is telling me the requirements are not met. I don't know what mistake I am making. Please help!
    • 27.05.2020
    • 346views
    • 2comments
    0
  • 1
  • ...
  • 186
  • 187
  • 188
  • 189
  • 190
  • ...
  • 372
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym