Promotion
CodeGym University
Learning
Course
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
Tay2von
Level 6
Oklahoma City
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Everything functions properly but fails.... Why????
29.11.2020
441
views
2
comments
0
Usama Ali
Level 2
Multan
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Under discussion
I didn't understand what to do can anyone help plz?
Tried all the methods that I could
16.09.2018
1473
views
8
comments
0
Maria
Level 7
Berlin
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Help please, I dont know why the program dosent work
Hello everyone, I need help with these task, is not verifying, I dont know why, I hope you can help me Greetings, Maria :D
29.11.2020
553
views
2
comments
0
Shadow
Level 7
Hogsmead
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
helpp
why is still the last condition not completed...
26.11.2020
443
views
2
comments
0
Nobody
Level 37
Seattle
Question about the task
Making the right conclusion
Java Core
,
Level 10
,
Lesson 10
Under discussion
How this impossible?
if we declare A B C as inner classes then we can access the others methods no matter we declare those method are private or not. So in the requirement 4th ask that in C class' method 2 it have to call super.method1() then we have an ambiguity because it can call method1 from class A and B
25.05.2019
1107
views
3
comments
1
Lex Icon
Level 17
Sofia
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
The problem with 4th condition.
Please, help.
20.11.2020
508
views
5
comments
0
Robert Constantinescu
Level 25
Bucharest
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Am i missing something?
So the program looks like it displays the desired output, but for some reason(that i can't figure out) it doesn't pass testing? Could you let me know what the problem is here? Thanks you
22.10.2019
1032
views
5
comments
0
MP
Level 8
Wietzendorf
Under discussion
Redoing tasks
Is there a way to redo tasks? I stopped learning and want to start over again
28.11.2020
497
views
1
comment
0
Matthäus Schüle
Level 6
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
I need some help here ...
Hi all, i really do not get it. Where exactly is my failure in this task ... Thanks in advance for your help
28.11.2020
437
views
2
comments
0
Шарох
Level 10
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Hi Coders !
We want to find max number in an array list . I have three questions : 1) We need a loop, for checking our condition in the scope of array list. And we need a "if condition" for our purpose. So what should I do now.I don't know why "Arrays" is such ambiguous. 2) What's my fault ? 3) Please introd
27.11.2020
515
views
4
comments
0
Erhan H.
Level 23
Istanbul
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Under discussion
Help please
Help please
02.12.2019
1069
views
1
comment
0
Baurzhan Konurbayev
Level 40
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Under discussion
Still failing after fixing comments
Hi, Previously I had issue with comments, but it was fixed and I was able to load from txt with the same content as on Wikipedia. Could you please check? Thanks
18.08.2020
469
views
2
comments
0
hidden #10618197
Level 16
Under discussion
Condition 4 not met? but why, the programm does what it shoud
20.11.2020
433
views
2
comments
0
hidden #10618197
Level 16
Under discussion
Last condition not met, but why? The programm does what it shoud!
20.11.2020
340
views
2
comments
0
Seferi
Level 22
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
Help is greatly appreciated
I'm failing the last condition..
10.11.2020
516
views
11
comments
0
Nouser
Level 36
Question about the task
CountDownLatch
Java Multithreading
,
Level 7
,
Lesson 9
Resolved
Can someone explain me why?
So I have stripped down the someMethod() to just latch.await() and the retrieveValue() call. Validation gives me the hint to 'call countDown on the object stored in the latch field'. But why? await stops all threads till the latchs internal counter is set to zero. If I countdown before await what's
25.11.2020
619
views
7
comments
0
Andrei
Level 41
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
On paper everything is fine, even read many other comments to the problem and the Help section, still, not passing verification.
public class Solution { public static int countFirstName = 0; public static int countLastName = 0; public static HashMap createMap() { //write your code here HashMap mapOfNames = new HashMap<>(); mapOfNames.put("Andrei", "Damigeana"); mapOfNames.p
03.11.2020
550
views
4
comments
0
Andrei
Level 41
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Resolved
Is there a way I could make my program simpler, more elegant?
public class Solution { public static void main(String[] args) throws IOException, FileNotFoundException { // write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str1 = null; String str2 = "exit"; String
27.11.2020
304
views
2
comments
0
Seferi
Level 22
Question about the task
Stranger things
Java Core
,
Level 10
,
Lesson 2
Resolved
Help is appreciated - equals method
Nothing I tried worked. Can someone point me to the right direction?
25.11.2020
410
views
4
comments
0
Шарох
Level 10
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Hi Coders!
1. What's @Override ? 2. What's my code wrong 😞?
25.11.2020
601
views
7
comments
0
Karol Wijas
Level 12
Zawada
Under discussion
Poziomy trudności zadań ?
Witam, Czy ktoś opisze poziomy trudności zadań? Tak z ciekawości bo nie mogę nigdzie znaleźć na stronie :D
26.11.2020
406
views
5
comments
0
Andrei
Level 41
Question about the task
Don't mix beer with cola
Java Core
,
Level 3
,
Lesson 2
Resolved
public vs default?
If public interface drink is public, and public class beer is public and boolean isAlcoholic is default, why do I have to change it to public when implementing it in beer class?
26.11.2020
325
views
2
comments
0
Jeremi Nuer
Level 7
San Francisco
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Should work... why doesn't it?
I've checked other peoples problems, and looked over mine quite a few times. Everything should work, but its not fulfilling last two requirements, and its not telling me whats wrong.
26.11.2020
325
views
1
comment
0
Albert
Level 6
Hong Kong
Question about the task
Create a Rectangle class
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Cannot get the point of this task
// I kind of pass the task, but I have completely no idea what I have done // Did I miss any element from the task? /* if I type: public Rectangle(int left, int width){ // case A this.left = left; this.width = width; } does it presents to the system the same as: pu
24.11.2020
557
views
2
comments
0
Maryem Vickers
Level 7
HT...
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Hey, what is the NullPointerException Error here?! I need some help!
Hi coders, Can I have some help?! If you run this, you find this error; java.lang.NullPointerException at com.codegym.task.task07.task0708.Solution.main(Solution.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod
13.11.2020
332
views
2
comments
0
Andrei
Level 41
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Resolved
I don't understand how gameField[y][x] = new GameObject(x, y, isMine); works. Can someone please explain?
Hello, In the program there is this line gameField[y][x] = new GameObject(x, y, isMine); but I don't quite understand what exactly is does. Does it add at position y the indices x which is the new game object? Do the x and y from gameobject transfer to the gamefield array? If so, how is that po
24.11.2020
585
views
4
comments
0
Dave Shapiro
Level 31
Co. Kerry
Question about the task
Cats
Java Core
,
Level 4
,
Lesson 4
Under discussion
Glitch in task i think?
Output I'm getting: I'm boss, an alley cat I'm a nice kitten named Missy I'm a nice kitten named Smudgey I'm pirate, an alley cat My method (I'll post it since it won't pass with this!): BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); String catIn = null; w
16.11.2020
384
views
5
comments
0
Cristian
Level 13
Ploiesti
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Cannot find symbol symbol: method remove(int) location: variable s of type java.lang.String.
Hi, guys! I make a mistake. It's something about method remove, I think. cannot find symbol symbol: method remove(int) location: variable s of type java.lang.String. Please clarify me. Thank you in advance! package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ pub
23.11.2020
1662
views
4
comments
0
Roman Grygorczuk
Level 19
Cracow
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Cannot pass last requirements
Hi all, Cannot pass the last condition. I read through another examples in the forum but I cannot understand what is wrong. Any hints? Thanks, Roman
22.11.2020
589
views
9
comments
0
Bogdan Codreanu
Level 23
Question about the task
Find all the files
Java Collections
,
Level 1
,
Lesson 2
Resolved
can someone help please ?
???
05.09.2019
1237
views
2
comments
0
Show more
1
...
103
104
105
106
107
...
366
Please enable JavaScript to continue using this application.