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
Vikrat Rana
Level 8
Ludhiana
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Resolved
why am i getting error???
hey i'm unable to remove error from this code , So if theres anyone online please help me....
04.10.2018
1581
views
3
comments
0
Sowmya
Level 3
San Jose
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
i couldn't resolve the condition in main method?
-20 -30 -30 0 this was the output.
23.11.2018
1540
views
2
comments
0
Djordje
Level 19
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Any idea why it doesn't work. Thanks.
package com.codegym.task.task07.task0728; import java.io.BufferedReader; import java.io.InputStreamReader; /* In decreasing order */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(Sys
25.11.2018
2186
views
2
comments
0
Sindhura
Level 15
Delhi
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Under discussion
program took too long to respons :(
package com.codegym.task.task13.task1319; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.InputStreamReader; /* Writing to a file from the console */ public class Solution { public static void main(String[] args) { try{
11.10.2018
1585
views
2
comments
0
Rad
Level 8
Maidstone
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
please just me what was wrong in my output
in 2nd line
11.10.2018
1647
views
4
comments
0
M suleman
Level 20
Lahore
Question about the task
Even characters
Java Core
,
Level 9
,
Lesson 5
Under discussion
last condition not satisfy but program give output correct ?
FileReader reader = new FileReader(file1); FileWriter writer = new FileWriter(file2); byte [] b = new byte[100]; int i=1; while(reader.ready()){ b[i]=(byte) reader.read(); i++;} for(i=1;i
14.11.2018
1700
views
3
comments
0
hidden #10233501
Level 22
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
Where is a mistake ?
Hi, in console it looks okey :X Where i made a mistake ?
25.11.2018
1780
views
2
comments
0
Nemanja Curufinwë Kuzmanovic
Level 18
Belgrade
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
Getting the right output, but not passing validation. Help please :)
Can someone, please, explain to me why my code is not passing validation?
23.11.2018
1756
views
2
comments
0
Juan Gallardo
Level 10
Edmonton
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Requesting some input
Please excuse all the comments. The program produces the right result, I believe.
25.11.2018
1677
views
4
comments
0
M suleman
Level 20
Lahore
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Under discussion
program ran too long
if(numSeconds<4) System.out.println("3 2 1 Go!"); else if(numSeconds>=4) System.out.println("4 3 2 1 Interrupted!"); Thread.sleep(3500); if ((float)numSeconds > 3.5) { clock.interrupt();
09.11.2018
1864
views
1
comment
0
Mitchell Lori
Level 2
Question about the task
We don't need any extra lines
Java Syntax
,
Level 1
,
Lesson 7
Under discussion
Need Help
Having trouble commenting out the correct lines ...I have been working on this for quite a while ......I need help, hint or something to figure it out
23.11.2018
1421
views
2
comments
0
Rad
Level 8
Maidstone
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
i need help
I am missing loop. i need help
12.10.2018
1759
views
5
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
What is the error here?
Getting proper output!
31.08.2018
1575
views
6
comments
0
Jacqueline Lim
Level 9
Makati
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
I need help
How to execute min(a, b) method in the min(a, b, c, d) method?
11.09.2018
1731
views
8
comments
0
dbazylyak
Level 13
Lviv
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
What's wrong
What's wrong? Whot is "specified template" ?
22.11.2018
1874
views
4
comments
0
Mack
Level 20
Osiedle-Nowiny
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Resolved
Where is error?
Error
22.11.2018
2084
views
1
comment
0
Mack
Level 20
Osiedle-Nowiny
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
Where is error?
Error
22.11.2018
1929
views
1
comment
0
Laurap5
Level 9
Vilnius
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Please help :(
I have made changes, but still doesn't working:(
20.11.2018
1524
views
2
comments
0
Sabiha Khan
Level 7
Pune
Resolved
I couldnt unlock level 3 lesson 11
I couldnt unlock level 3 lesson 11. And I dont have lesson 10 n lesson 9 of level 3.What should I do.
17.11.2018
1364
views
1
comment
0
Mack
Level 20
Osiedle-Nowiny
Question about the task
Singleton
Java Core
,
Level 4
,
Lesson 8
Resolved
What is badly?
Help
18.11.2018
1615
views
1
comment
0
Robert P
Level 20
Nashville
Question about the task
All that moves
Java Core
,
Level 3
,
Lesson 2
Resolved
Condition No 5 explanation.
I've been at this for well over an hour now. 5. The speed method must return a Double and accept one CanFly argument 5. The CanFly interface must declare a speed method with one CanFly parameter and must return a Double. 5. The CanFly interface must declare a speed method with one CanFly paramete
21.11.2018
2434
views
4
comments
0
satya vath
Level 9
Mumbai
Question about the task
Fixing the mistakes of youth
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Why amn't I satisfying with the last condition
package com.codegym.task.task06.task0620; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Fixing the mistakes of youth */ public class Solution { public static int max = 100; public static void main(String[] args) throws IOException {
20.11.2018
1633
views
6
comments
0
Swati
Level 8
Pune
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Help to find wrong one
Hi,Here I compared every num1,num2 and num3 with remaining two.and tried to display middle one. running successfully,but not verified.
17.11.2018
1449
views
1
comment
0
hidden #10362262
Level 9
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Hey, can you help me figure out what is wrong? I am getting the correct answer, but failing the requirement of the middle number?
Can you help me see what I am missing as far as the input scenarios are concerned? Thank you!
20.11.2018
1348
views
1
comment
0
Xuhaib
Level 7
Lahore
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
errrr
why the error?
20.11.2018
1410
views
2
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
How to solve this?
Can do 1 string, but 10 strings is getting very difficult. Loops aren't helping as char[] cannot be dereferenced or char[] cannot be assigned to char[] and all other errors coming!
30.08.2018
2169
views
3
comments
0
MrNemO
Level 1
Pale
Under discussion
Has anyone else had this problem?
Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA All files are up-to-date ----------------------------- I can't finish any task to get dark matter , so I can't go to the next level and learn further. Please HELP.
25.10.2018
1635
views
2
comments
0
SAYAN SAMANTA
Level 10
Bangalore
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
tell me whats happened here?
package com.codegym.task.task06.task0617; /* Notepad for new ideas */ public class Solution { public static void main(String[] args) { Idea idea = new Idea(); Idea.printIdea(idea); } public void printIdea(Idea idea){ System.out.println(idea.getDescriptio
21.08.2018
1743
views
5
comments
0
KryptoBlack
Level 7
Mumbai
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Return Confusion...
In line 19 return null is the only option i think there is if i need to only return a non-empty string. Or skip that return statement completely but then how should I avoid this error "Solution.java:19: error: missing return statement". Something like this, public static class Idea { p
28.10.2018
2484
views
2
comments
0
Benjamin Winchester
Level 17
Savannah
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Output is right, it is still failing
When I test the code with "Run" is works, but fails when I verify.
19.11.2018
1942
views
2
comments
0
Show more
1
...
356
357
358
359
360
...
372
Please enable JavaScript to continue using this application.