Promotion
CodeGym University
Java FullStack
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
MecoS
Level 16
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
I made a bouble sort
But it fail the test. Why?
12/3/19
930
views
2
comments
0
Sokhib
Level 7
Makati
Question about the task
Static methods for cats
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
what am i supposed to do here?
can anyone plz help?
1/9/19
1830
views
3
comments
2
chinna gnanesh
Level 9
Chennai
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Verification is failing
help me
12/3/19
1036
views
3
comments
0
Willard Roseberry
Level 11
Brigham City
Question about the task
LinkedList and ArrayList
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
how do i return an array and a linked list?
public class Solution { public static Object createArrayList() { ArrayList cats = new ArrayList<>(); return ArrayList; } public static Object createLinkedList() { //write your code here } public static void main(String[] args) {
12/3/19
1197
views
1
comment
0
Jeff
Level 6
Taco Town
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Cannot meet last condition
This for else if stuff makes my brain hurt, have no idea how to make this math stuff chooch, help me brother
11/22/19
1498
views
2
comments
0
KIN SOCHEAT
Level 34
Phnom Penh
Under discussion
hi some one can setScore()
hi some one can setScore()
9/1/19
1162
views
4
comments
0
John
Level 27
Washington DC
Question about the task
Synchronized methods
Java Core
,
Level 7
,
Lesson 10
Under discussion
Why does method3 need the synchronized keyword?
Since param is ONLY accessed in method3 and nowhere else...
11/11/19
1272
views
2
comments
0
Hendra
Level 8
Medan
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I'm stuck with the last requirement...help me please
package com.codegym.task.task04.task0409;
12/2/19
1232
views
1
comment
0
Felipe Fallas
Level 3
San Jose
Under discussion
whats wrong with my variables
public class Solution { public static void main(String[] args) { int a = 5; int b=7; int sum = a+b; int product=a*b; System.out.println(sum); System.out.println(product); } } so yeah i don't get what do they mean with declare the var
12/2/19
1035
views
2
comments
0
Willard Roseberry
Level 11
Brigham City
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
can not figure it out. Any help with n?
12/2/19
1619
views
0
comments
0
Robert Constantinescu
Level 1
Bucharest
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
Is anyone having a sample input?
I think the below code works, but to be fair, i have tested it with the below arguments -c Christian "m" 04 15 1990 is anyoane knowing how the input for this task is? Thanks
12/1/19
1781
views
2
comments
0
oli blaustrom
Level 18
Luzern
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Resolved
As far as I can tell output is correct but fails // Display the list, each value on a new line.
Can't figure it out. Someone earlier had an empty string in the list, I checked for that. This program doesn't. Any insight?
11/30/19
1743
views
2
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
please help
Please tell where I am going wrong
12/2/19
1217
views
1
comment
0
david
Level 8
Edgewater
Under discussion
Help!
Well, the site keeps showing the message to me that my code do not pass the last two verifications, even when my code works perfectly fine. Does anyone have any idea why my code doesn't work? package com.codegym.task.task07.task0708; import java.io.BufferedReader; import java.io.InputStreamReade
12/2/19
1058
views
2
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
lesson unbale to understand
please explain
11/29/19
1101
views
2
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Price of apples
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
unable to understand
Please help
11/29/19
1255
views
2
comments
0
jamylam
Level 26
Nairobi
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
kindly assist stubborn error
I dont understand the error am getting that each element should be displayed on a new line. That is the result am getting when its displayed so I cant see the mistake i have done..
12/1/19
1280
views
2
comments
0
AP
Level 15
Bodmin
Under discussion
Not able to run the code in intellij
I have installed intellij and also the codegym plugin however, when I write the solution, I am not able to run it in intellij. I can only verify it. I want to run the code in intellij similar to what we have in condegym site. Can someone help?
12/1/19
1302
views
1
comment
0
yehuda b
Level 23
Beersheba
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Was trying an out of the box solution, and I got: Exception in thread "main" java.lang.StackOverflowError, could someone explain why?
package com.codegym.task.task04.task0427; /* Describing numbers */ import java.io.*; import java.util.Scanner; public class Solution { static Scanner scan = new Scanner(System.in); static int number = scan.nextInt(); Solution solu = new Solution(); int newNumber() { numb
11/28/19
1259
views
4
comments
0
Anonymous #10539714
Level 7
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Help On - Expressing ourselves more concisely
I don't understand why my variable "len" doesn't take on the shortest string? I don't believe I'm using the length() method incorrectly. Please help. package com.codegym.task.task07.task0709; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Express
12/1/19
1029
views
1
comment
0
Andres
Level 4
Reedley
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
where did i go wrong
can anyone tell me where i went wrong
12/1/19
1061
views
1
comment
0
Andres
Level 4
Reedley
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
can some one tell me where I went wrong
package com.codegym.task.task03.task0302; /* Display right away
11/30/19
1013
views
2
comments
0
Alvin B
Level 8
Newark
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Conditions for not displaying color not met. WHY?
Please offer any suggestion why the compiler won't accept this program. Thanks
11/28/19
1586
views
3
comments
0
Willard Roseberry
Level 11
Brigham City
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
int cannot be converted to int [] this is the error I am getting with my return max value on line 42. Any idea on how to fix this? Thanks
package com.codegym.task.task07.task0701; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; /* Maximum in an array */ public class Solution { public static void main(String[] args) throws Exception { int[] array =
11/30/19
3057
views
2
comments
1
Błażej Kuśmirek
Level 13
Wroclaw
Under discussion
Is it working as it should?
I'm only able to proceed with solving tasks which are already translated to my native language (polish). I'm not able to see requirements of tasks in English. I can spent dark matter to unlock further lessons, but without any practice tasks. Is this app designed to work that way?
11/29/19
1166
views
1
comment
2
James
Level 5
Cincinnati
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
I'm getting an error due to a typo.
This code works as intended. I've run it multiple times and get the correct text printing to the screen. I've printed out each variable separately to confirm that they contain the correct values and they do. Although my code compiles with no issues, I'm getting an error due to a typo that ISN'T ther
11/30/19
1117
views
1
comment
0
catalinene
Level 29
Greven
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Ouput looks good, task is not validated
If I understood correctly, as soon as a person shares the same first name with a 2nd person, then we remove them from the map. And my code does that, however it fails validation: " The removeFirstNameDuplicates() method must remove from the map all people who have the same first name. " Thanks in a
11/29/19
1729
views
5
comments
0
Aastha Khanna
Level 5
Question about the task
1 to 10
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
Why does this loop print 1 indefinitely?
int i=1; while(i<=10) { System.out.println(i); i=i++; }
5/31/19
1573
views
7
comments
0
Paul
Level 24
Vienna
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
I don't understand why it won't pass testing
the result is: grandfather grandfather grandmother grandmother ... ... ... That is how it should be, right?
11/19/19
1377
views
2
comments
0
MecoS
Level 16
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Please Help... i think i don't Understand the question discussed. Why it can't function?
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 { ArrayList da
11/28/19
1388
views
2
comments
0
Show more
1
...
252
253
254
255
256
...
374
Please enable JavaScript to continue using this application.