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
  • 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")
    • 22.08.2018
    • 1380views
    • 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"); } }
    • 08.03.2019
    • 1176views
    • 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
    • 06.07.2019
    • 915views
    • 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<>();
    • 12.10.2019
    • 843views
    • 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.
    • 12.10.2019
    • 972views
    • 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
    • 28.11.2018
    • 1749views
    • 3comments
    0
  • Robert Constantinescu
    Level 25
    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
    • 11.10.2019
    • 1323views
    • 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
    • 29.06.2019
    • 938views
    • 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
    • 03.10.2019
    • 1659views
    • 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! :)
    • 11.10.2019
    • 1656views
    • 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!
    • 28.09.2019
    • 1576views
    • 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?
    • 29.08.2019
    • 1195views
    • 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
    • 22.09.2019
    • 1072views
    • 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
    • 22.09.2019
    • 1395views
    • 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
    • 24.09.2019
    • 1498views
    • 1comment
    0
  • pteo
    Level 5
    Bucharest
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    can anyone help?I have no idea what might be wrong
    • 07.10.2019
    • 1171views
    • 2comments
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Under discussion
    One Part not clear underestedWhy solution class could include another class Cat and this class is public class?
    • 27.09.2019
    • 1942views
    • 3comments
    0
  • James Mackenzie
    Level 7
    Victoria
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    The program should display the maximum of the N entered numbers.Hi Guys, Is there some hidden criteria i'm missing, i've made code that outputs the maximum number yet still throws the above error in the subject.
    • 10.10.2019
    • 1117views
    • 3comments
    0
  • Laurence Chadwell
    Level 4
    San Antonio
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Help pretty pleaseSo I found a different method of doing this but is not friendly. I was able to split the array with 10 each because I tested them with a toString method to make sure. Well codegym is not accepting that and I been unable to do a b[i] vertically because it does not accept that argument. What to do....
    • 09.10.2019
    • 1161views
    • 3comments
    0
  • Au Ivan
    Level 17
    Hong Kong
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Resolved
    That is really frustrating...What is the problem...Please help..... Have tried numerous time, but still cant get it
    • 01.10.2019
    • 1344views
    • 9comments
    0
  • nan
    Level 9
    Lorient
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    position of sc.nextInt() I put the insttruction: int i = sc.nextInt(); before the block while, the programme took too long time to run. However, when I put this instruction inside the block while, it works. Can someone explain to me why please?
    • 04.09.2019
    • 2034views
    • 5comments
    0
  • Jen P
    Level 26
    Question about the task Splitting a file
    Java Core, Level 8, Lesson 5
    Resolved
    Please help to check the logic on my line 29 -39. I tried so many different ways to check readByte is odd or even.I constantly got errors when submission : The first half of the bytes in the first file must be written to the second file. - When there is an odd number of bytes in the first file, your program writes the smaller half of the bytes. It should write the larger half. The second half of the bytes in t
    • 05.08.2019
    • 1192views
    • 3comments
    4
  • Emanuele Gurini
    Level 18
    Porto Recanati
    Question about the task Wine tasting
    Java Core, Level 4, Lesson 8
    Archived
    I didn't understand the last part of the exerciseOk guys, i'm am in front of the problem, but i didn't understand what i have to do: someone could explain me what is answering me the exercise in the last part? love ya all
    • 07.09.2019
    • 1149views
    • 4comments
    0
  • Joseph
    Level 22
    Question about the task Minesweeper (Part 7/16)
    Games, Level 0, Lesson 0
    Resolved
    Quick question on overriding methodsIn this task we are asked to override the method onMouseLeftClick which I did and passed verification. Maybe this is a simple thing but it is still confusing to me. I didn't include any logic for mouse clicking when I overrode the method. Yet it still works. Anyone know why this is the case?
    • 05.10.2019
    • 970views
    • 2comments
    0
  • Sid Sanghavi
    Level 7
    Dearborn
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    What's wrong with this?I am getting the right outputs, but it fails me in every task. Output is: grandfather grandmother
    • 09.10.2019
    • 1094views
    • 7comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task CRUD 2
    Java Core, Level 7, Lesson 10
    Resolved
    What am i missing? last condition Can someone help me with the last requirement?
    • 10.10.2019
    • 1138views
    • 1comment
    0
  • Boris the Llama
    Level 20
    Maidstone
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Under discussion
    Thread 4 will not verify - tried 29 timesDoes anyone know anyway to pass the requirement relating to thread 4? I have tried the other solutions mentioned on other answers and haven't been able to pass.
    • 19.08.2019
    • 1472views
    • 12comments
    0
  • mohammed azeem
    Level 5
    hyderabad
    Under discussion
    positive or negative numberwhat is this error zero is not a positive or negative number package com.codegym.task.task04.task0429;
    • 10.10.2019
    • 911views
    • 2comments
    0
  • Joshua Griebling
    Level 8
    Houston
    Question about the task You can't buy friends
    Java Syntax, Level 5, Lesson 9
    Under discussion
    Help pleaseI keep on getting this error and I am wondering how to fix it. Can someone help, please?
    • 22.05.2019
    • 1647views
    • 4comments
    0
  • jack reacher
    Level 4
    a man from nowhere
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Under discussion
    what is the problem in it? why i couldn't verify ?
    • 11.10.2018
    • 1412views
    • 6comments
    0
  • 1
  • ...
  • 270
  • 271
  • 272
  • 273
  • 274
  • ...
  • 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