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
  • hidden #10604255
    Level 4
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    help a brother out pls!please help.. its giving me a tough problem. it keeps saying error. I want to know y pls..
    • 4/7/20
    • 1335views
    • 5comments
    0
  • Bazsó Benjámin
    Level 20
    Szombathely
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Resolved
    5th condition?i also tried writer.write("\n" + s);
    • 4/15/19
    • 1598views
    • 1comment
    1
  • Agata
    Level 20
    Warsaw
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Resolved
    I can't find the problemI get NumberFormatException: For input string: "String1" but I can't find out why, please help me :)
    • 4/27/20
    • 1461views
    • 22comments
    0
  • harshshah
    Level 9
    Gandhinagar
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    logical error.for n=3300 is not a leap year but it is showing leapyear.
    • 4/17/19
    • 1958views
    • 2comments
    0
  • Bryce Lindley
    Level 9
    Olympia
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Am I close?I took a guess as to using indexOf for the ArrayList. Created Strings shortest and longest. It seems like it should be working but was unsure why I only have one unresolved. Thanks for looking.
    • 4/30/20
    • 959views
    • 3comments
    0
  • LucGar
    Level 22
    Bilbao
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Resolved
    I solved it, but i have a try { while (!current.interrupted() && numSeconds > 0) { Thread.sleep(1000); System.out.println(numSeconds--); a++; } } catch (InterruptedException e) { if (a == 3) { S
    • 4/18/20
    • 1029views
    • 1comment
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Under discussion
    What is Wrong With This Code */ public class Solution { public static void main(String[] args) {
    • 4/25/20
    • 1225views
    • 4comments
    0
  • Alvin B
    Level 8
    Newark
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    I don't understand what I am doing wrongPlease offer suggestions to guide me to a solution. I don't know what I am doing wrong. Thank you in advance.
    • 4/30/20
    • 1128views
    • 1comment
    0
  • romeo
    Level 5
    Paramaribo
    Question about the task Mercantile intentions
    Java Syntax, Level 3, Lesson 12
    Resolved
    Why can i not get it to print the line 10x? It only prints line once...public class Solution { public static void main(String[] args) { //write your code here String s = print(); System.out.println(s); } public static String print() { String text = ("I want a big salary, and that's why I'm studying Java"); for (int i
    • 5/26/19
    • 2122views
    • 6comments
    0
  • Tony Roy
    Level 41
    Victorville
    Question about the task Archiver (part 4)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    compiler error??This compiles for me, but will not compile on the server
    • 4/28/20
    • 1045views
    • 1comment
    0
  • Rajesh R
    Level 7
    Toronto
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    3 Requirements not met The task fails for not meeting the following requirements, any help is appreciated 1. The program should display the number of positive numbers in the original set. 2. If there are no positive numbers, the program should display "Number of positive numbers: 0". 3. Note that 0 is not a positive or n
    • 4/26/20
    • 1029views
    • 2comments
    0
  • Dave Andrea
    Level 41
    Question about the task Horse racing
    Java Core, Level 6, Lesson 5
    Archived
    Cannot figure out what the program wantsMy code runs fine and as far as I can tell it is doing what the requirements ask for. However, the following requirements are contradictory: 2.3. Not treat such a horse as finished. "After the program is finished, the console must indicate that all the horses have finished. Example output for the fi
    • 3/28/20
    • 1207views
    • 2comments
    1
  • Jason Ahn
    Level 4
    Ottawa
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Need help pleaseHaving trouble locating what exactly is wrong with my code. Help would be appreciated. Thanks.
    • 1/22/19
    • 1849views
    • 8comments
    0
  • jake taylor
    Level 17
    Lisbon
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    last requirement whyyyyyy!
    • 4/29/20
    • 944views
    • 2comments
    0
  • Leonard Basag
    Level 7
    Iasi
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Why is not working? I verified everything but it gives an error on the last task. Can you see the problem?
    • 4/29/20
    • 918views
    • 2comments
    0
  • Okabe Rintarou
    Level 4
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Archived
    what is wrong with my code????????I can't get pass this level. someone please need help
    • 12/1/18
    • 1493views
    • 3comments
    0
  • Alvin B
    Level 8
    Newark
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Code Gyms flags the criterion of displaying all three numbers if equal. What am I doing wrong?Code Gyms flags the criterion of displaying all three numbers if equal. What am I doing wrong?
    • 4/29/20
    • 1109views
    • 2comments
    0
  • asif nawaz
    Level 8
    Mumbai
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    not able to complete the taskpls help me with the solution.
    • 4/21/20
    • 1058views
    • 4comments
    0
  • Anton
    Level 26
    Oslo
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Resolved
    Correct output but not validating.What is the problem here?
    • 4/29/20
    • 992views
    • 5comments
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    Solution works, but something doesn't work when verifyingHey, there. When I run this program, everything seems to work and I obtain the correct result. But when I try to verify, it says that the 2nd and 3rd requirements are not fulfilled. "Be sure that the number of even digits is stored in the variable even." and "Be sure that the number odd digits i
    • 4/28/20
    • 1107views
    • 3comments
    0
  • Henry Yao
    Level 22
    Pasadena
    Question about the task Ironing
    Java Core, Level 7, Lesson 10
    Under discussion
    The synchronized block must use a class-level lock.I can not pass the last requirement and when adding line 54 code it fails please help Thanks
    • 4/29/20
    • 859views
    • 2comments
    0
  • ShirAz SiddiQui
    Level 8
    Karachi
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Can anyone tell me the what mistake i make?The output is perfect but i'm not able to pass the 3rd condition which is the max() method
    • 9/22/19
    • 1335views
    • 3comments
    0
  • Andreas Dengler
    Level 16
    Bielefeld
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    I dont know what is wrongi cant pass the 4 Requierment what do I miss?
    • 4/23/20
    • 1154views
    • 5comments
    0
  • Barry Wolmarans
    Level 8
    Johannesburg
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Works - but not passing read 5 stringsNot sure the issue, i have confirmed 5 strings are being read commented section, but i still don't pass the requirement - everything else passes
    • 4/23/20
    • 1191views
    • 2comments
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Recursion for mathematical expressions
    Java Collections, Level 4, Lesson 2
    Under discussion
    Bugged?Or am I missed something?
    • 6/10/19
    • 1959views
    • 2comments
    1
  • hidden #10602322
    Level 3
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    whatis it really is meanError = The min method must return the minimum of the numbers a, b, and c.
    • 4/24/20
    • 1142views
    • 2comments
    0
  • Sidd
    Level 7
    Maple Valley
    Question about the task Come on, lucky seven!
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Plz helpHow does this not work????
    • 4/28/20
    • 1167views
    • 4comments
    0
  • Sidd
    Level 7
    Maple Valley
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    Plz helpHow on earth is this wrong
    • 4/28/20
    • 1037views
    • 2comments
    0
  • Petyo Spasov
    Level 11
    Asenovgrad
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    I can't understend what is wrong.I can't understend what is wrong.
    • 4/28/20
    • 1319views
    • 1comment
    0
  • Bryce Lindley
    Level 9
    Olympia
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    Missing somethingall the lists are printed from printmethod on a new line. Seems like I did it correctly but I must be missing something in the code? Thanks for looking!
    • 4/28/20
    • 1007views
    • 3comments
    0
  • 1
  • ...
  • 204
  • 205
  • 206
  • 207
  • 208
  • ...
  • 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