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
hidden #10473715
Level 13
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What's the problem?
The output is right
27.07.2019
1235
views
1
comment
0
ddi
Level 18
Dortmund
Question about the task
20 words that start with the letter "L"
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Why doesn´t this work?
What am i missing? The loop is created, 20 times with the letter L. why doesn´t he recognize it?
27.06.2019
2118
views
3
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Help me out
I think My code is correct but Still Task Condition is not met.
13.07.2019
1182
views
5
comments
0
Denis
Level 22
Kharkiv
Question about the task
Currencies
Java Core
,
Level 4
,
Lesson 8
Under discussion
give me pls solution(
heeeeelp
25.06.2019
901
views
1
comment
0
Lukas Smetana
Level 10
London
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Passed but is it correct way of programing?
ArrayList list = new ArrayList(); Collections.addAll(list,"Sam","Ham", "I","Ham", "Am", "Ham"); for (int i = 0; i < list.size() ; i++) { System.out.println(list.get(i)); }
28.07.2019
1135
views
1
comment
0
Sundaram
Level 12
Chennai
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What is wrong in this?
package com.codegym.task.task07.task0724; /* Family census */ public class Solution { public static void main(String[] args) { Human h1 = new Human("Joseph",true,70); Human h2 = new Human("Mary",false,65); Human h3 = new Human("Phillips",true,65); Human h4 = n
09.02.2019
1667
views
2
comments
3
Lukas Smetana
Level 10
London
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Help please
Dont know why its not passing
28.07.2019
1110
views
3
comments
0
Lukas Smetana
Level 10
London
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
My code doesent work
Why this does not work?
20.07.2019
1216
views
9
comments
0
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
1383
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
1466
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
1242
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
1826
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
1555
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
1137
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
1010
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
1147
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
1031
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
1000
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
1258
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
1036
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
1045
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
1404
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
1042
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
1138
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
1226
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
1280
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
1363
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
1319
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
1029
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
2167
views
4
comments
0
Show more
1
...
288
289
290
291
292
...
367
Please enable JavaScript to continue using this application.