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
Joy Majumdar
Level 16
Kolkata
Question about the task
MovieFactory
Java Core
,
Level 4
,
Lesson 8
Resolved
What is wrong here ?
Why the last condition not matching......
27.07.2019
1511
views
3
comments
0
Mykola
Level 14
Toronto
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Promlem with max method
This method is working perfectly fine but I can't pass the validation (error occurs on step #3). Any suggestion where is the bug? Thanks.
26.07.2019
1637
views
3
comments
0
Gábor
Level 14
Budapest
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What is wrong with my code ? :(
pls, help me out with this.
24.07.2019
1422
views
7
comments
0
Michael Davis
Level 11
Mount Laurel
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
How is this not right, when I have the Right Answers?
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int low = 0; if (a <= b && a <= c && a <= d) { low = a; } else if (b <= a &&a
21.07.2019
2077
views
3
comments
0
Swati
Level 8
Pune
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
why verification fails
while running program ,its running correctly.but verification time errors are there.
17.01.2019
1706
views
4
comments
0
dibidebe
Level 7
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
help
could someone please explain to me what is wrong with my code?
27.07.2019
1299
views
1
comment
0
Jay
Level 17
Washington
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Not meeting last condition. Advised to account for additional spacing between words.
I even tried running it after adding additional spacing between words and my output was correct. What's the issue?
27.07.2019
1215
views
2
comments
0
JeRiF94
Level 22
Baku
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Under discussion
Mistake in last two
Help me please to understand where I did mistake.
27.07.2019
1340
views
2
comments
0
Gábor
Level 14
Budapest
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
cord work as it needed, but still not pass some requirements
You can put any number there, it not gona count the 0. and the main variables declared as 0, so in case there is no positive its going to print 0 and the same for negative. BUT still not passing these requirements...
27.07.2019
1199
views
1
comment
0
nikhil singla
Level 9
Chandigarh
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
What's wrong here? Last condition not satisfying with this..
public static HashSet removeAllNumbersGreaterThan10(HashSet set) { // write your code here for(Integer num : set){ if(num > 10){ set.remove(num); } } return set; }
27.07.2019
1220
views
1
comment
0
MICHAEL DUNLAP
Level 20
Bellevue
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Not getting the final requirement
So...if the main program is creating its own cats with the proper setup to return true for Cat1 and false for Cat2, I'm curious as to how the testing program is failing to verify. Is it substituting its own main with some other Cat objects? In short, even after reading the other comments, I can't fi
27.07.2019
1428
views
2
comments
0
dibidebe
Level 7
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
help
Could someone please tell me what is wrong with my code and why does last two requirements won't pass?
27.07.2019
1187
views
2
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Can anyone please explain
what's wrong with this code
24.07.2019
1191
views
1
comment
0
Voris
Level 10
Tashkent
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Resolved
My code works , but requierements are not met. It says that it must read from the keyboard, but my code is doing that, so i cant understand what's wrong
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Collections; /* Minimum of N numbers */ public class Solution { public static BufferedReader bf = new
27.07.2019
1623
views
2
comments
0
Steve
Level 9
Denver
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
No passing steps 3 and four in the task,, but when I run the application,, everything is fine??
package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exception { //write your
18.07.2019
1258
views
2
comments
0
Voris
Level 10
Tashkent
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Resolved
I can't understand why it's incorrect, may be because instead of 0 my answer is null ?
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); // Alphabet String abc = "abcdefghijklmnopqrstuvwxyz"; char[] abcArray = abc.toCharArray(); /
17.07.2019
1261
views
2
comments
0
Juan Gallardo
Level 10
Edmonton
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Can't find the error in this code
Please help
31.10.2018
1383
views
8
comments
0
Alexandru Ovcinicov
Level 15
London
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
I get expected results , but CodeGym validator does not validate. Do you have ideas?
package com.codegym.task.task08.task0826; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.i
24.07.2019
1421
views
2
comments
0
hidden #10444738
Level 16
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
why has it failed.
This sorts in decending order yet it fails at the last. why?
17.06.2019
1498
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Fix the bugs
Java Core
,
Level 8
,
Lesson 5
Under discussion
Help me pls
Need help
28.06.2019
1462
views
1
comment
0
Antonia
Level 10
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
?
help
26.07.2019
1211
views
1
comment
0
Khurram
Level 16
Lahore
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Help needed
the code runs fine for when the values of the two objects are different, but when they are same, it returns true for both the below statements; System.out.println(cat1.fight(cat2)); System.out.println(cat2.fight(cat1)); It should return true for one and false for the other. I can use "this.equals(
11.09.2018
2479
views
4
comments
0
Sunayana
Level 6
hyderabad
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
cant meet the forth requirement..please help
somehow average
02.07.2019
1460
views
4
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Error
here I am not able to pass the verification of error no. 3,5,6.
19.07.2019
1138
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Find the bugs
Java Core
,
Level 10
,
Lesson 10
Under discussion
Last condition
need help guys
30.06.2019
1204
views
1
comment
0
Deep Maheshwari
Level 10
Nanded
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Why is it not verifying inspite of correct result and code...?
I think it's all correct but if anyone has suggestions please help!!!
22.06.2019
1675
views
8
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
The isomorphs are coming
Java Core
,
Level 2
,
Lesson 12
Under discussion
I get the correct output but it doesn't verify
I'm pretty sure I'm overthinking this problem and there is an easier way to do this, but why isn't my code verifying? I get the correct output.
26.07.2019
1132
views
1
comment
0
Mohamed Afify
Level 12
cairo
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
failed to pass testing
the program works perfect but the task failed idk why
25.07.2019
1024
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Synchronized methods
Java Core
,
Level 7
,
Lesson 10
Under discussion
How i can do this
Help pls
28.06.2019
1270
views
1
comment
0
Lukas Smetana
Level 10
London
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Is this good solution?
package com.codegym.task.task04.task0426; /* Labels and numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
22.07.2019
1392
views
3
comments
0
Show more
1
...
293
294
295
296
297
...
372
Please enable JavaScript to continue using this application.