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
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
BlueJavaBanana
Level 37
Question about the task
Fibonacci numbers using recursion
Java Collections
,
Level 4
,
Lesson 2
Resolved
Does this need to be solved with one method?
Do I need to solve this task within this method? public int fibonacci(int n) { return 0; } Or will I need to make a helper method that uses arrays to keep track of the n-1, n-2?
21.02.2021
512
views
3
comments
0
Max
Level 5
Stamford
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Need help
I can't find the error.
20.02.2021
573
views
4
comments
0
TaoLu
Level 20
泾县
Under discussion
An error occurred: APP_PUBLISH_ERROR
An error occurred during verification when i run task of Minesweeper (Part 16/16)
21.02.2021
578
views
0
comments
1
TaoLu
Level 20
泾县
Under discussion
Task number and link of task page
how to Enter the number or link to the task page is it https://codegym.cc/tasks/com.codegym.games.minesweeper.part16 or some code? How to view details for task number or page of link ?
21.02.2021
409
views
1
comment
1
Raed Saleh
Level 25
Amman
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
this task wont verify
why this task wont verify I would be grateful if some one help me out thanks
20.02.2021
702
views
2
comments
0
Mohammed Alderweesh
Level 13
Dhahran
Question about the task
Target locked!
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
This should work!!!!
I crossed referenced it with the solution they give and it is the same, but it says that the tasks are un-met. I would appreciate any help. Thank you.
20.02.2021
594
views
4
comments
0
Philip T-D
Level 18
San Diego
Question about the task
IMF
Java Core
,
Level 7
,
Lesson 4
Resolved
How does this not work? I need a hint...
public class IMF { private static IMF imf; public static IMF getFund() { synchronized (imf) { if(imf == null) imf = new IMF(); return imf; } } private IMF() { } }
02.05.2019
1965
views
5
comments
0
Bogdan Codreanu
Level 23
Question about the task
Synchronized president
Java Core
,
Level 7
,
Lesson 4
Resolved
can someone help please
??
22.07.2019
1648
views
2
comments
1
Tomasz Zalejski
Level 8
Warsaw
Under discussion
No task in IntelliJ IDEA
I came to level 3. You told me to install IntelliJ and the plugin. done. The program shows only completed tasks from level 0 and 1. When you click on them, an error appears. Why are there no level 2 or level 3 tasks?
31.10.2019
1594
views
11
comments
0
Anthony Chalk
Level 30
London
Question about the task
Rectangle algorithms
Java Core
,
Level 10
,
Lesson 10
Resolved
Matches task example output?
Sorry if the code is a little messy, the idea I was going with is: 1) If an element (point A) == 1, increment rectangleCount and - 2) Change the value to 0 (so it doesn't get recounted at a later point) 3) Check if/how many consecutive elements in the same row are also 1 4) Change all those values t
22.03.2020
1465
views
8
comments
2
EugeneEmory
Level 8
San Antonio
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Verification doesn't like it?
So with the variables 1,2,3 the code will run and the message "the triangle is not possible" comes up. That should be correct because it is executing properly but the verification doesn't register it. Anyone see something that I can't?
12.02.2021
575
views
7
comments
0
Damian Bochen
Level 37
Krakow
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Under discussion
Problem with "bd"
My code works for all tests, but there is a problem. According to requirements, the bd format is 04 15 1990 not "04 15 1990", so I had to go further with args[i+?]. Can anyone help me?
18.02.2021
504
views
2
comments
0
Daniel
Level 41
Rybnik
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
My solution works like a charm but I can't pass last requirement
public class Solution { public static long power(long a, long b) { //my method to do Math.pow long powerResult = 1; while (b >= 1) { powerResult = powerResult * a; b--; } return powerResult; } public static long[] getNumbers(lo
19.02.2021
575
views
1
comment
0
Azamat Aminov
Level 41
Tashkent
Question about the task
Symbol frequency
Java Core
,
Level 8
,
Lesson 11
Resolved
Friends I need help, I think output is correct and also I used to sort TreeMap but task is not verified
.
21.12.2019
1257
views
2
comments
0
silent_sunshine
Level 23
Orlando
Resolved
I don't know why it can't verify.
package com.codegym.games.game2048; import com.codegym.engine.cell.Game; import com.codegym.engine.cell.*; import java.util.*; import java.util.function.IntPredicate; /** * @author zhouqichun * @version 1.0 * @date 2021/2/19 - 02 - 19 - 16:35 * @description CodeGymTasks com.codegym.games.ga
19.02.2021
523
views
1
comment
0
Shubham Yadav
Level 2
Lucknow
Resolved
help in { public Woman owner; }
in this code.... public static class Cat { public Woman owner;
13.02.2021
791
views
14
comments
0
Gus Iwanaga
Level 18
Munich
Under discussion
Help with Abnormal build process termination
Hello everyone! I just started level 9 (Java Syntax quest) and for whatever reason I keep getting this massive error message. Has anybody faced the same issue? I'm in touch with the support team but wanted to check if somebody was able to get this solved... Full error message: Abnormal build proc
18.02.2021
1156
views
1
comment
0
Daniel Whyte
Level 17
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
List
This seems like a funny way to create the list. I thought it would be more like the below: ArrayList<> list = new ArrayList<>();
18.02.2021
398
views
0
comments
0
Andrei
Level 41
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
Stupid date not formatting my output. What the hell?
So everything checks out by the mentor except for the date. Even though I think I did everything by the book, SDF won't format my date in the desired output. What am I missing?
18.02.2021
758
views
8
comments
0
Dmitri
Level 22
Seversk
Question about the task
Serializable Solution
Java Core
,
Level 10
,
Lesson 7
Under discussion
This code passed but the task is kind of strange.
This code passed but the task is kind of strange. If you run my code you will see that the written object is not equal to the read one. Only their string field are equal. That is sort of confusing and misleading.
19.02.2021
544
views
1
comment
0
Andrei
Level 41
Question about the task
Searching for the right lines
Java Core
,
Level 9
,
Lesson 11
Resolved
Confusing requirements. A B A D // 3 words from words, rejected ????
Hello, for task package com.codegym.task.task19.task1922 something is not making sense for me: Display all of the file's lines that contain only 2 words in the words list. A B A D // 3 words from words, rejected - what do you mean it has 3 words? It only has 2 which are A and B. Does it count th
19.02.2021
517
views
2
comments
0
MoJo
Level 23
Cairns
Question about the task
Rectangle algorithms
Java Core
,
Level 10
,
Lesson 10
Resolved
"Arrays.copyOf(original, newLength)" works wierd?
I did the task but i tried to copy the passed array using Arrays.copyOf(a, a.length). This did copy it but also it was mirroring my alternations to the original. So i had to copy oldschool with a for loops.... Shouldn't .copyOf() create a distinct copy of the given array that is not affecting the o
18.02.2021
497
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Debug, debug, and again debug
Java Core
,
Level 5
,
Lesson 12
Under discussion
how i can solve this
help me pls what i must change
26.06.2019
1537
views
4
comments
0
Russell
Level 9
Galmpton, Brixham
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Why? WHY WONT YOU WORK
this i supposed ot be a medium task, and as far as I can see, when i run the program it outputs EXACTLY as its supposed to. i take in the variable and convert it to upper case. (to workaround people not capitalizing words) then i compare the uppercase version of the input with the upper case versio
20.12.2020
571
views
4
comments
0
EugeneEmory
Level 8
San Antonio
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Verifier problems?
I seem to be having this problem a lot. As with my other problems, the code is working and includes -1 in the sum but the verifier doesn't seem to catch it. Anyone have a solution?
17.02.2021
618
views
11
comments
0
Raja Kumar
Level 0
Bangalore
Question about the task
Snake (Part 14/20)
Games
,
Level 0
,
Lesson 1
Under discussion
I want to see what is inside that Game class or Key class.
does any body know how to see what are the different methods inside the game class or key class. so that to see the contents of the predefine function which we are using in this game development for getting the idea how the things work in this game. in this game they have just told to inherit the g
18.02.2021
529
views
0
comments
0
Banak
Level 29
Saint-Gratien
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
Missing element or Extra element in the Array
Could someone please explain to me what is wrong with the returned ARRAY?
18.02.2021
479
views
1
comment
0
Zach
Level 22
Fort Collins
Question about the task
HashMap of Objects
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
Null pointer exception
I'm confused as to how to work around the null pointer exception with this object. map.put("Baby", null); map.put("Hugs", 111111111111L); <--------- This is also not correct, right??? Here is the code to get the value. Does toString() not work on null objects? String value = person.getValu
07.02.2021
986
views
2
comments
0
Ahmad Abbasi
Level 9
Anaheim
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
see above task - help
why do we have to get third index and not a different one?
18.02.2021
585
views
1
comment
0
dhanush
Level 30
Chennai
Question about the task
Feline carnage
Java Syntax
,
Level 5
,
Lesson 5
Resolved
help
can anyone tell what i'm doing
30.05.2020
933
views
7
comments
0
Show more
1
...
84
85
86
87
88
...
372
Please enable JavaScript to continue using this application.