CodeGym University
Learning
Course
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
JeRiF94
Level 22
Baku
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
EveryThing is good , but in this task they say I am wrong
Just copy this code and run you see that everything in this code is running , but third point say I am made a mistake.
28.07.2019
1067
views
2
comments
0
Tara Edwards
Level 6
Question about the task
1 to 10
Java Syntax
,
Level 4
,
Lesson 10
Resolved
My results show 10-1, but i'm failing that requirement
package com.codegym.task.task04.task0430; /* 1 to 10 */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { int a = 10; while (a > 0){ System.out.println(a); a--; } } }
05.08.2019
1299
views
2
comments
0
Jeremy Simons
Level 7
Peterborough, Cambridgeshire, UK
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Resolved
why won't it let me initialize the this.left ?
I can't intialize the last three variables (left, width or height) with an intialize method?!
05.08.2019
1316
views
1
comment
0
Jackgai
Level 26
Tokyo
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Under discussion
Need some help for the 3rd and 4th requirements.
The test files results seems all right, but can't pass the verification. So confused for this task. Please give me some help. Appreciate it.
21.07.2019
1326
views
3
comments
0
Tangerin
Level 27
Chongqing
Question about the task
Minesweeper (Part 9/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Stuck in an infinite loop...
I'm pretty sure the problem occurs in line 72, but I can't see why, the method seems fine to me.
21.07.2019
1150
views
1
comment
0
hidden #10462592
Level 8
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Help with last condition
What extra line must be added for this to compile successfully?
15.07.2019
1168
views
3
comments
0
Anthony Chalk
Level 30
London
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
please help
I'm not sure why the attached screenshot is showing all the requirements as "?". On the actual task it's showing the first two ticked and the code does display the results. I know that the display text command should be in the main method but am unsure how to do that. please help thank youi
01.08.2019
1195
views
2
comments
0
Jeremy Simons
Level 7
Peterborough, Cambridgeshire, UK
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Stuck!
I have tried changing the break clause to "break" and that doesn't complete either. Help!
26.07.2019
1403
views
2
comments
0
Nicolas Huet
Level 41
Provins
Question about the task
Combining files
Java Core
,
Level 8
,
Lesson 11
Under discussion
I don't understand where I'm wrong in this code...
I read file1 and file2, I append file1 to file2 then write file2 to file1. Then I close everything. Honestly I really don't see the mistakes I've made.
15.06.2019
1108
views
1
comment
0
Eike Holtzhauer
Level 22
Tostedt
Question about the task
Big Ben
Java Core
,
Level 6
,
Lesson 7
Under discussion
Requirements are not met - need a hint
Hi I have no clou what´s wrong here. The last three conditions are not met and the only hint from the site is that the requirements are not met. I assume we have to check that all entered times should be processed properly, but I miss more feedback to figure out what´s wrong. Whould be very nice if
05.08.2019
1406
views
2
comments
0
AndreiJ
Level 10
Timisoara
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
error on requirements 3 and 4
hello. i cant get around of what i'm doing wrong. i ran the program just fine, it gives the longest string, it shows all the longest strings, yet the last 2 conditions come false. any help is appreciated.
31.07.2019
1035
views
7
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
In the blue depths of the stack trace…
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
please explain it so confusing
Please anyone explain how StackTrace is shown tweleve here. My brain is totally blank Please explain
04.08.2019
1218
views
1
comment
0
karina abad
Level 11
Daly City
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Can't get the answer, don't get the question.
package com.codegym.task.task07.task0711; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Remove and insert */ public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList
03.08.2019
1723
views
2
comments
0
Evghenii
Level 13
Chisinau
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
CAN SOME BODY HELP ME.
I DON'T SEE THE PROBLEM, PLEASE HELP ME.
20.06.2019
1518
views
4
comments
0
KARAN BHOITE
Level 15
Nagpur
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
COMPILED BUT OUT PUT NOT COMING ,GETTING THIS ERROR
java.lang.NullPointerException at com.codegym.task.task07.task0726.Solution.main(Solution.java:21) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De
01.08.2019
1270
views
5
comments
1
Niket
Level 8
Kolkata
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Please Help. Error in ".length()" method
I am not able to understand why length of the string is not working. Please Help. Following is my code import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
10.01.2019
1826
views
2
comments
3
Steve
Level 9
Denver
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Not sure what I'm doing wrong here,, stuck!!
Not passing the 4th task
02.08.2019
1153
views
1
comment
1
Marcin
Level 22
Edinburgh
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
what is wrong here ?
not sure why last condition failed .... any help please?
24.07.2019
1148
views
2
comments
0
TatiE
Level 11
Upland
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Last requirement is not validating
I think the issue is that the code should not work at all if the number of digits is more than N but mine still works. Am I correct with this assumption? I was trying to fix it but was looking at it for too long now. Need a fresh look and a hint, please.
15.07.2019
1259
views
5
comments
2
Keith Emery
Level 17
Saint Louis
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Output matches example but code fails
When I submit my code all requirements pass except the following: "The displayed words should be sorted in ascending order (using the provided isGreaterThan method)." I have, in fact, used the IsGreaterThan method and my output is exactly as shown in the task details when I use the example input dat
02.08.2019
1219
views
0
comments
0
ddi
Level 18
Dortmund
Question about the task
Fluffy no more
Java Core
,
Level 2
,
Lesson 12
Resolved
it prints I'm cat but doesn't verify! help!
it prints I'm cat but doesn't verify! help!
03.08.2019
1574
views
1
comment
0
Augusto
Level 13
Callao
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
What is wrong
Please, Could someone point out what the error is? I can't find it
23.06.2019
1112
views
3
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
please help me out
whats wrong with my code
28.07.2019
1008
views
4
comments
0
Jacek
Level 13
Warsaw
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I don't know why the code isn't work
I don't know why the index isn't printed.
01.02.2019
1418
views
4
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Resolved
Condition 4&5 Don't validate
The output is correct, it writes content to the file, every String is on a new line, why doesn't the program validate.
02.08.2019
1214
views
2
comments
0
Ian Rebmann
Level 5
San Diego
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
will pass on intelliJ wont on here
My Program works on IntelliJ Any ideas on why it wont pass the server test? I know I can construct it differently but this should work. I have ran into this problem before.
03.08.2019
997
views
2
comments
0
Antonia
Level 10
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
help
?
02.08.2019
1222
views
2
comments
0
smaranika sahu
Level 5
Pune
Question about the task
I'm 15 again!
Java Syntax
,
Level 1
,
Lesson 4
Resolved
Why my code is wrong?
public class Solution { public static void main(String[] args) { String name = "Amigo"; int age = 15; //int money = 500; //int weight = 70; String s1 ="I'"; String s3="m "; String s2=" again!"; System.out.println(s1+s3+age+s2);
09.05.2019
1221
views
3
comments
0
Jay
Level 17
Washington
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Won't compile
I'm constantly getting a NullPointer Exception error. I can't get it to compile to see what I need to change. Please assist. Thanks.
02.08.2019
858
views
3
comments
0
Dawid
Level 28
Question about the task
Max, Bella, and Jack
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
Meaning of activities performed in the task.
Well, I understand that dog1, dog2 and so on are variables of type Dog that is created by Class Dog. I understand that we creating two new objects too. But now I dont quite get it what these objects really are. Since "Dog" appears twice in this context I conclude that it is not object's name but obj
02.08.2019
1064
views
1
comment
0
Show more
1
...
285
286
287
288
289
...
366
Please enable JavaScript to continue using this application.