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
  • NOBODY
    Level 5
    Question about the task Even numbers
    Java Syntax, Level 4, Lesson 13
    Under discussion
    helpsomeone help..
    • 5/5/20
    • 718views
    • 3comments
    0
  • Hiko Txs
    Level 20
    Plano
    Question about the task Picking out numbers
    Java Core, Level 9, Lesson 5
    Under discussion
    Please help mepackage com.codegym.task.task19.task1908; /* Picking out numbers */ import java.io.*; import java.util.ArrayList; public class Solution { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Str
    • 5/14/20
    • 490views
    • 1comment
    0
  • Mendelstein Hellstein
    Level 2
    Helsinki
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    I'm stuck with this. I don't know how to continue, seems everything is fine and but still haven't got last line right "The min method must return the minimum of the numbers a, b, and c." It print out 1, -1,3 and 5 which should be minimum numbers. How to continue about this?
    • 5/12/20
    • 739views
    • 4comments
    0
  • satish
    Level 15
    kadapa
    Question about the task Mixed-up modifier
    Java Syntax, Level 8, Lesson 11
    Under discussion
    whats the problem here??? public class Solution { public static int A = 5; public static int B = 2; public int C = A * B; public int D = B * A; public static void main(String[] args) { } public int getValue() { return D; } public static int getValue2() { return C
    • 5/30/19
    • 1478views
    • 4comments
    1
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    please helpim stuck
    • 5/13/20
    • 818views
    • 3comments
    0
  • Somya Gupta
    Level 4
    Vrindavan
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    display error import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String name=br.readLine(); String salary=br.readLi
    • 8/28/18
    • 1606views
    • 10comments
    0
  • Onome Brownly-Otiede
    Level 9
    Galway
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    just helpim posting multiple questions because it would be faster
    • 5/13/20
    • 506views
    • 3comments
    0
  • Anjan
    Level 13
    Indianapolis
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    where i am doing wrong. please help meam able to print the second array with second 10 numbers
    • 5/14/20
    • 590views
    • 2comments
    0
  • sirisha karanki
    Level 10
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Under discussion
    why iits going wronggin ide its showing correct output
    • 5/14/20
    • 499views
    • 1comment
    0
  • Jeremi Nuer
    Level 7
    San Francisco
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Why does it not meet task conditions?I've tried it every way I can think of. I've tried with just the name, number1, and number 2. I've tried making it the exact same sentence as in the example. I even tried to make the phrase go to the second line at the same time as in the example. The output is completely identical when I run the
    • 5/12/20
    • 482views
    • 2comments
    0
  • Tiko hakobyan
    Level 20
    Yerevan
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    any idea why this code does not pass the verification ?
    • 5/10/20
    • 657views
    • 8comments
    0
  • Anonymous #10604401
    Level 8
    Skopje
    Under discussion
    Intellj Run Program ButtonIn IntelliJ can't I run the programs before submitting them for verification. I tried build project, and I got this: And this: I'm on linux. Any suggestions?
    • 5/13/20
    • 570views
    • 3comments
    2
  • Muhammed Hussein
    Level 20
    Cairo
    Question about the task HashSet of plants
    Java Syntax, Level 8, Lesson 3
    Under discussion
    Declare a HashSet variable how ?Declare a HashSet variable with String elements and immediately initialize it.
    • 11/22/18
    • 2726views
    • 3comments
    0
  • Pavan kumar
    Level 2
    Eluru
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    can anyone help mehow to declare return I'm not getting
    • 5/12/20
    • 685views
    • 6comments
    0
  • 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)
    • 5/12/20
    • 710views
    • 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
    • 5/11/20
    • 778views
    • 3comments
    0
  • ty
    Level 2
    Hawthorne
    Under discussion
    what am i doing wrong???I put System.out.print("word" + 3);
    • 5/14/20
    • 651views
    • 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
    • 5/14/20
    • 620views
    • 1comment
    0
  • Timothy Strickland
    Level 6
    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.
    • 2/20/20
    • 1570views
    • 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
    • 5/13/20
    • 699views
    • 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
    • 5/13/20
    • 625views
    • 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.
    • 5/13/20
    • 432views
    • 1comment
    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?
    • 5/13/20
    • 770views
    • 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
    • 5/12/20
    • 1476views
    • 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
    • 5/13/20
    • 598views
    • 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
    • 1/3/19
    • 1921views
    • 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?
    • 3/5/20
    • 1725views
    • 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
    • 5/13/20
    • 543views
    • 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
    • 5/12/20
    • 589views
    • 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
    • 5/2/20
    • 1100views
    • 5comments
    0
  • 1
  • ...
  • 196
  • 197
  • 198
  • 199
  • 200
  • ...
  • 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