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
  • Ash Ka
    Level 13
    Calgary
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    What's Wrong ?Output : Id=1 Name=String1 null Id=2 Name= I was getting 'InputMismatchException', and I handled it
    • 16.10.2019
    • 1285views
    • 2comments
    0
  • Andrei Dima
    Level 0
    Under discussion
    SUGE PULA DE FRAIERI CU RECLAMELE VOASTRE DE CACAT CARE SUG PULA SUGE PULA DE FRAIERI CU RECLAMELE VOASTRE DE CACAT CARE SUG PULA SUGE PULA DE FRAIERI CU RECLAMELE VOASTRE DE CACAT CARE SUG PULA SUGE PULA DE FRAIERI CU RECLAMELE VOASTRE DE CACAT CARE SUG PULA SUGE PULA DE FRAIERI CU RECLAMELE VOASTRE DE CACAT CARE SUG PULA SUGE PULA DE FRAIERI CU RECLAMELE VOASTRE DE CACAT CARE SUG PULA SUGE PULA DE FRAIERI CU RECLAMELE VOASTRE DE CACAT CARE SUG PULA SUGE PULA DE FRAIERI CU RECLAMELE VO
    • 06.09.2019
    • 1068views
    • 1comment
    0
  • Soham
    Level 5
    Kitchener
    Question about the task Come on, lucky seven!
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What's wrong with my code please help. Please help.
    • 14.10.2019
    • 1055views
    • 5comments
    0
  • Richard Han
    Level 4
    Lipa
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Why are the conditions not matching ;-;No, but seriously. I need help xD
    • 12.09.2018
    • 2209views
    • 8comments
    0
  • Marcin Olech
    Level 41
    Kraków
    Question about the task MVC (part 8)
    Java Multithreading, Level 4, Lesson 14
    Resolved
    I have a strange NullPointerException when trying to call controller.onDeleteUser in EditUserView. I belive that rest is fine. Any ideas?I tried a bunch of things but they didn't work. I think (but not sure) that the controller object throws NullPointerExceptinon but I have no idea why. Even when I comment out methods calls in Controller.onDeleteUser(long id) it throws the exception. Anyone have an idea? I've spent like 8 hours on t
    • 17.10.2019
    • 1145views
    • 2comments
    0
  • Iliri Cani
    Level 37
    Tirana
    Question about the task Replace recursion
    Java Multithreading, Level 9, Lesson 9
    Resolved
    Is this bugged i cant verifyI have the same output and i did not change the main method but it still wont verify
    • 29.08.2019
    • 1450views
    • 7comments
    0
  • Raj Mishra
    Level 15
    India
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    My two tasks are not validated. But unable to find the cause My two tasks are not getting validated and I am unable to find the cause of failure. Could anyone please help? I am displaying a number on screen and my program displays the maximum of all.
    • 05.10.2019
    • 1539views
    • 5comments
    0
  • Anonymous
    Level 18
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Resolved
    Can't verify it Second last requirement is not verified , Issue in Thread4 class =Tried commenting & uncommenting show warning; = Tried interrupting & even stopping the thread , still not verified
    • 09.04.2019
    • 2008views
    • 3comments
    0
  • kalyan
    Level 7
    hyderabad
    Question about the task Minesweeper (Part 6/16)
    Games, Level 0, Lesson 0
    Under discussion
    Can anyone plz help me out with this..where I went wrong?Where is it wrong?
    • 12.09.2019
    • 1099views
    • 1comment
    0
  • John Peterson
    Level 9
    Blacksburg
    Question about the task Five winners
    Java Syntax, Level 8, Lesson 11
    Under discussion
    I pass all but the last requirementMy error message is that i am to display only numbers. It appears that i have spaces after my numbers in the output? I give up - what am i doing wrong here?
    • 15.10.2019
    • 1058views
    • 3comments
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task MovieFactory
    Java Core, Level 4, Lesson 8
    Resolved
    Finished but still left one issues while (true){ String key = reader.readLine(); Movie movie = MovieFactory.getMovie(key); if (!(key.equals("cartoon") || key.equals("thriller") || key.equals("soapOpera"))) { reader.close(); break; } else {
    • 16.10.2019
    • 1179views
    • 3comments
    0
  • Lance
    Level 3
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Typo?Neeed help it says theres a typo and I think my spacing is correct so can someone help?
    • 18.03.2019
    • 1609views
    • 2comments
    0
  • Adnan Sami
    Level 3
    Karachi
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Under discussion
    whats the problem here???package com.codegym.task.task03.task0315; /* Roy G. Biv… */ public class Solution { public static void main(String[] args) { Red obj1=new Red(); obj1.red(); Orange obj2=new Orange(); obj2.orange(); Yellow obj3=new Yellow(); o
    • 15.04.2019
    • 2085views
    • 4comments
    0
  • Jethro Revilla
    Level 3
    Makati
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I need explanation on this exerciseHi fellow coders I completed the task however I don't get the point of this exercise can somebody help explain to me what is the point and what's use in it for us. Thank's in advance!
    • 21.09.2019
    • 939views
    • 1comment
    0
  • Gustavo Franceschini
    Level 14
    Porto Alegre
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Question about logicOk, after cracking my head on this one I came to the help section and almost every attempt to solve this involved using a count variable. My question is why? Doesn't the removeItemFromMapByValue method already does what we need? At first glance I thought we could just create the Map variable with th
    • 22.09.2019
    • 921views
    • 1comment
    0
  • Tommy Guinness
    Level 15
    Newcastle West
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Dont meet 3rd requirment but out put seems be okpackage com.codegym.task.task07.task0721; import javax.swing.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; /* Min and max in arrays */ public class Solution { public static void main(String[] args) throws IOException
    • 16.10.2019
    • 860views
    • 2comments
    0
  • Ash Ka
    Level 13
    Calgary
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Giving the inputs satisfies the conditions but verification failsGiving the inputs satisfies the conditions but verification fails
    • 13.03.2019
    • 1124views
    • 4comments
    0
  • hemant
    Level 8
    prayagraj
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    How do I display looped numbers in one line. I.e.1 2 3 4...How do I use loop so that numbers are displayed in one line. I.e. 1 2 3 4 5 .....
    • 05.04.2019
    • 1329views
    • 4comments
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    The displayed text should contain 10 lines. RECOMMENDATION FROM YOUR MENTOR Be sure that you are not displaying unnecessary blank lines. Each displayed string must contain 10 numbers separated by spaces. error package com.codegym.task.task03.task0314; /* Multiplication table */ public class Solution { public static void main(String[] args) { int i,j,ans; for(i=1;i<=10;i++) { System.out.println("\n "); for(j=1;j<=10;j++)
    • 22.08.2018
    • 1467views
    • 2comments
    0
  • Letenyei Ádám
    Level 16
    Bakonyszombathely
    Question about the task Moon Lander (Part 12/23)
    Games, Level 0, Lesson 4
    Under discussion
    Please help me!Please help me! I don't know the right answer for the last 3 task :(
    • 13.10.2019
    • 927views
    • 2comments
    0
  • Wei Cui
    Level 39
    Newark
    Question about the task Computer
    Java Core, Level 4, Lesson 8
    Resolved
    Cant solve problemjavax.management.monitor.Monitor is abstract; cannot be instantiated when run it said class monitor is abstract, but i couldn't find any problem, please help.
    • 15.10.2019
    • 850views
    • 5comments
    0
  • Elio Borges
    Level 3
    Ribeirao
    Question about the task Only 20 will do
    Java Syntax, Level 1, Lesson 4
    Under discussion
    I it solve with thisresult = - a+b-c+d; Output 20 You need change value positive not negative
    • 15.10.2019
    • 846views
    • 1comment
    0
  • John
    Level 27
    Washington DC
    Question about the task Fixing bugs
    Java Core, Level 4, Lesson 8
    Under discussion
    Not sure how to implement getCurrentCreature() in Orca and Whale classesNot sure how to implement getCurrentCreature() in Orca and Whale classes
    • 14.10.2019
    • 1059views
    • 1comment
    0
  • Mike
    Level 9
    Lublin
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    code works when I test it, but codegym tests failed.My code works when I test it, but codegym tests failes. Why?
    • 15.10.2019
    • 803views
    • 2comments
    0
  • Shubham Falke
    Level 8
    Pune
    Under discussion
    not getting "dot" operatorpublic class Man { int dnaCode; public boolean equals(Man man) { return this.dnaCode == man.dnaCode; } public static void main(String[] args) { Man man1 = new Man(); man1.dnaCode = 1111222233; Man man2 = new Man(); man2.dnaCode = 1111222233;
    • 01.05.2019
    • 1054views
    • 1comment
    0
  • Iliri Cani
    Level 37
    Tirana
    Question about the task AmigoSet (part 2)
    Java Collections, Level 4, Lesson 15
    Archived
    What is wrong with this task???Am i stupid or is this task bugged. i did everything that conditions said and still one condition doesnt validate!!!
    • 18.09.2019
    • 1079views
    • 1comment
    0
  • James Mackenzie
    Level 7
    Victoria
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Resolved
    out of index boundry?not sure why its failing here, i feel like the logic should repeat 13 times until its shuffled the strings about. anyone see something i cant?
    • 16.10.2019
    • 1105views
    • 1comment
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Please helpWhy is the last condition no being met?
    • 15.10.2019
    • 1272views
    • 8comments
    0
  • lexter
    Level 16
    New York
    Question about the task Labels and numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Dont know whats wrong with my code. Error says on displaying the zero "Be sure that the program doesn't display any extra text."Scanner scn = new Scanner(System.in); int num = scn.nextInt(); if(num == 0) { System.out.print("Zero"); } if(num < 1 && num % 2 == 0) { System.out.println("Negative even number"); } if(num < 1 && num% 2 != 0) { System.out.println("Negative odd number"
    • 19.09.2019
    • 1083views
    • 1comment
    0
  • Deepanshu Kumar
    Level 9
    Hyderabad
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Help me debugging this code. Don't know what's wrong with the code. It looks fine to me. I read about array and bubble sort on an another website and tried to implement it. But the code didn't ran as expected.
    • 20.09.2019
    • 1157views
    • 2comments
    0
  • 1
  • ...
  • 268
  • 269
  • 270
  • 271
  • 272
  • ...
  • 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