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
  • ProgrammerNewbie
    Level 14
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    Code does not work.Hi, Somehow this does not work (e.g. produce the output) as it should work. Nevertheless, I cannot find my mistake.
    • 6/12/19
    • 1576views
    • 3comments
    1
  • Basharah Batool
    Level 5
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Under discussion
    Whats wrong in my program?Below is my code. Its running fine and giving correct output but CodeGym is not verifying it. Why??
    • 5/19/19
    • 1630views
    • 5comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Archived
    How to use ArrayList?I don't think ArrayList was taught before, how to use it and solve this problem?
    • 8/30/18
    • 2209views
    • 3comments
    0
  • yash vadyakar
    Level 2
    Question about the task Even to the moon!
    Java Syntax, Level 2, Lesson 8
    Resolved
    what is this task all about.. can't figure it out. Its says convert earth weight in newton and than into lunar weight.. Please help!! package com.codegym.task.task01.task0136; /* Even to the moon! */ public class Solution { public static void main(String[] args) { System.out.println(getWeight(888)); } public static double getWeight(int weightEarth) { //write your code here
    • 8/14/18
    • 3111views
    • 5comments
    0
  • harshshah
    Level 9
    Gandhinagar
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    having 1 errorif no number match than don't display anything.
    • 6/5/19
    • 1414views
    • 4comments
    0
  • Sergei Polakov
    Level 11
    Donets'k
    Question about the task The code won't compile…
    Java Syntax, Level 9, Lesson 11
    Under discussion
    exception filenotfoundim insert input C:\new22.txt C:\new11.txt exit exception filenotfound insert try catch - write no variable please help
    • 6/19/19
    • 1359views
    • 2comments
    0
  • William Hoang
    Level 10
    Hanoi
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    I didn't know how it not conrect. I didn't know how it not conrect.
    • 6/20/19
    • 1049views
    • 1comment
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    Whats the reason for this error ?package com.codegym.task.task04.task0441; /* Somehow average */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here int numx = 0; BufferedReader bufferedreader = new BufferedReader(new InputStream
    • 9/17/18
    • 1809views
    • 4comments
    0
  • Alexsey
    Level 31
    Minsk
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Resolved
    What's wrong??What's wrong?
    • 2/28/19
    • 2454views
    • 7comments
    0
  • Xuhaib
    Level 7
    Lahore
    Question about the task Day of the week
    Java Syntax, Level 4, Lesson 4
    Resolved
    Everything's Fine but still the Solution wouldn't get accepted.Solution is unacceptable, why?
    • 10/14/18
    • 1722views
    • 3comments
    1
  • // Java Poser
    Level 18
    Cincinnati
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Resolved
    Frustration Level = MaximumI tried creating an empty HashMap called "map2" then adding the unduplicated entry sets to it. then converting that HashMap to the original map. When I run it, it does work as intended however, I cannot seem to get that "removeItemFromMapByValue" method to work. I also tried creating a clone to keep
    • 3/17/19
    • 2594views
    • 6comments
    0
  • Vimala. Sirvi
    Level 2
    Hyderabad
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Resolved
    unable to rectify the errorunable to rectify the error
    • 3/13/19
    • 1539views
    • 2comments
    0
  • Vadym Opalenyk
    Level 10
    Vyshneve
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    What is wrong hereWhat is wrong here
    • 6/20/19
    • 1376views
    • 2comments
    0
  • Pintu kumar
    Level 8
    motihari
    Question about the task You can't have too much of a good thing
    Java Syntax, Level 4, Lesson 10
    Archived
    what is wrong with this what is wrong in this?
    • 9/17/18
    • 2135views
    • 5comments
    0
  • Djole
    Level 41
    Belgrade
    Question about the task CashMachine (part 4)
    Java Collections, Level 9, Lesson 15
    Resolved
    bugged?public void addAmount(int denomination, int count){ if (denominations.containsKey(denomination)) { denominations.put(denomination, denominations.get(denomination) + count); } else { denominations.put(denomination, count); } } public class
    • 6/19/19
    • 1240views
    • 1comment
    0
  • Serghei Tovarnitchi
    Level 7
    Chisinau
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Doesn't meet the requirement. Please helpEverything works correctly , however does not meet the requirement. Could someone point my error please?
    • 6/14/19
    • 1386views
    • 3comments
    0
  • Dmitrii
    Level 38
    Saint Petersburg
    Question about the task Restaurant (part 1)
    Java Multithreading, Level 9, Lesson 15
    Archived
    Tablet constructorIs something wrong with the task?
    • 6/14/19
    • 1533views
    • 1comment
    0
  • hidden #10441159
    Level 16
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Works in the console but verification returns compile error public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList<>(); while (true) { String s = reader.readLine();
    • 6/18/19
    • 1601views
    • 3comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Plss helpWhy it's is giving task not met
    • 6/20/19
    • 1529views
    • 2comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Method quartet
    Java Syntax, Level 8, Lesson 6
    Under discussion
    How to return How to return public static List getListForRemove(List list) Neither list is appropriate LinkedList<Object> arrayList = new LinkedList<>(); ArrayList<Object> arrayList = new ArrayList<>(); how to solve? Must come up LinkedList arrayList = new LinkedList<>(); bu
    • 6/13/19
    • 1649views
    • 1comment
    0
  • Earil
    Level 25
    Paris
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Resolved
    Task not being validatedI have no idea why the "Create 9 different Human objects (4 objects without a father and mother and 5 objects with them)." is not validated. It seems to me that I did just that, and that I filled all the objects with proper input. Can anyone help me here ?
    • 6/7/19
    • 1641views
    • 2comments
    0
  • Ankit
    Level 2
    Delhi
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved
    What's wrong in my code??What's wrong?????????
    • 6/12/19
    • 1754views
    • 4comments
    0
  • Razvii
    Level 16
    Timișoara
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    The method runs perfectly .. but its not validate.The max method run ok..but its not validate.. why ??
    • 6/14/19
    • 2430views
    • 2comments
    0
  • ira.iurciuc
    Level 10
    Chisinau
    Question about the task Creating cats
    Java Syntax, Level 5, Lesson 9
    Resolved
    I can't figure it out! Help, where is my mistake?
    • 2/5/19
    • 2098views
    • 7comments
    0
  • Jason Ahn
    Level 5
    Calgary
    Question about the task Bouncer policy
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Please help me..I'm stuck with this question for literally an hour and still don't know what the problem is...Please please help me :(
    • 12/21/18
    • 2127views
    • 6comments
    0
  • dean
    Level 8
    Deutschland
    Question about the task Let's put together a rectangle
    Java Syntax, Level 5, Lesson 7
    Under discussion
    method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle: Rectangle.java, line: 30, column: 17Hey, the error says that i can't create 2 initialize() with the same data type parameters... why is that? com/codegym/task/task05/task0513/Rectangle.java:30: error: method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle public void initialize(int
    • 4/24/19
    • 2837views
    • 5comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    What am i missing? What am i missing?
    • 6/8/19
    • 1209views
    • 2comments
    0
  • Raisa Toscano
    Level 27
    Tepic
    Question about the task Identical words in a list
    Java Syntax, Level 10, Lesson 11
    Under discussion
    why doesnt fullfiel the third condition? int values=1; HashMap result = new HashMap(); for (int unique = 0; unique
    • 1/7/19
    • 1703views
    • 4comments
    0
  • nithya lmk
    Level 4
    Bangalore
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    can someone please tell me the error package com.codegym.task.task04.task0417; /* Do we have a pair? */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.ne
    • 8/31/18
    • 2094views
    • 7comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Refactoring (part 13)
    Java Multithreading, Level 5, Lesson 16
    Under discussion
    Help MePlease
    • 6/18/19
    • 1518views
    • 2comments
    0
  • 1
  • ...
  • 309
  • 310
  • 311
  • 312
  • 313
  • ...
  • 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