AI Academy
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
Deep Maheshwari
Level 10
Nanded
Question about the task
Set of cats
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
My code seems to be correct and creative and even prints correct output but.......
Here i removed a common cat of class but still ,last one didin't verify.....
7/16/19
1904
views
1
comment
2
Nishant Bhatia
Level 13
Navi Mumbai
Question about the task
Snake (Part 12/20)
Games
,
Level 0
,
Lesson 1
Resolved
What is the bug?
Problems with move function. How to access the head?
7/16/19
1675
views
1
comment
0
Mateo
Level 26
Zagreb
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
What is wrong here?
package com.codegym.task.task08.task0812; import java.io.*; import java.util.ArrayList; import java.util.Collections; /* Longest sequence */ public class Solution { public static void main(String[] args) throws IOException { //write your code here BufferedReader br = new Bu
3/19/19
2630
views
9
comments
0
hidden #10465081
Level 24
Question about the task
One for all, all for one
Java Core
,
Level 6
,
Lesson 10
Under discussion
Can't find the bug
Where is the issue? Can t find it and I spent quite some time on this. So frustrating!
7/10/19
2025
views
3
comments
0
Yuchen
Level 17
Los Angeles
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Please help me with this question. it drives me crazy!
Pls help me to find out why I can't pass the verification, it seems everything is correct. I checked when the string start with a space, or when there are multiple spaces between words. Everything looks exactly like the requirement. Btw, when I use Code Analysis, it shows unknown error, which is pre
7/16/19
1896
views
6
comments
0
R S ROHITH KRISHNAN
Level 6
Chennai
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what is wrong
what is wrong with this code ..i used the piping symbol first for the last condition it went like- if(number<0 ||number>7){ System.out.println("no such day available")} - but it stll showed the error ..so i changed to this code but still the error persists
6/14/19
1866
views
7
comments
0
Anand Sharma
Level 6
Mumbai
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Resolved
What is Wrong i don't understand ?
Can anybody help me to resolve problem ?
7/14/19
1551
views
3
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
for loop not changing characters in array to uppercase
I'm not sure why my second for loop doesn't convert the characters in my character array to UpperCase.
7/15/19
1473
views
3
comments
0
Antonia
Level 10
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
??????????????
package com.codegym.task.task05.task0532; import java.io.*; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maxi = Integer.parseInt
7/15/19
1422
views
2
comments
0
Muhammed Hussein
Level 20
Cairo
Question about the task
Feline carnage
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
You need to conduct three fights. how ?
You need to conduct three fights.
11/17/18
2074
views
8
comments
0
raulGLD
Level 8
Cluj-Napoca
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Code if fine but I still don't get verified
Hey guys, please take a look and tell me why I don't get verified with this code, thank you!
7/15/19
1615
views
3
comments
0
Ryan
Level 14
Ashburn
Question about the task
Exception when working with Map collections
Java Syntax
,
Level 9
,
Lesson 6
Under discussion
Not Working
I'm doing essentially what worked in the other exercises but is not working for some reason. I've tried this in multiple ways and it keeps coming up as a fail.
3/2/19
1975
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Exception when working with arrays
Java Syntax
,
Level 9
,
Lesson 6
Under discussion
give me solution pls(
help pls(
6/20/19
1589
views
1
comment
0
hidden #10484120
Level 13
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Why m2?
Hi all, I completed the exercise but I'm wondering why we are using the text "m2" to find the minimum? public class Solution { public static int min(int a, int b) { int m2; if (a < b) m2 = a; else m2 = b; return m2;
7/15/19
1414
views
1
comment
0
Emil Valentin Toma
Level 6
Stockport
Question about the task
Snake (Part 1/20)
Games
,
Level 0
,
Lesson 1
Resolved
can't compile
I've tried different java version, installed the engine folder in different places. The only error constantly popping is related to the main class. The main class can't be found. Although the class SnakeGame is the right path and all the instructions provided were carefully followed, the main class
7/12/19
2386
views
5
comments
0
Picvajzmen
Level 20
Belgrade
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Resolved
what the hell is the problem.... The main method should stop reading strings from the keyboard as soon as the entered string does not match one of the allowed strings ("user", "loser", "coder", "programmer").
Does not want to verify.... "The main method should stop reading strings from the keyboard as soon as the entered string does not match one of the allowed strings ("user", "loser", "coder", "programmer")."
7/11/19
1774
views
5
comments
0
Antonia
Level 10
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
??
error??
7/9/19
1651
views
3
comments
0
Rainer Ricardo Rodrigues
Level 4
Mumbai
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is wrong with my code?
Everything has been verified except for the last one .
7/1/19
1393
views
1
comment
0
Stefan Craia
Level 3
Bucharest
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Won't pass validation but, it works
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandfatherName = reader.readLine(); Cat catGrandfather = new Cat(grandfatherName); String gr
7/14/19
1450
views
1
comment
0
Yuchen
Level 17
Los Angeles
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Please tell me why I can't get output here?
Please tell me why I can't get output here?
7/12/19
1348
views
2
comments
0
Anand Sharma
Level 6
Mumbai
Question about the task
Create a Circle class
Java Syntax
,
Level 5
,
Lesson 7
Resolved
I don't understand what is wrong?
What is wrong in this code ? I Don't understand ?
7/12/19
2050
views
1
comment
0
Raisa Toscano
Level 27
Tepic
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Resolved
what's wrong here?
public static void removeItemFromMap(HashMap map) { HashMap m= new HashMap<>(map); //write your code here Iterator>I= m.entrySet().iterator(); while(I.hasNext()) { int value=I.next().getValue(); if(value<500) I.remov
1/3/19
2491
views
3
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Chat (part 10)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
why the last requirement not met?
I used the if else to make sure that if the type is not TEXT, an error is displayed.
4/29/19
1660
views
2
comments
0
Alison
Level 9
Madison
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
What's wrong?
Where am I going wrong?
7/13/19
1525
views
1
comment
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Getting the correct output, not validating.
The program works. I get the correct output in Intellij IDEA. Every condition fails. Why is it not validating?
7/13/19
1268
views
1
comment
0
Nnaemeka
Level 8
Lagos
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Help I cannot resolve this
All but the first two conditions have not been met, what could be the problem?
7/13/19
1485
views
3
comments
0
Benjamin Winchester
Level 17
Savannah
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Help please
Not sure what Im doing wrong. I think Im not reading in the list correctly. Ignore the test tab, I created that in IntelliJ to try to test it.
11/28/18
2028
views
5
comments
1
Kunal Kushwaha
Level 2
Mumbai
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
I didn't understand what they wants to say
Need help
6/10/19
1539
views
1
comment
0
karina abad
Level 11
Daly City
Question about the task
Improving functionality
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
How can I improve my code? I need help understanding how to efficiently do min/max with swaps
package com.codegym.task.task05.task0531; import java.io.BufferedReader; import java.io.InputStreamReader; /* Improving functionality */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReade
7/11/19
1784
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Can't figure this out
I changed my code several times after reading discussions but I'm still stuck. How do I solve this problem!!???
7/12/19
1218
views
4
comments
0
Show more
1
...
301
302
303
304
305
...
375
Please enable JavaScript to continue using this application.