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
  • Mishra
    Level 3
    Lansing
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Under discussion
    My answer is corerct, but compiler keeps giving the errorCompiler Error Message: "The convertCelsiusToFahrenheit method must correctly convert degrees Celsius to degrees Fahrenheit and return the result."
    • 10/15/19
    • 1076views
    • 2comments
    0
  • Soham
    Level 5
    Kitchener
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Under discussion
    what is wrong with this code.can someone please explain in simple language since i am not a pro in java, why both if else and switch statements are failing the last condition of the code.
    • 10/15/19
    • 2273views
    • 1comment
    0
  • Alexandru Ovcinicov
    Level 15
    London
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    Help PleaseLast validation fails . The results are fine.
    • 10/12/19
    • 1275views
    • 8comments
    2
  • Dominik
    Level 1
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    requirements are not rightI don't know why it doesn't work. I checked it few times, didn't find any error and results are right, but still requirements are not fulfill
    • 10/10/19
    • 1637views
    • 12comments
    0
  • Mike McKenna
    Level 25
    Wilmington
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Archived
    compile error ? i am dealing with a compile error . from line 25 of task 0614. i do not understand since the error is from code provided to complete task . file com/codegym/task/task06/task0614/ Cat.java/line 25/position 353. illegal start of expression. public static void printCats() ^ Thanks
    • 10/14/19
    • 1220views
    • 1comment
    0
  • Michael Connolly
    Level 5
    Castlereagh
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Getting error?Don't understand why im getting an error?
    • 10/14/19
    • 1053views
    • 1comment
    0
  • John
    Level 27
    Washington DC
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Under discussion
    Keep getting error message that can't reference non-static method in static contextKeep getting error message that can't reference non-static method in static context
    • 10/14/19
    • 1121views
    • 1comment
    0
  • Sourav Gunner
    Level 19
    Birtamode
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    What am i doing wrong here????I don't seem to correct the problem here. 3rd acondition is not satisfied
    • 10/13/19
    • 1037views
    • 3comments
    0
  • WILLIAM WILSON
    Level 3
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    How can I call the method print3() twice and get three output lines? I called print3("word") once and got three outputs"word word word", but I need to call print3("word") twice and get three output words ("word word word").
    • 9/20/19
    • 1961views
    • 2comments
    0
  • SefoBe
    Level 16
    Paris
    Question about the task Beer
    Java Core, Level 3, Lesson 2
    Resolved
    Can you tell me what's wrong with that ?Not sure it's clear for me
    • 10/13/19
    • 1396views
    • 2comments
    1
  • Rashaad A Crews
    Level 5
    Long Beach
    Question about the task Product of 10 numbers
    Java Syntax, Level 3, Lesson 4
    Resolved
    Cant figure this outHi everyone, I know there is a simpler way to execute the requirement, but I wanted to take the "fancy" route to help me grasp calling variables from other methods. Any help is appreciated.
    • 10/12/19
    • 1434views
    • 6comments
    0
  • shizisgood
    Level 9
    Yokohama
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Why my code cannot pass the verificationMy code gives the correct output of the sample input. However, it cannot pass the verification. Can anyone tell me the reason?
    • 10/14/19
    • 1179views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    ?????m not getting out put took me 2 days
    • 8/3/19
    • 1461views
    • 2comments
    0
  • hidden #10536831
    Level 10
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Could you please help me?What's wrong?
    • 10/13/19
    • 1293views
    • 3comments
    0
  • Mike
    Level 9
    Lublin
    Question about the task Snake (Part 2/20)
    Games, Level 0, Lesson 1
    Under discussion
    what is wrongI have received 3 mistakes and I can't figure out what is wrong: ---> The drawScene() method must be called in the createGame() method. ---> The createGame() method must be called in the initialize() method. ---> n the drawScene() method, call the setCellColor(int, int, Color) method on eac
    • 10/12/19
    • 2082views
    • 3comments
    0
  • Ronaldo M
    Level 2
    Chennai
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Under discussion
    Im not able to complete my first code system.out.print(" I think being a programmer is cool")
    • 8/22/18
    • 1516views
    • 2comments
    0
  • Mariam
    Level 0
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Under discussion
    I can't understand where i'm wrong!Public class home { Public static void main (string [ ] args) { System.out.print ("I think "); System.out.print ("being "); System.out.print ("a programmer "); System.out.print ("is cool"); } }
    • 3/8/19
    • 1325views
    • 6comments
    0
  • Online Learner
    Level 6
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Under discussion
    i can't understand this error i think this is a right program but still error was showing here
    • 7/6/19
    • 1021views
    • 5comments
    0
  • TONDO YOYA Ariel Christopher
    Level 16
    Rennes
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Please, I don't see where is the problem...? package com.codegym.task.task07.task0708; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; /* Longest string */ public class Solution { private static List strings = new ArrayList<>();
    • 10/12/19
    • 962views
    • 1comment
    0
  • Laurence Chadwell
    Level 4
    San Antonio
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Oook.....whats wrong with it?I'm having a hard time with one. I thought I had everything I needed, but apparently I don't.
    • 10/12/19
    • 1107views
    • 2comments
    0
  • Mack
    Level 20
    Osiedle-Nowiny
    Question about the task Creating threads recursively
    Java Core, Level 6, Lesson 13
    Resolved
    Where is mistake?help, please
    • 11/28/18
    • 1875views
    • 3comments
    0
  • Robert Constantinescu
    Level 1
    Bucharest
    Question about the task 18+
    Java Syntax, Level 4, Lesson 6
    Resolved
    Right, but wrong in the same timeCan someone help me with what i am doing wrong here? It rouns ok in intellij, but when submitting it doesn pass Thanks
    • 10/11/19
    • 1443views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Under discussion
    I am very tired and delete codeHelp pls
    • 6/29/19
    • 1044views
    • 2comments
    0
  • Maarten Bakker
    Level 13
    Sint-Oedenrode
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    Requirements 2, 3 and 5 keep failing.So far I've built this thing in 3 different ways, and I keep failing these requirements. The output seems to be correct though. Am I missing something? package com.codegym.task.task06.task0606; import java.io.*; /* Even and odd digits */ public class Solution { public static BufferedRead
    • 10/3/19
    • 1856views
    • 4comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Shared list
    Java Core, Level 7, Lesson 10
    Under discussion
    I have done a couple of changes but still lost on what to do... Please help me! :)
    • 10/11/19
    • 1832views
    • 7comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Shared list
    Java Core, Level 7, Lesson 10
    Under discussion
    Is this what they want? Help! I dont get the question..Am not getting what am i supposed to do.. need help!
    • 9/28/19
    • 1735views
    • 10comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Wine tasting
    Java Core, Level 4, Lesson 8
    Archived
    How to recognize taste interface?How to recognize taste interface? How should i recognie the taste interface?
    • 8/29/19
    • 1315views
    • 2comments
    0
  • Jason Macias
    Level 16
    New Jersey
    Question about the task Minesweeper (Part 6/16)
    Games, Level 0, Lesson 0
    Under discussion
    code failing last three requirements, can you see why this might be?This code results in failed tests telling me that the countMineNeighbors() method is setting neighbor the countMineNeighbors for objects that are flagged as mines, but I don't see why this would be happening. On line 37 I have an if statement that should only do that if the object is not flagged as
    • 9/22/19
    • 1186views
    • 1comment
    0
  • Rahul Davuluri
    Level 11
    Hyderabad
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    How to handle when there is multiple spaces between the linepublic static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s = reader.readLine(); String result = ""; //write your code here String[] a = s.split(" "); for(int i=0; i
    • 9/22/19
    • 1543views
    • 1comment
    0
  • Jon Hjerting
    Level 1
    Oslo
    Question about the task The early bird gets the worm
    Java Core, Level 6, Lesson 13
    Under discussion
    Is this a race condition problem?Is this a race condition problem? Each threads increment the readStringCount. Once the while loop detects that count is no longer greater than readStringCount, and exits it the sends an interrupt to the 3 threads but in the meantime they may have already entered a new loop. In my program the readSt
    • 9/24/19
    • 1629views
    • 1comment
    0
  • 1
  • ...
  • 272
  • 273
  • 274
  • 275
  • 276
  • ...
  • 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