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
Mikayla Pace
Level 27
Salt Lake City
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Am I iterating correctly?
Not sure why my removeFirstNameDuplicates method doesn't remove duplicate values.
27.09.2019
1486
views
1
comment
0
Antonia
Level 10
Question about the task
Display today's date
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
help
?
15.07.2019
1179
views
4
comments
0
Denis
Level 22
Kharkiv
Question about the task
Sorting bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
give me your help pls
need help
28.06.2019
993
views
1
comment
0
Andriy
Level 22
Toronto
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Under discussion
What is the problem?
The second half of the bytes in the first file must be written to the third file??
27.09.2019
946
views
1
comment
0
Antonio
Level 12
Rotterdam
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Output is correct
Who can help me out????
23.09.2019
837
views
1
comment
0
Online Learner
Level 6
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
i don't understand this program
that's llike somthing new for me
18.07.2019
1393
views
5
comments
0
Senbaga Rajesh S
Level 4
Chennai
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Error at Green color alone.
Only green color is not displayed. Please guide.
23.04.2019
1575
views
3
comments
2
Denis
Level 22
Kharkiv
Question about the task
Robot wars
Java Core
,
Level 3
,
Lesson 11
Under discussion
heeeelp
dont understand
25.06.2019
934
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Turnip
Java Core
,
Level 3
,
Lesson 11
Under discussion
Pls help with this
i cant pass this
25.06.2019
1152
views
1
comment
0
Bryce Lindley
Level 9
Olympia
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Difficult Question
I'm trying to figure this one out. Any pointers??
05.09.2019
1289
views
3
comments
0
fifi deng
Level 22
Paris
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
the last question
Why i cant fitt it?
25.09.2019
1104
views
2
comments
0
John
Level 20
Kazan
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
Last conditions don't pass
Don't understand. Validation don't pass.
26.09.2019
1309
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Punctuation
Java Core
,
Level 9
,
Lesson 5
Under discussion
One condition
Need help pls
29.06.2019
1073
views
2
comments
0
Carlos Cortázar
Level 17
Madrid
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Under discussion
What's wrong with this?
help, what am I doing wrong?
26.09.2019
1003
views
2
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
problems ;p)
So you fill the large array with 20 elements. In the if statement. if int i is less that half of the larger.length/2 (which equals 10th index) fill the small1 array. The else statement throws an array index out of bound. ;/
27.09.2019
1050
views
1
comment
0
Bryce Lindley
Level 9
Olympia
Question about the task
Lonely arrays interact
Java Syntax
,
Level 7
,
Lesson 4
Archived
is this the right method?
I was using indexOf(i) but it doesn't seem like its right ?
26.09.2019
1558
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
How do you serialize Singleton?
Java Core
,
Level 10
,
Lesson 4
Under discussion
Need help
One condition,pls
30.06.2019
1188
views
2
comments
0
Deepak Chandra
Level 16
Visakhapatnam
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
This is my solution guys hope it helps even i had to do 10 attempts to solve it .
public class Solution { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); double num = scanner.nextDouble(); num = num % 5; if (num >= 0.0 && num < 3.0){ System.out.println("green"); }else if (n
02.05.2019
2028
views
7
comments
3
Hrvoje
Level 17
Zagreb
Question about the task
Unknown animal
Java Core
,
Level 2
,
Lesson 12
Under discussion
Works as required yet I cannot pass
Any help would be greatly appreciated :)
22.05.2019
1512
views
4
comments
0
shobi khan
Level 18
Lalian
Question about the task
Notes for all
Java Core
,
Level 7
,
Lesson 6
Under discussion
whats the problem
how last condition can be cleared
29.05.2019
1169
views
4
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Array's are tough!!
I get confused with list.length - 1. That means I work my way from the end of the array (top of the array and all the way down?) Example 1 2 3 4 5 this Example.length - 1 would start at 5 yes?
24.09.2019
1059
views
2
comments
0
Michael
Level 10
Dresden
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Where lies the problem, in the code or in the validator?
The code fullfills all requirements. Nevertheless it does not validate. Any idea? I would like to give the validator my thumbs up. ;-) ANSWER: I had characters in my print statement instead of just numbers. :-)
25.09.2019
1428
views
1
comment
0
Jesús de Llera
Level 23
Badajoz
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Under discussion
Have been trying for ages. Any hint?
I've tested the program on the terminal, with and without arguments, and it's working fine. Is there something I am not seeing? Suggestions appreciated. Thanks!
11.09.2019
1239
views
1
comment
0
Michael
Level 10
Dresden
Question about the task
Name register
Java Syntax
,
Level 4
,
Lesson 2
Resolved
Code factually complies with all requirements, but validator throws error regarding task description no. 5
What is wrong with this code (or the validator??). Maybe I misunderstood the challenge? The code complies with all requirements, including the last one. Nevertheless the validator tells me, it does not fullfill the last requirement: "The Cat class's setName method must set the value of the global pr
23.09.2019
1817
views
2
comments
0
Anita Pal
Level 14
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Plzz help me in finding error in program
package com.codegym.task.task07.task0722; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* The end */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader
25.09.2019
1456
views
4
comments
0
Raj Mishra
Level 15
India
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
I dont understand why my last validation is failing
I think I have written the code as per expectation. As expected my Cat1 is true and cat2 is false. Then why my last validation is failing?
22.09.2019
1456
views
3
comments
0
Allyson
Level 4
West Chester
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
why wont my e variable work????
help
16.09.2019
1174
views
3
comments
0
znelson240
Level 4
Tacoma
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Weird error?
Not sure what I'm doing wrong, error says that it's expecting an ")" on line 20. Any help or hints are appreciated!
24.09.2019
1089
views
2
comments
0
Сильвестр Сергеев
Level 14
Kharkiv
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
What's wrong? It's worked at previosly task.
public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); ArrayList strings = new ArrayList(); strings.add(scan.nextLine()); strings.add(scan.nextLine()); strings.add(scan.nextLine()
24.09.2019
1671
views
3
comments
0
Jay
Level 17
Washington
Question about the task
Exception invasion
Java Core
,
Level 4
,
Lesson 8
Under discussion
Help needed
How aren't these exceptions unique?
20.08.2019
1462
views
4
comments
1
Show more
1
...
275
276
277
278
279
...
372
Please enable JavaScript to continue using this application.