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
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task MovieFactory
    Java Core, Level 4, Lesson 8
    Resolved
    What is wrong here ?Why the last condition not matching......
    • 27.07.2019
    • 1511views
    • 3comments
    0
  • Mykola
    Level 14
    Toronto
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    Promlem with max methodThis method is working perfectly fine but I can't pass the validation (error occurs on step #3). Any suggestion where is the bug? Thanks.
    • 26.07.2019
    • 1637views
    • 3comments
    0
  • Gábor
    Level 14
    Budapest
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    What is wrong with my code ? :(pls, help me out with this.
    • 24.07.2019
    • 1422views
    • 7comments
    0
  • Michael Davis
    Level 11
    Mount Laurel
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    How is this not right, when I have the Right Answers?package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int low = 0; if (a <= b && a <= c && a <= d) { low = a; } else if (b <= a &&a
    • 21.07.2019
    • 2077views
    • 3comments
    0
  • Swati
    Level 8
    Pune
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Resolved
    why verification failswhile running program ,its running correctly.but verification time errors are there.
    • 17.01.2019
    • 1706views
    • 4comments
    0
  • dibidebe
    Level 7
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    helpcould someone please explain to me what is wrong with my code?
    • 27.07.2019
    • 1299views
    • 1comment
    0
  • Jay
    Level 17
    Washington
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Not meeting last condition. Advised to account for additional spacing between words. I even tried running it after adding additional spacing between words and my output was correct. What's the issue?
    • 27.07.2019
    • 1215views
    • 2comments
    0
  • JeRiF94
    Level 22
    Baku
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion
    Mistake in last twoHelp me please to understand where I did mistake.
    • 27.07.2019
    • 1340views
    • 2comments
    0
  • Gábor
    Level 14
    Budapest
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    cord work as it needed, but still not pass some requirementsYou can put any number there, it not gona count the 0. and the main variables declared as 0, so in case there is no positive its going to print 0 and the same for negative. BUT still not passing these requirements...
    • 27.07.2019
    • 1199views
    • 1comment
    0
  • nikhil singla
    Level 9
    Chandigarh
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    What's wrong here? Last condition not satisfying with this..public static HashSet removeAllNumbersGreaterThan10(HashSet set) { // write your code here for(Integer num : set){ if(num > 10){ set.remove(num); } } return set; }
    • 27.07.2019
    • 1220views
    • 1comment
    0
  • MICHAEL DUNLAP
    Level 20
    Bellevue
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Not getting the final requirementSo...if the main program is creating its own cats with the proper setup to return true for Cat1 and false for Cat2, I'm curious as to how the testing program is failing to verify. Is it substituting its own main with some other Cat objects? In short, even after reading the other comments, I can't fi
    • 27.07.2019
    • 1428views
    • 2comments
    0
  • dibidebe
    Level 7
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    helpCould someone please tell me what is wrong with my code and why does last two requirements won't pass?
    • 27.07.2019
    • 1187views
    • 2comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Can anyone please explainwhat's wrong with this code
    • 24.07.2019
    • 1191views
    • 1comment
    0
  • Voris
    Level 10
    Tashkent
    Question about the task Minimum of N numbers
    Java Syntax, Level 8, Lesson 11
    Resolved
    My code works , but requierements are not met. It says that it must read from the keyboard, but my code is doing that, so i cant understand what's wrongimport java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Collections; /* Minimum of N numbers */ public class Solution { public static BufferedReader bf = new
    • 27.07.2019
    • 1623views
    • 2comments
    0
  • Steve
    Level 9
    Denver
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    No passing steps 3 and four in the task,, but when I run the application,, everything is fine??package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exception { //write your
    • 18.07.2019
    • 1258views
    • 2comments
    0
  • Voris
    Level 10
    Tashkent
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Resolved
    I can't understand why it's incorrect, may be because instead of 0 my answer is null ?public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); // Alphabet String abc = "abcdefghijklmnopqrstuvwxyz"; char[] abcArray = abc.toCharArray(); /
    • 17.07.2019
    • 1261views
    • 2comments
    0
  • Juan Gallardo
    Level 10
    Edmonton
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Can't find the error in this codePlease help
    • 31.10.2018
    • 1383views
    • 8comments
    0
  • Alexandru Ovcinicov
    Level 15
    London
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Under discussion
    I get expected results , but CodeGym validator does not validate. Do you have ideas?package com.codegym.task.task08.task0826; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.i
    • 24.07.2019
    • 1421views
    • 2comments
    0
  • hidden #10444738
    Level 16
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    why has it failed.This sorts in decending order yet it fails at the last. why?
    • 17.06.2019
    • 1498views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Fix the bugs
    Java Core, Level 8, Lesson 5
    Under discussion
    Help me plsNeed help
    • 28.06.2019
    • 1462views
    • 1comment
    0
  • Antonia
    Level 10
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    ?help
    • 26.07.2019
    • 1211views
    • 1comment
    0
  • Khurram
    Level 16
    Lahore
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Resolved
    Help neededthe code runs fine for when the values of the two objects are different, but when they are same, it returns true for both the below statements; System.out.println(cat1.fight(cat2)); System.out.println(cat2.fight(cat1)); It should return true for one and false for the other. I can use "this.equals(
    • 11.09.2018
    • 2479views
    • 4comments
    0
  • Sunayana
    Level 6
    hyderabad
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Resolved
    cant meet the forth requirement..please helpsomehow average
    • 02.07.2019
    • 1460views
    • 4comments
    0
  • harshshah
    Level 9
    Gandhinagar
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Errorhere I am not able to pass the verification of error no. 3,5,6.
    • 19.07.2019
    • 1138views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Find the bugs
    Java Core, Level 10, Lesson 10
    Under discussion
    Last condition need help guys
    • 30.06.2019
    • 1204views
    • 1comment
    0
  • Deep Maheshwari
    Level 10
    Nanded
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    Why is it not verifying inspite of correct result and code...?I think it's all correct but if anyone has suggestions please help!!!
    • 22.06.2019
    • 1675views
    • 8comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task The isomorphs are coming
    Java Core, Level 2, Lesson 12
    Under discussion
    I get the correct output but it doesn't verifyI'm pretty sure I'm overthinking this problem and there is an easier way to do this, but why isn't my code verifying? I get the correct output.
    • 26.07.2019
    • 1132views
    • 1comment
    0
  • Mohamed Afify
    Level 12
    cairo
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    failed to pass testingthe program works perfect but the task failed idk why
    • 25.07.2019
    • 1024views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Synchronized methods
    Java Core, Level 7, Lesson 10
    Under discussion
    How i can do thisHelp pls
    • 28.06.2019
    • 1270views
    • 1comment
    0
  • Lukas Smetana
    Level 10
    London
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Is this good solution? package com.codegym.task.task04.task0426; /* Labels and numbers */ 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));
    • 22.07.2019
    • 1392views
    • 3comments
    0
  • 1
  • ...
  • 293
  • 294
  • 295
  • 296
  • 297
  • ...
  • 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