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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Ivan Robert Vecerina
Level 8
Warrington
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Help!!! Result and outputs are correct but vefication fails.
I don't understand what's wrong here, the output is correct....
8/18/19
1775
views
5
comments
2
Hoàng Trần
Level 6
Ha Noi
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Can somebody help me with this please?
Can somebody help me with this please? It's so frustrating to find where i should put in the parentheses. You can give a hint, or even an answer, thank you in advance.
7/20/19
1785
views
11
comments
0
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!
9/13/19
1139
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 ?
9/13/19
1239
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;
9/12/19
1413
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.
9/13/19
1432
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 ???
6/25/19
1807
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.
9/13/19
1291
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 ?
9/14/19
1248
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
5/24/19
2017
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..
9/13/19
1352
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 ?
9/10/19
1477
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".
9/11/19
1337
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()); }
9/13/19
1108
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.
8/25/19
1468
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
9/13/19
1093
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
9/10/19
1521
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
8/22/19
1600
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.
9/12/19
1343
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.
9/12/19
941
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) {
9/11/19
1489
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?
9/11/19
1624
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
9/4/19
1274
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()?
8/30/19
1487
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.
9/12/19
1328
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
5/20/19
2007
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
9/6/19
1310
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
8/20/19
1609
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 =
9/8/19
1841
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
6/30/19
1468
views
1
comment
0
Show more
1
...
281
282
283
284
285
...
374
Please enable JavaScript to continue using this application.