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
  • 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 :(
    • 21.12.2018
    • 1990views
    • 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
    • 24.04.2019
    • 2710views
    • 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?
    • 08.06.2019
    • 1099views
    • 2comments
    0
  • Raisa Toscano
    Level 22
    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
    • 07.01.2019
    • 1549views
    • 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
    • 31.08.2018
    • 1981views
    • 7comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Refactoring (part 13)
    Java Multithreading, Level 5, Lesson 16
    Under discussion
    Help MePlease
    • 18.06.2019
    • 1404views
    • 2comments
    0
  • User
    Level 5
    Shymkent
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    can't resolveWhat's wrong i can't understand
    • 18.06.2019
    • 1150views
    • 3comments
    0
  • Ben Valenta
    Level 5
    Washington
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Can't figure out the last partIn the final part where we are given weight, address, and color and told to initialize everything except name, I can't get it to accept.
    • 28.01.2019
    • 1983views
    • 7comments
    0
  • Sudhansu Shekhar
    Level 6
    Jaipur
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Resolved
    I can't understand what its asking for....??, As per the requirement 7. The class must have an initialize method that takes a name as an argument, but initializes all variables except the address. 8. The class must have an initialize method that takes a name, weight, and age as arguments, but initializes all variables except the address. 9.
    • 31.05.2019
    • 1714views
    • 2comments
    0
  • smile
    Level 7
    Tainan
    Question about the task Tom and Jerry
    Java Syntax, Level 5, Lesson 12
    Resolved
    Why can't I use "extends" to create 3 variables?I use "extends" to create 3 variables in "Dog" class and "Cat" class. But I failed. Why? What's wrong with my code?
    • 18.06.2019
    • 1800views
    • 8comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    How is the problem solved?How is the problem solved? The removeFirstNameDuplicates() method must remove from the map all people who have the same first name.
    • 14.06.2019
    • 1442views
    • 2comments
    0
  • Franek
    Level 29
    Torun
    Question about the task Adding a file to an archive
    Java Collections, Level 1, Lesson 6
    Under discussion
    Will anyone help?I'm not sure i understand it
    • 05.06.2019
    • 1322views
    • 1comment
    0
  • Biplob
    Level 22
    কুমিল্লা
    Question about the task Reinforce the singleton pattern
    Java Core, Level 5, Lesson 12
    Resolved
    how to create separate class files in web IDE?Task requirement • The Sun, Moon and Earth classes must be in separate files. Is it possible to create separate files for classes in web IDE? if So , how?
    • 17.06.2019
    • 1621views
    • 4comments
    0
  • Emenike Ayalogu
    Level 13
    Bowling Green
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    At loss with what else to doDon’t know what to do again
    • 08.06.2019
    • 1237views
    • 2comments
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Aggregator (part 3)
    Java Collections, Level 8, Lesson 15
    Resolved
    BuggedI do have getter and setter on websiteName, but validator don't see this.
    • 17.06.2019
    • 1117views
    • 4comments
    0
  • Cristina Tane
    Level 4
    Bucharest
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    What is wrong on this code? It's related to the lecture 2 lesson 2package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here a=8000; int b=a+1000; System.out.printl
    • 18.06.2019
    • 1250views
    • 2comments
    0
  • hidden #10441159
    Level 16
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Resolved
    Not entirely sure what`s wrong.Condition 2,3,4 isn`t validating however console output is correct package com.codegym.task.task07.task0724; /* Family census */ public class Solution { public static void main(String[] args) { // write your code here Human obj1 = new Human("jon", false, 23); Human obj2 = new Human("snow", true, 63); Human obj3 = new Human("
    • 18.06.2019
    • 1681views
    • 2comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    Missing something..???public class Solution { public static void main(String[] args) { closeToTen(8, 11); closeToTen(7, 14); } public static void closeToTen(int a, int b) { int a1 = abs(a - 10); int b1 = abs(b - 10); if (a1 > b1) { System.out.println(b); } else if
    • 17.09.2018
    • 2189views
    • 8comments
    2
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Refactoring (part 12)
    Java Multithreading, Level 5, Lesson 16
    Resolved
    Help MeHow To Do It
    • 18.06.2019
    • 992views
    • 5comments
    0
  • علي حجار
    Level 18
    Bursa
    Question about the task Animal set
    Java Syntax, Level 8, Lesson 11
    Under discussion
    can help me ?!why is not working ,I added all animal into hashSet<>result
    • 03.12.2018
    • 1928views
    • 8comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Refactoring (part 10)
    Java Multithreading, Level 5, Lesson 16
    Resolved
    Help MeReccomendation from mentor :- The Car create(int, int) method must return a Car object based on the passed argument.
    • 18.06.2019
    • 1564views
    • 5comments
    0
  • Nitin
    Level 5
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    What is correct way to solve this problem, i tried a lot?
    • 12.03.2019
    • 1885views
    • 6comments
    0
  • Pooja Gujjer
    Level 2
    Mumbai
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I dont know what to do?? Somebody plzz help!!I tried thousand time but i am not getting the answer
    • 14.06.2019
    • 1262views
    • 2comments
    0
  • Profj
    Level 20
    Lagos
    Question about the task Freedom of the press
    Java Core, Level 2, Lesson 4
    Resolved
    Not verifyingI don't know what the problem is
    • 17.06.2019
    • 1261views
    • 2comments
    0
  • Mom Meme
    Level 19
    Boston
    Question about the task Counting commas
    Java Core, Level 8, Lesson 5
    Under discussion
    Codegym Server JDK doesn't support "var"Maybe update to JDK 11 or 12.
    • 23.04.2019
    • 1174views
    • 2comments
    0
  • Joyonta Saha
    Level 31
    Question about the task Deadlock
    Java Core, Level 6, Lesson 13
    Resolved
    Can anyone breifly explain how Threads are working here? It seems like a deadlock?Need help?
    • 04.10.2018
    • 1552views
    • 0comments
    1
  • Aman saw
    Level 9
    Madanpur
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    dont know what is wrong in my codedont know what is wrong in my code
    • 08.06.2019
    • 1254views
    • 2comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Refactoring (part 7)
    Java Multithreading, Level 5, Lesson 16
    Resolved
    Recommendation from mentor : - The printStudentInfo(Student) should display information about the student.Help
    • 17.06.2019
    • 1131views
    • 9comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    java.text.ParseExceptionI keep getting an error on line 60. It says, "unreported exception java.text.ParseException; must be caught or declared to be thrown" I've looked it up and everything i'm reading says I have an error in my date formats, but I can't figure out what it would be, as they all seem to be formatted the sa
    • 14.06.2019
    • 3005views
    • 2comments
    0
  • Marlin Johnson
    Level 9
    Bloomington
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    Hmm? Confused?Have I understood the question correctly?, it seems working even for negative number, but getting "Be sure the program works for negative numbers", can't find what's wrong? Could anyone help ?
    • 13.06.2019
    • 1523views
    • 5comments
    0
  • 1
  • ...
  • 308
  • 309
  • 310
  • 311
  • 312
  • ...
  • 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