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
  • ShirAz SiddiQui
    Level 8
    Karachi
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Under discussion
    What's wrong in my code?My answer is correct .. there is no mistake in it .. Can anyone help me ?
    • 9/24/19
    • 1392views
    • 2comments
    0
  • Bartek J.
    Level 13
    Zielona Góra
    Question about the task Triangle of eights
    Java Syntax, Level 4, Lesson 13
    Resolved
    Last rowCould you help , why in the last row number of 8 is only 9 ?? Cant figure it out ;\
    • 8/18/19
    • 1294views
    • 2comments
    0
  • Jeff Jeffy
    Level 15
    Irvine
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    What...?Uh... so confused
    • 5/6/19
    • 1608views
    • 2comments
    0
  • Hashirama
    Level 26
    Port-Harcourt
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Resolved
    Please what's wrong with lesson 8 tasks?Solution please
    • 1/21/19
    • 2596views
    • 9comments
    1
  • Vadym Opalenyk
    Level 10
    Vyshneve
    Question about the task Display today's date
    Java Syntax, Level 5, Lesson 12
    Under discussion
    who knows how to display the datewho knows how to display the date
    • 5/20/19
    • 1662views
    • 5comments
    0
  • Ashish RajAnand
    Level 13
    Bhilai
    Question about the task Part of a calculator
    Java Syntax, Level 2, Lesson 2
    Resolved
    if i don't use static .What is use of static in method ? package com.codegym.task.task02.task0207; /* Part of a calculator */ public class Solution { public static void main(String[] args) { int a=5; int b=7;//write your code here sum(5,7); product(5,7); } public static void product(int a,int b) { System.out.pri
    • 10/9/18
    • 1650views
    • 6comments
    0
  • Nicolas Huet
    Level 41
    Provins
    Question about the task Thread priorities
    Java Multithreading, Level 8, Lesson 6
    Resolved
    A bug from the server??It tells me that the task doesn't compile on the server. I have the right output, it complies at home so I guess it's a bug? Error in com/codegym/task/task28/task2805/MyThread.java on line 95 no suitable constructor found for Thread(java.lang.ThreadGroup,java.lang.Runnable,java.lang.String,long,boo
    • 9/22/19
    • 1448views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Clocks
    Java Core, Level 6, Lesson 7
    Resolved
    one condition is missing, what am i not seeing?What am i missing?
    • 9/19/19
    • 1449views
    • 3comments
    0
  • Gábor
    Level 14
    Budapest
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Resolved
    Read and return the exact same as in the req.. but stillMaybe it is some small issue, but could not find it
    • 8/5/19
    • 1584views
    • 2comments
    0
  • Robert P
    Level 20
    Nashville
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Resolved
    I don't know what they wantI just need help with the last invalidated condition. "The joinData method must remove from the allLines list all lines in the linesForRemoval list if allLines contains all the lines in the linesForRemoval list." The recommendation from the program: "Be sure that the joinData() method deletes from
    • 12/14/18
    • 1584views
    • 4comments
    0
  • Au Ivan
    Level 17
    Hong Kong
    Question about the task Display numbers in reverse order
    Java Syntax, Level 7, Lesson 12
    Resolved
    Em...why is that lolplz help...
    • 9/18/19
    • 1394views
    • 2comments
    0
  • Bartek J.
    Level 13
    Zielona Góra
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    Problem witch changing placesHi I think my program is working fine, but word with letter "r" and "l" is placing to the end of Array. Can sb help ? :)
    • 8/26/19
    • 1366views
    • 4comments
    0
  • luna Zheng
    Level 18
    Ningbo
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Please help me!!!! The output result seems that my code is right, but i dont't know why it doesn't match the fourth requirement.finally,Map values : {lao5=zhang, lao3=biao}
    • 9/21/19
    • 1653views
    • 1comment
    0
  • Yvonne
    Level 7
    Nairobi
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    My Program won't even compile and I don't seem to see the issue. Please Help.My Program won't even compile and I don't seem to see the issue. Please Help. This is the compiler message: Exception in thread "main" java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at Solution.main(Solution.j
    • 9/21/19
    • 1454views
    • 2comments
    0
  • ShirAz SiddiQui
    Level 8
    Karachi
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What mistake i'm making in my code?What mistake i'm making in my code?
    • 9/21/19
    • 1217views
    • 1comment
    0
  • kapil
    Level 12
    delhi
    Question about the task Catching custom exceptions
    Java Syntax, Level 9, Lesson 8
    Resolved
    help me in finding errorplease help me as i am unable to find error in my code
    • 2/8/19
    • 1977views
    • 5comments
    1
  • Stefan Craia
    Level 3
    Bucharest
    Question about the task HashMap of cats
    Java Syntax, Level 8, Lesson 3
    Resolved
    It works-won't pass validation THE VALIDATIONS that don't pass are: 1. The addCatsToMap() method should add all cats in the String[] cats array to the collection in accordance with the task conditions. recomandation from mentor: Be sure that the addCatsToMap() method adds all cats in the String[] cats array to the collection in a
    • 8/6/19
    • 1714views
    • 1comment
    2
  • Alexandru Ovcinicov
    Level 15
    London
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Resolved
    Help Please! I get right results, but can not pass though. (check my two versions, both work,but not validate)You can see two variants using break statement and other using whileController public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); HashMap myMap = new HashMap<>();
    • 9/21/19
    • 1464views
    • 3comments
    0
  • jawad
    Level 10
    Lahore
    Question about the task Create a Friend class
    Java Syntax, Level 5, Lesson 7
    Under discussion
    what's wrong in my code it says ";" expected line 10
    • 9/20/19
    • 1131views
    • 2comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Let's make the code do something useful!
    Java Syntax, Level 9, Lesson 11
    Resolved
    I tried multiple times where I am wrongHow to copy the contents if the file itself is not there ?
    • 4/30/19
    • 1816views
    • 4comments
    0
  • // Java Poser
    Level 18
    Cincinnati
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Getting this validation error . Also, What file are we supposed to be reading from? That part is unclear to me
    • 4/10/19
    • 1186views
    • 2comments
    0
  • Francisco González
    Level 4
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Resolved
    I'm stuck. Please help me! I think I have declared the variable person and with it I have five variables. But no. Why???
    • 9/10/19
    • 1635views
    • 2comments
    0
  • Jayaraj Kamaraj
    Level 18
    Singapore
    Question about the task Static modifiers and kittens
    Java Core, Level 5, Lesson 9
    Under discussion
    Can anybody help to solve this problem?Don't know what is the issue here. Please help on this.
    • 8/6/19
    • 1397views
    • 3comments
    0
  • Lukas Smetana
    Level 10
    London
    Question about the task 10 thousand deletions and insertions
    Java Syntax, Level 8, Lesson 6
    Resolved
    HELP PLEASE - LISTHello, dont know how to finish removing 10000 elements from list :(
    • 8/3/19
    • 1980views
    • 2comments
    1
  • khushbu Nirmal
    Level 7
    Mumbai
    Question about the task Target locked!
    Java Syntax, Level 4, Lesson 6
    Resolved
    why it is not passing the test caseswhats the problem in my code
    • 10/30/18
    • 1995views
    • 2comments
    2
  • Ymje Sköld
    Level 4
    Bjorko
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Why won't it verify?This computes in eclipse and here, with or without negative numbers. Am I supposed to use double? I start to think my solution might be a little convoluted. Probably don't need the array at all., can just check maxval after each input. Whoops. Either way, why won't this convoluted mess verify?
    • 6/8/19
    • 1757views
    • 7comments
    0
  • theCalculator
    Level 3
    Warren
    Under discussion
    I have made adjustments ie followed the instructions to the first condition although I get correct screen output, computer says wrong?Anyone take a look at this code and help me debug. please.
    • 9/20/19
    • 1088views
    • 1comment
    0
  • Abu Bakker Siddiq H
    Level 5
    Salem
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    Can Anyone please tell me what is the task that is not met here ?fellow Gymnasts, can anyone explain what requirement is not met here? Thanks in advance
    • 9/20/19
    • 1481views
    • 5comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Mastering the static block
    Java Core, Level 5, Lesson 12
    Resolved
    condition did not satisfied help please thanks
    • 8/18/19
    • 1219views
    • 3comments
    0
  • Weichen Ouyang
    Level 25
    San Jose
    Question about the task Problem solving
    Java Core, Level 9, Lesson 8
    Resolved
    This problem is driving me nuts. Please help...How could I pass the final condition?
    • 9/18/19
    • 1317views
    • 3comments
    0
  • 1
  • ...
  • 278
  • 279
  • 280
  • 281
  • 282
  • ...
  • 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