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
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    i cant do it after many tries codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int min; if (a <= b, a<= c, a<= d) min= a; else if (b <= a, b<= c, b<= d)
    • 12.05.2020
    • 588views
    • 3comments
    0
  • Jack
    Level 4
    Yerevan
    Question about the task The humble programmer
    Java Syntax, Level 3, Lesson 8
    Under discussion
    doesn't work package com.codegym.task.task03.task0320; /* The humble programmer */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String name = reader.read
    • 11.05.2020
    • 671views
    • 3comments
    0
  • ty
    Level 2
    Hawthorne
    Under discussion
    what am i doing wrong???I put System.out.print("word" + 3);
    • 14.05.2020
    • 531views
    • 1comment
    0
  • Henry Yao
    Level 22
    Pasadena
    Question about the task Correct the bug. Classes and interfaces
    Java Core, Level 9, Lesson 11
    Under discussion
    I need help I think problem in side: if (result instanceof A) { A p = (C) result; System.out.println(p.getClass().getSimpleName()); } I made many tries but I can not correct it. Many thanks for your help
    • 14.05.2020
    • 518views
    • 1comment
    0
  • Timothy Strickland
    Level 4
    Fairfax
    Question about the task You can't have too much of a good thing
    Java Syntax, Level 4, Lesson 10
    Resolved
    Seems good but failing the 4th conditionNot sure why its failing, have tested it multiple times and seems to work.
    • 20.02.2020
    • 1434views
    • 5comments
    1
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    just help meplease help
    • 13.05.2020
    • 601views
    • 1comment
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    what should i do i just cant do it
    • 13.05.2020
    • 506views
    • 1comment
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    what should i do ive been stuck on this for multiple days and i just cant figure it out.
    • 13.05.2020
    • 332views
    • 1comment
    0
  • Pintu kumar
    Level 8
    motihari
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    what is wrong in this code pleas help . package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String name=br.readLine(
    • 24.08.2018
    • 1981views
    • 5comments
    0
  • Odd
    Level 6
    Clarksdale
    Question about the task Minimum of two numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    No idea why this isn't working.Can someone explain why I can't meet the last requirement?
    • 13.05.2020
    • 656views
    • 3comments
    0
  • Mark Costales
    Level 24
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    Can someone please review my code. I'm not passing the last condition: 7. The displayed result should match the task conditions for any input data. package com.codegym.task.task05.task0507; /* Arithmetic mean */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReade
    • 12.05.2020
    • 1330views
    • 7comments
    0
  • David
    Level 26
    Bucharest
    Question about the task Default values
    Java Core, Level 5, Lesson 9
    Under discussion
    Can't pass last conditionCan't see what is wrong
    • 13.05.2020
    • 493views
    • 2comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Under discussion
    what is wrong in my code?help
    • 03.01.2019
    • 1794views
    • 7comments
    0
  • hidden #10513713
    Level 9
    Question about the task Notepad for new ideas
    Java Syntax, Level 6, Lesson 11
    Resolved
    Instantiating a static classMy task passed testing through trial and error, but, I thought we cannot make a new instance of a static class. Can someone explain how this works in this exercise or refer me to some resource that explains this?
    • 05.03.2020
    • 1621views
    • 5comments
    0
  • Rafał Pawłowski
    Level 22
    Southampton
    Question about the task Rarest bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    Can't find the issuePlease help
    • 13.05.2020
    • 450views
    • 1comment
    0
  • Michael Brimage
    Level 19
    Washington D.C.
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Under discussion
    Did anyone try my approach I am not sure what's wrong. The requirements did not state that a method must be created so I opted to for the longer approach. lines 39-47 Factorize each number A & B then added them to lists lines 50-55 compares the two lists line 58 - on //GCD is the largest number in both lists
    • 12.05.2020
    • 486views
    • 1comment
    0
  • arafat
    Level 4
    Dhaka
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Please help me find the problemI ran my program and the results were correct,so whats wrong here
    • 02.05.2020
    • 983views
    • 5comments
    0
  • Rafał Pawłowski
    Level 22
    Southampton
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Under discussion
    Why does it not work?While testing on IntelliJ it works fine, output is also fine. Any help?
    • 13.05.2020
    • 477views
    • 6comments
    0
  • Brandon
    Level 9
    Toledo
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    What does this want to happen for negative numbers?I'm not sure what I'm missing here. It says "Be sure that the program works correctly for negative numbers." It seems to, unless I'm not understanding it correctly. If I enter a number less than 0 for the first number, it ends. if I enter negative numbers for the second part, then they don't disp
    • 13.05.2020
    • 548views
    • 4comments
    0
  • Rebekah H
    Level 8
    Gothenburg
    Question about the task Do we have a pair?
    Java Syntax, Level 4, Lesson 4
    Resolved
    I do not understand why the requirement is not fulfilled?Could someone have a look at if for me please? :)
    • 12.05.2020
    • 525views
    • 2comments
    0
  • An Gelo
    Level 18
    Cebu
    Question about the task One for all, all for one
    Java Core, Level 6, Lesson 10
    Resolved
    is there a bug in this task?I already interrupted the threadlist still it wont fix
    • 05.09.2018
    • 1721views
    • 4comments
    6
  • null
    Level 26
    Orlando
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    Help needed ><Just needed to format the output correctly. Not sure if other test case would fail my output order as requested.
    • 13.05.2020
    • 357views
    • 1comment
    0
  • qjie7
    Level 16
    Singapore
    Question about the task Month number
    Java Syntax, Level 8, Lesson 11
    Resolved
    What is wrong with my code to this solution ? the output are exactly the same :( but the last condition are not met.What is wrong with my code to this solution ? the output are exactly the same :( but the last condition are not met.
    • 13.05.2020
    • 609views
    • 3comments
    0
  • Oleh
    Level 32
    Kyiv
    Question about the task MVC (part 8)
    Java Multithreading, Level 4, Lesson 14
    Resolved
    I give up.Output: All users: User{name='Franklin', id=123, level=1} User{name='Sanchez', id=125, level=1} User{name='Sanchez', id=124, level=2} User{name='Sidorov', id=126, level=2} =================================================== User to be edited: User{name='Sidorov', id=126, level=2} =============
    • 11.04.2019
    • 1699views
    • 7comments
    0
  • Catherine
    Level 23
    London
    Question about the task Flip the array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Same problem as a previous task, please helpThis code spits out the correct answer, but the last condition won't verify. Please help!
    • 13.05.2020
    • 444views
    • 1comment
    0
  • Catherine
    Level 23
    London
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Not passing testing by system, but does by outputThe solution outputs the array in reverse order as asked, but the system does not pass testing of the last condition. Can anyone tell me why?
    • 13.05.2020
    • 575views
    • 1comment
    0
  • Deborah Wenrich
    Level 7
    Pembroke Pines
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Under discussion
    Can you point me in the right direction? I input 564 and 672 and get the right answer, but other digits fail. What am I missing?package com.codegym.task.task01.task0132; /* Sum of the digits of a three-digit number */ public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { //who's idea was
    • 24.04.2020
    • 1066views
    • 3comments
    0
  • Jen P
    Level 26
    Question about the task Adapter
    Java Core, Level 9, Lesson 3
    Under discussion
    How this implementation differenciate from "Wrapper" pattern from last lecture ?I solved it follow the requirement. (and I just follow it, I dont really understand why I should do them to solve the problem) The way to solve this problem seems be close to wrapper pattern. I cannot tell the difference. Any clue? Thank you guys!!
    • 06.08.2019
    • 1227views
    • 2comments
    1
  • Denis
    Level 22
    Kharkiv
    Question about the task Externalizable for apartments
    Java Core, Level 10, Lesson 7
    Under discussion
    Help me plsI cant understand
    • 30.06.2019
    • 1208views
    • 3comments
    0
  • Bryce Lindley
    Level 9
    Olympia
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    The index is updating and skipping the next elementAny suggestions?
    • 12.05.2020
    • 547views
    • 2comments
    0
  • 1
  • ...
  • 194
  • 195
  • 196
  • 197
  • 198
  • ...
  • 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