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
Maria
Level 7
Berlin
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Help please, dont understand, why is not working
I have been trying, but I dont get it. hope you can help me Grettings Maria
09.12.2019
1265
views
1
comment
0
chinchillo
Level 6
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
The code seems okay to me :/
Any idea whats wrong here?
03.12.2019
1550
views
2
comments
0
krystian
Level 9
Kozle
Question about the task
Chain letter
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Can someone spot a mistake?
public class Solution { public static void main(String[] args) throws Exception { Scan
14.12.2019
730
views
1
comment
0
Anusrilena
Level 4
Chennai
Question about the task
Don't think about seconds…
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
how to solve this?
public class Solution { public static void main(String[] args) { int secondsAfter15 = 0; System.out.println(secondsAfter15);
18.06.2019
1318
views
3
comments
0
ira.iurciuc
Level 10
Chisinau
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Can't pass the validation
Help me, please
18.06.2019
1128
views
3
comments
1
hidden #10559160
Level 3
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
is there any shortcut way?
i want to less
03.12.2019
1240
views
3
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
wrong
package com.codegym.task.task03.task0307; /* Hello, Starcraft! */ public class Solution { public static void main(String[] args) { //write your code here........ Zerg zerg1= new Zerg(); zerg1.name="z1"; Zerg zerg2= new Zerg(); zerg1.name="
22.08.2018
1704
views
3
comments
0
Ilia Kalugin
Level 25
Novara
Question about the task
HashSet of plants
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
Why order of elements is changing?
Could samebody explain to me why?
11.12.2019
893
views
2
comments
0
Shawn
Level 3
Dallas
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Is there a typo?
I can rearrange the parentheses to get 372, but that puts me 10 off. 382 is not a prime number since it can be divided by 2 to get 191, but 191 appears to be a prime number. How can I figure out the solution? is 382 possibly a typo?
13.12.2019
1323
views
2
comments
0
Onassis DaGraca
Level 8
Pawtucket
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
why will this not accept input i entered it exactly like it is in the lesson
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList(); while (true) { String s = reader.read
13.12.2019
949
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Serializable Solution
Java Core
,
Level 10
,
Lesson 7
Under discussion
I am very tired and delete the solution
Need help, really
30.06.2019
1451
views
2
comments
0
Andres
Level 4
Reedley
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
can someone tell me what I did wrong
package com.codegym.task.task03.task0304;
11.12.2019
1001
views
2
comments
0
satya vath
Level 9
Mumbai
Question about the task
Flip the array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Please help
package com.codegym.task.task07.task0704; import java.io.BufferedReader; import java.io.InputStreamReader; /* Flip the array */ public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader buf = new BufferedReader(n
21.11.2018
1769
views
6
comments
1
Vaibhavi
Level 5
Vijayawada
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
please help with this code
please help
13.12.2019
742
views
3
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
please help
need assistance
13.12.2019
702
views
2
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
please help
I am unable to get through
13.12.2019
895
views
2
comments
0
yz
Level 37
Jakarta
Question about the task
Tetris (part 16)
Java Collections
,
Level 2
,
Lesson 15
Resolved
boundaries
how to find boundaries ? Thanks
12.12.2019
979
views
2
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
please help..!!
Can anyone help to know where I am going wrong??
11.12.2019
957
views
4
comments
0
shaan mohd khan
Level 13
Jhansi
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
My code is throwing null pointer exception error on the 18th line. not able to find a way to resolve it.Can anyone help
package com.codegym.task.task09.task0930; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedRe
12.12.2019
2178
views
5
comments
0
Sindhura
Level 15
Delhi
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
how to get comma in display- Aug 18 2013 output should be Aug 18,2013
package com.codegym.task.task09.task0922; import java.io.BufferedReader; import java.io.InputStreamReader; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; /* What's today's date? */ public class Solution { public static void main(String[] args) throws Exc
09.10.2018
3299
views
5
comments
0
Lelush
Level 7
Question about the task
Create a Rectangle class
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
PLEASE HELP ME
What is wrong with my code?
03.12.2019
1716
views
8
comments
0
chinna gnanesh
Level 9
Chennai
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
FourthReqNotMatching
Fourth Requirement is not matching
12.12.2019
1292
views
2
comments
0
Kris
Level 9
Englewood
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
The Code works, but does not satisfy the conditions. Wondering if there is a way to make this particular code work + satisfy the conditions.........Just looking for the shortest and fastest solution......
package com.codegym.task.task07.task0728; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Collections; /* In decreasing order */ public class Solution { public static void main(String[] args) throws Exception { BufferedReade
10.12.2019
1566
views
9
comments
0
jonathan D
Level 26
Lille
Question about the task
Deep cloning of a map
Java Multithreading
,
Level 1
,
Lesson 8
Resolved
Error in the equals method?
Hello, I don't understand where is my error (The cloned object's users map should be equal (comparison using equals) to the users map of the cloned object.). With my own tests everything seems alright regarding to the deep copy and the return value of the equals method. Any help is welcome ^^
28.11.2019
1185
views
2
comments
0
chinna gnanesh
Level 9
Chennai
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
help me
Fourth req is failing help me
03.12.2019
1280
views
10
comments
0
Ivan
Level 22
Nope
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
NullPointerException error
Guys, can you help me out? Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended Exception in thread "main" java.lang.NullPointerException at Lvevel8FinalTasks.MakeAFamily.MakeAFamily.main(MakeAFamily.java:15)
29.10.2019
2330
views
3
comments
2
MecoS
Level 16
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Please Help
I try to debug and insert sout on verifying month - 45 row - (it come in but did not remove)...
05.12.2019
1292
views
2
comments
0
krystian
Level 9
Kozle
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Drawing a rectangle
Could you help why my code Does not work? public class Solution {
11.12.2019
1024
views
1
comment
0
Connor
Level 8
Boston
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
I'm a little unsure about what it's asking.
When it says to make sure that the getDescription method doesn't return any null strings, I went to make a while loop that broke once there was an input such as this. public static class Idea{ public String getDescription() throws IOException { BufferedReader br = new BufferedRe
02.05.2019
2204
views
4
comments
0
Зоран Јањић
Level 8
Teslic
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Can someone please explain me what's going on here. Totally lost. ty
public class Solution { public static class Idea { public String a =" string"; public String getDescription(){ return a; } public static void printIdea(Idea idea){ System.out.println(idea.getDescription()); } }
24.10.2019
1844
views
3
comments
0
Show more
1
...
246
247
248
249
250
...
372
Please enable JavaScript to continue using this application.