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
  • Mohan Amilineni
    Level 22
    Brisbane
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    Not able to understand requirement completely, need help!Hi, Tried multiple solutions, couldn't resolve it. Also I couldn't find a complete working solution in colleagues comments for this task. Please post a complete working solution, so that I can do reverse engineering and then try to understand the requirement. Honestly, the requirement is bit conf
    • 25.05.2020
    • 375views
    • 0comments
    0
  • Martin Adamec
    Level 20
    Nachod
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Under discussion
    Why does it not validate?What's wrong? Both of my solutions seem to work correctly when I test them manually.
    • 25.05.2020
    • 476views
    • 0comments
    0
  • AnnemiekFF
    Level 41
    Breda
    Question about the task Recursion for mathematical expressions
    Java Collections, Level 4, Lesson 2
    Under discussion
    Tweaked some more, still not correct?I am sure this is becoming waaaay more complicated than it should be. I have tweaked it again, as I found a few cases that didn't work. Now I still can't pass it, but I have no clue where to look for next?
    • 27.05.2020
    • 540views
    • 0comments
    0
  • Brandon Leirer
    Level 7
    Keller
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    if you are having trouble with the last requirement...try changing the input to a number outside of the range like (1000, 0, or -1) and see what gets returned in output. That will set you on the right path.
    • 28.05.2020
    • 574views
    • 0comments
    0
  • Naweed
    Level 2
    Kabul
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Finally Find itpackage com.codegym.task.task02.task0205; /*
    • 30.05.2020
    • 462views
    • 0comments
    0
  • Lam Jok
    Level 10
    Under discussion
    The CodeGym server is unavailable. Wait a little, restart IntelliJ IDEA and try againCan someone help me with this error. Thanks in advance!
    • 30.05.2020
    • 461views
    • 0comments
    0
  • Prassha
    Level 24
    Chagford
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    Hi, please help me. I am getting the correct output with url string (line 27 )but not getting the same output with when I use s = reader.readLine(); line 24. s = reader.readLine(); this is causing entire program to crash. Tried with Scanner also.
    • 31.05.2020
    • 372views
    • 0comments
    0
  • Luke Chapman
    Level 3
    Braddon
    Under discussion
    Cant see the output on intellij with CodeGym PluginThis is crucial as you cant debug your code if you dont know what it's outputting.
    • 31.05.2020
    • 379views
    • 0comments
    0
  • Niklas Braun
    Level 33
    Freiburg
    Question about the task Make a word chain
    Java Multithreading, Level 2, Lesson 9
    Under discussion
    Can't figure out what's wrong?Program works with own implementations, but the last two requirements are still not checked?
    • 31.05.2020
    • 399views
    • 0comments
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    I am unable to print the null value programmatically of the following statement.If a variable of a reference (composite) type isn't storing a reference to an object, then it stores what is known as a 'null reference'. IF String s; & String s=null; are same than why i am not getting null as output. Tried 2 Ex as follows but didn`t get null as output. 1. class Person{
    • 06.01.2021
    • 414views
    • 5comments
    0
  • Dinesh
    Level 7
    Delhi
    Under discussion
    I want output upto 2 decimal place only. 31.40//The output is 31.400000000000002 public class Codegym { public static void main(String[] args) { printCircleCircumference(5); } public static void printCircleCircumference(int radius) { //write your code here double result = 2*3.14*radius; System.out.p
    • 07.01.2021
    • 585views
    • 5comments
    0
  • Solanki Dhruv
    Level 18
    Surat
    Question about the task Identical words in a list
    Java Syntax, Level 10, Lesson 11
    Under discussion
    I got right result...but still fail on website.?
    • 02.12.2018
    • 1557views
    • 6comments
    0
  • Ivan Duka
    Level 22
    Winnipeg
    Question about the task Array of string lists
    Java Syntax, Level 10, Lesson 11
    Under discussion
    How to Create an Array of Parameterized TypesHi! Please help, I am not sure why it does not pass the tests. I strongly suspect that it is about line 20: ArrayList[] result = (ArrayList[])new ArrayList[size]; I tried several ways to declare this array but no luck. As per Oracle's documentation, we Cannot Create Arrays of Parameteriz
    • 07.04.2019
    • 2669views
    • 5comments
    5
  • Gellert Varga
    Level 23
    Szekesfehervar
    Under discussion
    Reference conversions: widening and narrowingFrom the Oracle's website: "A widening reference conversion exists from any reference type S to any reference type T, provided S is a subtype of T. " "Narrowing reference conversions: From any reference type S to any reference type T, provided that S is a proper supertype of T. " 1.) On base of th
    • 06.01.2021
    • 662views
    • 4comments
    0
  • Odeh Osayande Vincent
    Level 1
    Limerick
    Under discussion
    algorithmDesign an Algorithm for the following Java application that asks a customer to: enter the quantity of items requested from a mail-order catalogue, and the price of each item. The program will then return & display the totalCost of the required items. The results are formatted to
    • 01.05.2020
    • 715views
    • 0comments
    0
  • Odeh Osayande Vincent
    Level 1
    Limerick
    Question about the task Improvements in Java 7 (multiple exceptions)
    Java Collections, Level 8, Lesson 6
    Under discussion
    write a method called positive values which will calculate and return the number of positive numbers in arraywrite a method called positive values which will calculate and return the number of positive numbers in array
    • 01.05.2020
    • 890views
    • 0comments
    0
  • Syed
    Level 1
    Bolton
    Under discussion
    what is subscription fees?Hi what is subscription fees?
    • 03.05.2020
    • 949views
    • 0comments
    0
  • fzw
    Level 41
    West University Place
    Question about the task Caching
    Java Collections, Level 4, Lesson 8
    Under discussion
    Why is my code not validating last two requirements?I can get exactly the same result as the expected output. Thanks.
    • 05.05.2020
    • 832views
    • 0comments
    0
  • anele
    Level 0
    Under discussion
    Online teaching Does online teaching enhance the learning of Business studies at this time of covid 19
    • 06.05.2020
    • 412views
    • 0comments
    0
  • myqms
    Level 14
    Landshut
    Under discussion
    What is wrong with the markTile method ?Please help, I can't find the mistake.
    • 06.05.2020
    • 431views
    • 0comments
    0
  • Vadim
    Level 8
    Hounslow
    Under discussion
    it's something new for me, who can explain me that? Thanks a lotpublic class Solution { public static int step; public static void main(String[] args) { method1(); } public static void method1() { method2(); } public static void method2() { new Solution().method3(); } public void method3() { me
    • 14.05.2020
    • 388views
    • 0comments
    0
  • Dima Faraj
    Level 0
    Question about the task Snake (Part 20/20)
    Games, Level 0, Lesson 1
    Under discussion
    Help with Snake CollisionI've just finished the course, and am doing bug-fixes. I have no idea how to make the snake move correctly, here's the code relating to my issue: //snake.java package com.codegym.games.snake; import com.codegym.engine.cell.*; import java.util.ArrayList; import java.util.List; public class Snake ex
    • 15.05.2020
    • 690views
    • 0comments
    0
  • Arthur
    Level 8
    Céron
    Under discussion
    HelloI don't understand why it doesn't work...
    • 18.05.2020
    • 492views
    • 0comments
    0
  • Angus McDonald
    Level 5
    Sydney
    Question about the task Minesweeper (Part 16/16)
    Games, Level 0, Lesson 0
    Under discussion
    Final step and code has been adjusted (not by me) which now doesn't function correctly.Hi team, I've just completed step 15 of the Minesweeper project successfully, moved into step 16 being very pleased with myself seeing that the game is complete and it appears that a bunch of code has been removed / updated when moving from step 15 to 16. The game isn't functioning as it should. I'
    • 19.05.2020
    • 402views
    • 0comments
    0
  • Lisa THAZAR
    Level 1
    Francheville
    Under discussion
    Hi everyone..This is my code, and the error is the createGame don't call in the initialize.. Can you help me please?package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { private GameObject[][] gameField = new GameObject[SIDE][SIDE]; // check spelling of GameObject[][] variable above private static final int SIDE = 9; public void ini
    • 20.05.2020
    • 494views
    • 0comments
    0
  • BlueJavaBanana
    Level 37
    Question about the task Debug everything under the sun
    Java Core, Level 6, Lesson 13
    Resolved
    Hints/Tips on this TaskI don't want the solution to this task, but I'm really struggling to grasp how to approach this problem. Has anyone got any tips/subtle hints?
    • 14.05.2020
    • 633views
    • 2comments
    0
  • Katerina Brookshaw Petranova
    Level 5
    Parque la reina-Cho
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Resolved
    please helpcan you please tell me where I'm going wrong and what have I forgotten? Please be clear as this is the first time I'm trying to learn programming language, thanks.
    • 15.12.2020
    • 588views
    • 5comments
    0
  • Dinesh
    Level 7
    Delhi
    Question about the task Minimum of two numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Can not find symbol num1 and num2 package com.codegym.task.task04.task0418; /* Minimum of two numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    • 06.01.2021
    • 524views
    • 2comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task Debug everything under the sun
    Java Core, Level 6, Lesson 13
    Under discussion
    The program must use OurUncaughtExceptionHandler's uncaughtException method to display 2 messages.As far as I understand this I am setting the default exception handler OurUncaughtExceptionHandler. Placing it inside the TestedThread class definition. It outputs the two lines correctly. Thus, it must be using "OurUncaughtExceptionHandler to display the two messages. Please help!
    • 11.07.2019
    • 1654views
    • 5comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Debug everything under the sun
    Java Core, Level 6, Lesson 13
    Under discussion
    need some hintIf i properly understand Interface Thread.UncaughtExceptionHandler it should be invoke when RuntimeException is throw.
    • 28.02.2019
    • 1411views
    • 4comments
    0
  • 1
  • ...
  • 99
  • 100
  • 101
  • 102
  • 103
  • ...
  • 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