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
  • Dominik
    Level 27
    Warsaw
    Question about the task Phone number verification
    Java Multithreading, Level 2, Lesson 13
    Resolved
    I'm missing something?Hi, validator says that I do not check all verification criteria. Can you tell me what I'm missing? Meaby I don't understand the "\\d" regex
    • 11.07.2021
    • 543views
    • 6comments
    0
  • Azja
    Level 32
    Krakow
    Question about the task 2048 (part 8)
    Java Multithreading, Level 10, Lesson 15
    Archived
    Where I am wrong with that code, or is this bug?"The Model class's canMove method must be implemented in accordance with the task conditions." In my code in Model class canMove() function: Firstly, check if there are at least one empty tile. If true, movement can be made. Else, do copy of current state of board, next check if in movement to left,
    • 25.09.2019
    • 1244views
    • 3comments
    0
  • Toka
    Level 11
    Dugo Selo
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    Help! can't figure it out. Output is correct....
    • 12.07.2021
    • 618views
    • 1comment
    0
  • Bhavana eligeti
    Level 8
    Mancherial
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    help me to slove this questionAm not getting given strings each 4 times last condition not applying my code this is my code public class Solution { public static void main(String[] args) {
    • 08.08.2020
    • 911views
    • 3comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    Though I am Getting the proper out put. But did not get the way it is being processed. When I am passing the argument s in System.out.println(s); The out put is as follows:- Java is easy to learn! Java is object-oriented! Java is platform-independent! When I pass the same argument consecutively in others as under:- System.out.println(s); System.out.println(s); System.out.println(s)
    • 14.10.2020
    • 586views
    • 4comments
    0
  • Karolis Garšva
    Level 16
    Gravesend
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Resolved
    what else?Output is good as in example, tried toUpperCase, stil midle 3 conditions not satisfied. Whats wrong?
    • 09.07.2021
    • 428views
    • 2comments
    0
  • Andrei
    Level 41
    Question about the task AmigoSet (part 5)
    Java Collections, Level 4, Lesson 15
    Resolved
    How in God's name does it know, that one readtInt() is capacity and the next readInt() is size?Lines 23 and 28? How does it make that difference? How do we know that the first time we readInt it brings back the capacity and the next time we readInt it returns the size? What kind of magic is this? Also, what about readFloat? In the description it just says it reads a 32 bit float. How do we
    • 10.07.2021
    • 728views
    • 5comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Display numbers in reverse order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    I don't understand what this task is asking forAssume a sample input is: 5, 74, 16, 2, 14, 127, 53, 30, 14, 11 By reverse order, do they mean: 11, 14, 30, 53, 127, 14, 2, 16, 74, 5 or 127, 74, 53, 30, 16, 14, 14, 11, 5, 2 Current code is for the second version, but I initially tried the first version using the follow code replacing everything
    • 11.07.2021
    • 595views
    • 3comments
    0
  • Evgen
    Level 23
    Question about the task Introducing tags
    Java Core, Level 9, Lesson 11
    Resolved
    please help me to find my mistakethey said that problem is in output of nested tags
    • 11.07.2021
    • 501views
    • 7comments
    0
  • Evgen
    Level 23
    Under discussion
    please help me to find mistakeproblem in output of nested tegs
    • 11.07.2021
    • 335views
    • 1comment
    0
  • Ryan Palmer
    Level 20
    Philadelphia
    Question about the task Consecutive threads
    Java Core, Level 6, Lesson 13
    Under discussion
    print statement and to string method I can't seem to understand how these two segment of lines interact. while (true) { Thread current = currentThread(); System.out.println(this); public String toString() { return "#" + getName() + ": " + countdownIndex; } The program is blank without the fir
    • 09.07.2021
    • 496views
    • 3comments
    0
  • Ice_ Beam
    Level 7
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Why is this code false? But it actually fufills everything?Can someone explain why it wouldn't pass the 3rd, 4th and 5th requirements? I got frustrated and copy pasted the solution, just to pass this task. Scanner input = new Scanner(System.in); ArrayList numList = new ArrayList(); for (int i = 0; i < 20; i++) { String s = input.nextLine();
    • 10.07.2021
    • 753views
    • 4comments
    0
  • Riten Shah
    Level 4
    Abu Dhabi
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    The displayed text must fully match the task conditions.looks like there's a typo but I'm not able to identify it. pls help me out. Thanks.
    • 11.07.2021
    • 609views
    • 2comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    Code consistently produces the correct result when run, but fails last validation criterionFirst, let me just mention that the code I type here keeps getting changed when it shows in the preview. So it's possible that what you see isn't the code I typed. I'm going to check what it posts as soon as I hit publish and update with a comment if it's not my code. I'm not sure why this keeps hap
    • 11.07.2021
    • 981views
    • 3comments
    0
  • BigRatBaby
    Level 20
    Washington
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Seems to work but doesnt verify.Hello! I tried the code with several different M and N values and although I am getting the correct output for each my program is not verifying. Any help would be appreciated, thanks!
    • 11.07.2021
    • 509views
    • 2comments
    0
  • Zach
    Level 22
    Fort Collins
    Question about the task Extending AmigoOutputStream
    Java Core, Level 8, Lesson 8
    Under discussion
    The QuestionFileOutputStream class must initialize the AmigoOutputStream field in the constructor.I'm confused as to how you do this task? Any help appreciated
    • 10.07.2021
    • 507views
    • 1comment
    0
  • Ice_ Beam
    Level 7
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Resolved
    Code works, but fails the last 2 conditions? Help please?Basically I solved it using the previous task way of solving, but now finding the min value. The code works so I don't know why it's wrong? Any help is appreciated!
    • 09.07.2021
    • 642views
    • 2comments
    0
  • Gustav
    Level 1
    stockhol
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Under discussion
    What am i suposed to do about this? : package system does not exist. file com/codegym/task/task01/task0101/Solution.java, line 11, position 197. Here is my code!package com.codegym.task.task01.task0101; /* I think being a programmer is cool */ public class Solution { public static void main(String[] args) { //write your code here system.out.print("I think"); system.out.print(" being a programmer is cool"); system.out.
    • 09.07.2021
    • 435views
    • 2comments
    0
  • Erextor
    Level 9
    Moscow
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    couldn't check out last requirementwhat's wrong?
    • 09.07.2021
    • 696views
    • 2comments
    0
  • Karolis Garšva
    Level 16
    Gravesend
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Resolved
    where is the mistake?the output is correct but third condition not satisfied.
    • 08.07.2021
    • 506views
    • 4comments
    0
  • LT
    Level 9
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Resolved
    Task requirement not met??? It meets the required output.
    • 08.07.2021
    • 463views
    • 4comments
    0
  • Shashikant Sharma
    Level 8
    Surat
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Can anyone solve my problem...?😭My Output Is Correct. Still It Shows Too Many Requirements Not Met. Please Anyone Tell Me, What's The Issue With My Code?
    • 03.07.2021
    • 751views
    • 7comments
    0
  • slyyx
    Level 15
    New York City
    Question about the task Snake (Part 10/20)
    Games, Level 0, Lesson 1
    Under discussion
    move() method does what it's supposed to, still doesn't verifyI don't understand. For the condition "In the move() method, the result of the call to the createNewHead() method must be added to snakeParts at position 0", isn't that exactly what line 53 does??
    • 07.07.2021
    • 736views
    • 1comment
    0
  • LT
    Level 9
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Resolved
    What's wrong with my code?Outputs are correct.
    • 05.07.2021
    • 560views
    • 5comments
    0
  • Seferi
    Level 22
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    Help pleaseSeems to work until a String is entered... But fails all tests...
    • 01.09.2020
    • 972views
    • 17comments
    0
  • John
    Level 17
    Mansfield
    Question about the task Countdown
    Java Core, Level 6, Lesson 7
    Resolved
    why not passing the 2nd and 3rd condition?What's wrong the output is correct
    • 07.07.2021
    • 353views
    • 2comments
    0
  • Fareeha.Jay
    Level 1
    Lahore
    Question about the task Kind words for the teacher
    Java Syntax, Level 0, Lesson 4
    Under discussion
    where the problemI dont know the problem. codes are running without any error but verification is identifying the the errors.
    • 16.03.2019
    • 1343views
    • 3comments
    0
  • Anonymous #10762452
    Level 1
    Under discussion
    I added my comment but not sure why it's showing incorrect?? /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3; int b = 2; System.out.print("two"); System.out.print(b); //2 plus 3 equals to 5 System.out.print(" plus "); System.out.print(" minus "); System
    • 06.07.2021
    • 370views
    • 3comments
    0
  • Justin Smith
    Level 41
    Greenfield, USA
    Question about the task Constructor
    Java Syntax, Level 5, Lesson 9
    Resolved
    I get the desired result but it's failing me anywayWhen I validate, I get green checkmarks for all but the last two, where it says "The Color class's getDescription method must return the value of the variable description." and "The Color class's setDescription method must set the value of the variable description.". When I run the file, it correct
    • 06.07.2021
    • 546views
    • 2comments
    0
  • Usman
    Level 8
    Glasgow
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    code is running forever D:Having issues requuriement 2.2 See comments Thanks for the help!
    • 06.07.2021
    • 567views
    • 3comments
    2
  • 1
  • ...
  • 64
  • 65
  • 66
  • 67
  • 68
  • ...
  • 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