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
Yashi Gupta
Level 17
Delhi
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
what's wrong with my code?
2 requirements not met!
13.09.2019
992
views
2
comments
0
Marcin
Level 22
Edinburgh
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
is that correct solution for display duplicated strings ?
// Display result for (int i =0; i < result.size(); i++ ){ System.out.println(result.get(i)); System.out.println(result.get(i)); is that correct solution for display duplicated strings ?
13.09.2019
1078
views
3
comments
0
Cristian
Level 16
Bucharest
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
What is wrong with my code? Thank you!
package com.codegym.task.task05.task0510; /* Initializing cats */ public class Cat { private String name; private int weight; private String color; private int age; private String address; public void initialize(String name) { this.name = name;
12.09.2019
1237
views
5
comments
0
Lex Medeiros
Level 18
San Jose
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Under discussion
Not sure why it is not validating
Can anyone point out why is the reason this is not validating? I am finding the most repeated byte and adding it to the resultsMap along with the file name.
13.09.2019
1281
views
2
comments
0
iHappy Violence
Level 7
Saint Petersburg
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Help me please
Why not worked ???
25.06.2019
1668
views
4
comments
0
Michael
Level 10
Dresden
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Solution easy, but learning effect null
It would be helpful if someone could explain the order of the name and number variables and why here the String variable has to be declared before the int variables.
13.09.2019
1138
views
1
comment
0
Bartek J.
Level 13
Zielona Góra
Question about the task
Minimum and Maximum
Java Core
,
Level 1
,
Lesson 11
Under discussion
Output good, but cant pass checklist
Hi, I have a good output result, but still cant pass the checklist. Can sb help ?
14.09.2019
1107
views
1
comment
0
Ash Ka
Level 13
Calgary
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
The code seems to work for every number (>127) but the last task fails with a recommendation from mentor
I ran the code by putting my longest sequence in the end and it seems to work perfectly fine. Pls help. I see this recommendation from the mentor for the last requirement- Be sure that the length of the longest sequence is calculated correctly when it is located at the end of the list of entered nu
24.05.2019
1777
views
4
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Where am I wrong ?
Input 89 89 98 98 98 98 98 98 71 100 Output should be 6 but I am getting 8..
13.09.2019
1201
views
1
comment
0
Clarendon lee
Level 8
Baltimore
Question about the task
We solemnly publish and declare these variables...
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
How to restart my tasks?
How to restart my tasks ?
10.09.2019
1314
views
2
comments
0
Clarendon lee
Level 8
Baltimore
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
Task requirements are not met
What's my solution wrong? Verify tell me " Task requirements are not met".
11.09.2019
1212
views
2
comments
0
hidden #10467591
Level 19
Question about the task
Table
Java Core
,
Level 8
,
Lesson 8
Under discussion
Do you have an idea?
Hey! Do you have and idea how to fix this? public void setModel(List rows) { System.out.println(rows.size()); }
13.09.2019
959
views
1
comment
0
Carlos Cortázar
Level 17
Madrid
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
what's wrong with this code
Hi. The program does not pass this code. It says me that something is wrong with the weight in the 'Fight' method implementation. I'm not able to see the error. Please, could somebody help me. Thank you very much.
25.08.2019
1293
views
4
comments
0
Carlos Cortázar
Level 17
Madrid
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
I still have problems with that. Please help.
I've already done a question for this task. But I still have problems. Please, could anybody help me. Thank you
13.09.2019
933
views
2
comments
0
Emanuele Gurini
Level 18
Porto Recanati
Question about the task
Maximum byte
Java Core
,
Level 8
,
Lesson 3
Under discussion
Fifty dollars for who find the error!
Guys, i'm poor, and i am not able to find the error. <3
10.09.2019
1348
views
9
comments
0
hidden #10500008
Level 8
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
my tasks are broken I can't write my code
my tasks are broken I can't write my code
22.08.2019
1429
views
4
comments
4
Carlos Cortázar
Level 17
Madrid
Question about the task
Task No. 1 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
Could anyone explain me how to do it?
Hi, friends I don't know how to resolve this task. I've been seeing that someone has resolved this by changing the casting on line 14 from 'short' to 'int' and it runs, but i can't understand the reason. Could anyone explain it to me? Thanks a lot.
12.09.2019
1115
views
3
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
My logic is wrong, or im missing a step
It doesn't seem to compare both user inputs. Maybe i'm doing this the wrong way, or should I be using an array.
12.09.2019
795
views
1
comment
0
Ash Ka
Level 13
Calgary
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Resolved
The code is not going into catch though I was able to complete the task by keeping the print order code in the try block itself (I know it's not correct). Please help me with the right solution
package com.codegym.task.task09.task0921; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.*; import java.io.*; /* Method in a try-catch */ public class Solution { public static void main(String[] args) {
11.09.2019
1319
views
2
comments
0
Venkata Garimella
Level 13
Karnataka
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Solution working and result is duplicated but failed when submitted
Solution verified with multiple strings. working fine but failed when submitted. What's is wrong?
11.09.2019
1483
views
1
comment
0
Henry
Level 6
Stuttgart
Question about the task
The humble programmer
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
confused and need help
I do not understand this text "The displayed text must contain the entered name". Is it trying to say that i do not have to include "Sara" in the printout in this way System.out.printout(" makes $120,000 a year. Ha-ha-ha!"); and that "Sara" should be typed on the console and should be part of the
04.09.2019
1138
views
2
comments
0
ddi
Level 18
Dortmund
Question about the task
Fixing bugs
Java Core
,
Level 4
,
Lesson 8
Under discussion
How to override the getCurrentCreature()?
How to override the getCurrentCreature()?
30.08.2019
1318
views
1
comment
0
Henry
Level 6
Stuttgart
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
hi
I would like your help with this task. Thanks.
12.09.2019
1169
views
1
comment
0
Lex Medeiros
Level 18
San Jose
Question about the task
Static modifiers and kittens
Java Core
,
Level 5
,
Lesson 9
Resolved
All is on the static block, but it does "see" it
"In the static block, create a Cat object and assign it to the variable cat (don't forget to initialize the field name)." I have created the object, initialized the name and printed out the cat's name in the static block, but for some reason it does not see it. Does anyone know what I am doing wro
20.05.2019
1760
views
4
comments
0
Cristian
Level 16
Bucharest
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Something is wrong. What? Thank you so much.
package com.codegym.task.task04.task0441; /* Somehow average */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); System.out.println("Enter the three numbers: "); int
06.09.2019
1119
views
6
comments
0
Benjamin Spoiden
Level 20
Liège
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Need some help
Hello, I don't get what i'm missing in this code make the longest display if it indeed come first. Any hint ? Thanks
20.08.2019
1460
views
4
comments
0
Alesha Ray
Level 20
Austin
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Resolved
Everything looks right and yet I'm somehow not accounting for all mined neighbors, please help! Thanks in advance
NOTE: Ignore the MinesweeperGame.class file, that's now how it's showing on my end so I'm not really sure what's going on there. So I've checked everything at this point and my code seems to be correct. I accounted for the fact that the columns and the cells are swapped here: for (int y =
08.09.2019
1671
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Overriding serialization in a thread
Java Core
,
Level 10
,
Lesson 10
Under discussion
One condition pls
Need help
30.06.2019
1325
views
1
comment
0
Djole
Level 41
Belgrade
Question about the task
CashMachine (part 13)
Java Collections
,
Level 9
,
Lesson 15
Archived
?
import com.codegym.task.task26.task2613.exception.InterruptedOperationException; import java.util.ResourceBundle; class DepositCommand implements Command{ private ResourceBundle res = ResourceBundle.getBundle(CashMachine.RESOURCE_PATH + "/deposit_en"); @Override public void execute()
09.09.2019
1134
views
2
comments
0
Jason
Level 26
Rancho Cucamonga
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Resolved
Honestly at a lose here and not even sure if I really completely understand my own code
I hate to admit but I got my sun, moon, and earth code almost directly from a website and I filled in the code for the solution.java and it seems most of it has worked but I haven't a clue what to do to get this last task to pass. Any help/explanation into what exactly I need to do would be greatly
11.09.2019
1544
views
2
comments
0
Show more
1
...
278
279
280
281
282
...
371
Please enable JavaScript to continue using this application.