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
Cristian
Level 16
Bucharest
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What is wrong with my code? Thanks a lot!
package com.codegym.task.task07.task0720; //import java.io.BufferedReader; import java.io.IOException; //import java.io.InputStreamReader; import java.util.Scanner; import java.util.ArrayList; /* Shuffled just in time */ public class Solution { public static void main(String[] args) throws I
12.11.2019
1457
views
2
comments
0
hornswong
Level 4
Seattle
Under discussion
Why did I purchase the subscription service with paypal, but the account is still no subscription?please help
please help me
12.11.2019
832
views
3
comments
0
Patryk Zet
Level 7
Gdansk
Under discussion
what is wrong with comilation?
package pl.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //tutaj wpisz swój kod Man man = new Man(); man.wife = new woman(){ Woman woman = new Woman(); woman.husband = new
12.11.2019
959
views
2
comments
0
Soham
Level 5
Kitchener
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Can someone please explain me what is happening in this code.
I didn't understand anything what does abs method does and what does this code do, if (abs(10-a)
14.10.2019
1071
views
1
comment
0
Philip Butler
Level 32
United Kingdom
Question about the task
Generics for creating a proxy object
Java Collections
,
Level 2
,
Lesson 8
Under discussion
Stumped ... test criteria met but does not verify
Anyone can help? I think I'm either misunderstanding or missing something obvious. My solution meets all the test criteria but fails to verify. I think I'm not using ItemInvocationHandler correctly. Thanks in advance.
12.11.2019
989
views
1
comment
0
Steve
Level 9
Denver
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Not sure why I am getting this error,,
THIS IS THE ERROR I am getting.. method addAll in class java.util.Collections cannot be applied to given types; required: java.util.Collection
07.08.2019
2394
views
4
comments
0
Anonymous
Level 18
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
Tried almost EVERYTHING , still not verifying.
.
21.02.2019
1648
views
6
comments
0
Evghenii
Level 13
Chisinau
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What the problem?
Hi everyone. Wen I put the code in IntelliJ IDE it work normally, But in CodyGem write me, that I have a problem. Please Help me to understand my problem.
26.05.2019
1887
views
15
comments
0
Thomas
Level 13
Scottsdale
Under discussion
Help ... Level 3 -- DISPLAY RIGHT AWAY .... stumped -- where / how do I structure this ???
public static void printString(String s) String a = "Hello, "; String b = "Amigo!"; String s = a + b; printString (s); // System.out.println(); public static void main(String[] args) { // printString(a + b); pr
19.05.2019
1116
views
1
comment
0
Johnny
Level 2
Manchester
Under discussion
Is there any way of opening up quests without having completed the previous?
Hi, I'm particularly interested in the multithreading and collections quests but I don't want to have to grind through the other quests to get to them. Is there any way I can access them? Thanks
30.05.2019
1301
views
1
comment
0
hidden #10444738
Level 16
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Why does this fail!!!!
Why does this faill on creating two small arrays?
04.06.2019
1701
views
2
comments
0
Anuj Jaiswal
Level 10
Varanasi
Question about the task
Set of cats
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
what's the need to write this??
for (Iterator iterator = cats.iterator(); iterator.hasNext();) { Cat c= iterator.next();<---------------------------- iterator.remove(); } without this the code is not working if someone can help
10.06.2019
1289
views
1
comment
0
Subhadeep Bhatta
Level 3
Kolkata
Under discussion
Can a package contain a maximum of only 1 class?
.
11.06.2019
897
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
WHY THIS SOLUTION IS TRUE? SAY ME PLS :(
For what for variable "N" that entered by keyboard and what she is doing? Why we dont show that variable "x" must be greater than 0? ANSWER THE MY QUESTIONS PLS BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int count = 0; int maximum = Integer.MIN_VALUE
11.06.2019
1294
views
1
comment
0
CapLand
Level 23
Mentor
Question about the task
Dividing by zero
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Why am I not catching the ArithmaticException?
package com.codegym.task.task09.task0919; /* Dividing by zero */ public class Solution { public static void main(String[] args) { try { divideByZero(); } catch (Exception e) { e.printStackTrace(); } } public static void divide
13.06.2019
1213
views
2
comments
0
Marlin Johnson
Level 9
Bloomington
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
What to do?
Seems I can't understand my code :), with this map, iterator and for-each loop
13.06.2019
906
views
1
comment
0
Jason
Level 26
Rancho Cucamonga
Under discussion
Am I the only one that is pissed that they give task before actually teaching you how to solve the task at hand?
Time and time again I am asked to do something that hasn't been taught yet and you are forced to look in the help section only to see that people are using code that hasn't even been covered and in doing so you are exposed to 95% of the work that needs to be done and can complete the task without ac
13.06.2019
1183
views
1
comment
0
Glen L
Level 0
Under discussion
0 level lesson 4
The task was to say "Ellie is clever" 5 times on separate lines. The answer included a "message" which was not covered in the lesson. Why wouldn't the following work? (again I didn't know message was a thing) String s = "Ellie is Clever"; system.out.println(s); system.out.println(s); system.out.pr
14.06.2019
1081
views
1
comment
0
ddi
Level 18
Dortmund
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
not getting the point.
If i have reach the third condition why do i need the forth? It stats if its order show it, if not.... second i am not seeing how can i do it! Can someone help? Whats the code for that output? Thanks
14.06.2019
1179
views
1
comment
0
Balmer Mwongera
Level 3
Nairobi
Under discussion
i cannot access my IDE to practice the lines of code per the lessons
i cannot access my IDE to practice the lines of code per the lessons
15.06.2019
1158
views
1
comment
0
judi domino indonesia
Level 0
Under discussion
What is poker?
Poker is actually a Kind of Gambling sport judi domino indonesia which has taken a new dynamism of enjoying on the web.
18.06.2019
1185
views
1
comment
0
coder_here
Level 13
Hyderabad
Under discussion
why does the level 3 lesson 1 lecture doesn't unlock?
when I try to unlock the lecture, it's repeatedly showing "Quest does not exist". Why??
19.06.2019
1010
views
1
comment
0
Tore Garberg
Level 0
Under discussion
Can anyone tell me why the program are 40,30,30
What's will be printed when this program is executed? public class Person { { personCount = 10; } static { personCount = 20; } private static int personCount = 1000; { personCount = 30; } static { personCount = 40; } public sta
23.06.2019
861
views
1
comment
0
nagabenang
Level 6
Bekasi
Under discussion
java.lang.NumberFormatException: null
There is this minor thing that bugs me. When there aren't any number in the input screen, it shows this error: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at com.codegym.task.task04.task0418.Solution.main(S
25.06.2019
1151
views
1
comment
0
Ritik Singh
Level 8
Gwalior
Under discussion
code is working through both "this.catCount += 1" and "Cat.catCount +=1" ....Why??
30.07.2019
898
views
1
comment
0
hidden #10362262
Level 9
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
When using IntelliJ I keep getting the output that is shown. I cannot get my exercise to run.
Please help me. I cannot seem to get my code to run when I am using IntelliJ. What does the highlighted text mean?
31.07.2019
1111
views
1
comment
0
Nitin raj
Level 12
Mumbai
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Can anyone debug this
Please check whats wrong here. Kindly explain in detail.
31.07.2019
1028
views
1
comment
0
Joy Majumdar
Level 16
Kolkata
Under discussion
Query about constructor
Hi! Thanks for reaching out. Please refer to the Help section of our website with questions relating to tasks and/or lectures. Other students and our developers will gladly help you.
01.08.2019
913
views
1
comment
0
KARAN BHOITE
Level 15
Nagpur
Question about the task
Time for 10,000 insertions
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
this concept i am not getting properly....
public class Solution { public static void main(String[] args) { System.out.println(getInsertTimeInMs(new ArrayList())); System.out.println(getInsertTimeInMs(new LinkedList())); } public static long getInsertTimeInMs(List list) { long startTime = System.currentTim
06.08.2019
1317
views
2
comments
0
Bhavishya Samriya
Level 8
Jaipur
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
unable to pass the last condition
07.08.2019
1790
views
1
comment
0
Show more
1
...
258
259
260
261
262
...
372
Please enable JavaScript to continue using this application.