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
  • gmb55
    Level 25
    Tarnów
    Question about the task Threads and bytes
    Java Core, Level 8, Lesson 11
    Under discussion
    Where should be resultMap.put() method? What is wrong? I saw in other's solutions that they made new methods to return int and then they put sth like resultMap.put(URL, realThread.returnMethod()); How to solve this task with void run() method?
    • 9/5/19
    • 1480views
    • 1comment
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Can't see the problemplease help
    • 10/24/19
    • 1359views
    • 2comments
    0
  • Adarsh
    Level 3
    Mumbai
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Stuck here!!! HelpLast condition isn't fulfilling. Please help
    • 10/14/19
    • 1033views
    • 2comments
    0
  • Ana Maria iacob
    Level 7
    Rimini
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Resolved
    Some help ?? thank s :)i need a clue for the last condition?
    • 10/14/19
    • 1077views
    • 2comments
    0
  • Abhishek Rangari
    Level 22
    Nagpur
    Question about the task Splitting a file
    Java Core, Level 8, Lesson 5
    Resolved
    can anyone help me in this taskCode is working fine in Eclipse, but not working here..
    • 12/17/18
    • 1587views
    • 2comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Under discussion
    FileOutStream is only for images, videos and binary data?I am a bit confused with this task. I have not found yet something that reads numbers in a file. Do I have to take the bytes, change them into numbers and then round them, turn them back into bytes and store them? How do I know the representation of the number in bytes? Thanks for your help!
    • 8/22/19
    • 1394views
    • 2comments
    0
  • ashgolan
    Level 8
    Ashdod
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    need help please .. why its not work ? need help please .. why its not work ?
    • 10/23/19
    • 1649views
    • 6comments
    0
  • ashgolan
    Level 8
    Ashdod
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    i dont know whats the problem . its work fine !!i dont know whats the problem . its work fine !! can anybody help ?
    • 10/23/19
    • 1418views
    • 4comments
    0
  • Alex
    Level 24
    Sibiu
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Resolved
    The player should not display a victory message if the variable isWinnerFound is already set to true (i.e. the winner has already been found).Any help please ? What is wrong here ? I tried to put also: if(i == 3 && !OnlineGame.isWinnerFound) { ... } and is not working. It is very annoying. package com.codegym.task.task16.task1627; import java.util.ArrayList; import java.util.List; public class Solution { public static void
    • 9/22/19
    • 1623views
    • 4comments
    0
  • Abhishek Raghav
    Level 1
    Bangalore
    Under discussion
    About dark matter pointsHow do i increase my dark matter to get to the next level on java learning course ?
    • 10/17/18
    • 1571views
    • 2comments
    0
  • Whitney
    Level 14
    Onalaska
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    Question on loopsSo I'm just a bit confused on why my loops weren't successful in their implementation. 1. I tried running a while loop for the keyboard input:while (true){ if (reader.readLine() == null){ break; } list.add(reader.readLine()); } but it was
    • 10/23/19
    • 1549views
    • 4comments
    0
  • Abhirami
    Level 17
    Bangalore
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    what is wrong here?any help?
    • 10/23/19
    • 1157views
    • 2comments
    0
  • Laurence Chadwell
    Level 4
    San Antonio
    Question about the task Flip the array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    A little help pleaseAll I need to know is why isn't it reversing?
    • 10/8/19
    • 1687views
    • 3comments
    0
  • Abhirami
    Level 17
    Bangalore
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    what 's the error in my code? can anyone please help me?what 's the error in my code? can anyone please help me?
    • 10/21/19
    • 1152views
    • 2comments
    0
  • Abhirami
    Level 17
    Bangalore
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    What's wrong in my code? Someone please help me!!!what's the issue here?
    • 10/22/19
    • 1084views
    • 4comments
    0
  • sirisha karanki
    Level 10
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    please hellp!! import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader r= new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(r.readLine()); int b= Integer.parseInt(r.r
    • 10/23/19
    • 1088views
    • 2comments
    0
  • Radek
    Level 22
    Warsaw
    Question about the task Your own FileWriter
    Java Core, Level 9, Lesson 11
    Archived
    pls help.I have no idea what validator expects from write(int c). I am sure it is ok. it was checked with various methods of transforming int to character or string , always with negative answer from validator irrespective of print or prinltn usage. please help
    • 11/21/18
    • 1664views
    • 3comments
    1
  • Anthony Chalk
    Level 30
    London
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    I can't find the problemPlease can someone help. Thank you
    • 10/23/19
    • 1182views
    • 5comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    Last conditionWhat am i missing?
    • 10/10/19
    • 1422views
    • 8comments
    0
  • Solanki Dhruv
    Level 18
    Surat
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Where is the problem?In my computer it remove persons correctly for duplicates name...but on website it still show error message.?
    • 11/28/18
    • 2242views
    • 12comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Space Invaders (Part 5/34)
    Games, Level 0, Lesson 6
    Under discussion
    Please HelpCant Resolve
    • 9/10/19
    • 1382views
    • 1comment
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task 2048 (Part 6/18)
    Games, Level 0, Lesson 2
    Resolved
    HelpHelp me
    • 9/10/19
    • 1639views
    • 1comment
    0
  • sirisha karanki
    Level 10
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    i dont know where it goes wrongpackage com.codegym.task.task04.task0419; import java.util.Scanner; /* Maximum of four numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner s =new Scanner(System.in); int a= s.n
    • 10/7/19
    • 1484views
    • 3comments
    0
  • Goff
    Level 8
    Berlin
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Resolved
    What's wrong, code doesn't pass verifyingWorks fine, but validator doesn't like it. What is wrong?
    • 10/9/19
    • 1726views
    • 2comments
    1
  • Jimmy Phan
    Level 7
    Atlanta
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Please assistDefinitely defeated today lol. Not sure why I'm not grasping the concept of setting the arguments and making it as specific as possible. If I try 0 0 15 it would not work :( please help. thanks.
    • 10/22/19
    • 1014views
    • 2comments
    0
  • Azamat Aminov
    Level 1
    Tashkent
    Question about the task Minesweeper (Part 4/16)
    Games, Level 0, Lesson 0
    Resolved
    Where is error? Please help.
    • 10/21/19
    • 1840views
    • 2comments
    0
  • hidden #10412202
    Level 8
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Code runs correctly, test fails package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exception { //write you
    • 12/25/18
    • 1609views
    • 10comments
    0
  • Paul
    Level 24
    Vienna
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    saving a value in a doubleI don't really get the idea, why saving the result of this calculation in a double doesn't give me the right result: double a = 9/5 ; shouldn't it be the same as : double a = 9/5.0 ; Still I get totally different results and I am wondering why.
    • 10/15/19
    • 984views
    • 2comments
    0
  • Timothy Strong
    Level 4
    San Diego
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    I do know what I am doing wrong?package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int min; if (a <= b && a <= c);{ min = a;} if (b <= c && b <= a);{
    • 10/13/19
    • 1414views
    • 3comments
    0
  • Vahan
    Level 41
    Tbilisi
    Question about the task Table
    Java Core, Level 8, Lesson 8
    Resolved
    How to display the number of elements in the list? None of the solutions (in the comments) were verified! Are there any more?public class Solution { public class TableInterfaceWrapper implements TableInterface { TableInterface rows; public TableInterfaceWrapper (TableInterface rows) { this.rows = rows; } public void setModel(List rows) { // int sizeOfList = row
    • 10/21/19
    • 1066views
    • 2comments
    0
  • 1
  • ...
  • 268
  • 269
  • 270
  • 271
  • 272
  • ...
  • 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