Promotion
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
Raisa Toscano
Level 22
Tepic
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Resolved
whatis wrong
in this code?
06.01.2019
1467
views
4
comments
0
Velociraptor
Level 3
Bangalore
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
i cant understand this thing
my code package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { //write your code here addTenPercent(9); } public static void main(String[] args) { System.out.println(addTenPerc
24.07.2020
591
views
1
comment
0
Shadow
Level 7
Hogsmead
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
HELP ME FIND THE ISSUE!!!!!!!
package com.codegym.task.task02.task0216;
24.07.2020
358
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Time in the garden
Java Core
,
Level 7
,
Lesson 4
Under discussion
help me pls with solution
help pls
27.06.2019
920
views
1
comment
0
Garrett Bowler
Level 3
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Final condition of task
Why is it not repeating? I've used this for loop before in previous tasks and it worked fine
24.07.2020
454
views
1
comment
0
George
Level 6
Chiajna
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
wrong output
Don't understand why I have the package name in the output when I run the code. Everything seems to be good, but the code adds the name of the package in the final line of the output. can someone please explain? package com.codegym.task.task03.task0315;
24.07.2020
394
views
1
comment
0
Jo
Level 4
Cincinnati
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
Why is the last condition not satisfied, even though the task is complete?
public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { int sum; int tempNum = number / 10 * 10; int firstDigit = number - tempNum; int secon
10.07.2020
650
views
2
comments
0
王诗凯
Level 23
Redwood City
Question about the task
Your own implementation
Java Collections
,
Level 1
,
Lesson 4
Resolved
Question about this Task
I wonder how can I complete this task without import java.nio.file.Path;?
24.07.2020
308
views
1
comment
0
Uhlnoor
Level 2
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
What am I doing wrong?
I don't get what I'm doing wrong here on the part of assigning the woman as the owner. The concept is a little dry and I don't understand it.
15.05.2020
879
views
3
comments
0
Jen P
Level 26
Question about the task
What's in the folder?
Java Collections
,
Level 1
,
Lesson 4
Under discussion
My total folders is always wrong but my Total files and total size result are passed. Any clue ?
Hey guys, I constantly failed at this message : "The following information must be displayed on the console: "Total folders: [the number of folders in the directory and sub-directories]"." However, I cannot understand where is the bug. I once guessed whether it is because the request of getting to
15.08.2019
938
views
1
comment
0
Yash
Level 15
Sugar Hill
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why not work
I think I fix but not work.
16.06.2019
1099
views
2
comments
0
Johnson Jose
Level 10
Edinburgh
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
3rd condition failed
My code is not working because im guessing that words with only the letter "l" keeps on duplicating without end. What must I do to resolve this?
22.05.2019
1565
views
5
comments
0
Chris
Level 19
Newark
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
What the hell am I doing wrong?
Through intellij I was able to run the code without any errors and I got an exact replica of the result required by CodeGym yet I get the following errors.
22.07.2020
320
views
3
comments
0
Rebekah H
Level 8
Gothenburg
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Ternary doesn't work?
Why does this work for(int i=0;i<15;i++){ if(i%2==0) even+=ar[i]; else odd+=ar[i]; } but not this?? for(int i=0;i<15;i++) i%2==0?even+=ar[i]:odd+=ar[i]; Can ternary not be used this way or ha
23.07.2020
311
views
2
comments
0
Anthony Mazzie
Level 5
Des Moines
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Please help, have tried nearly 60 times
Please help, have tried nearly 60 times. The requirements are unclear and ambiguous. I do not understand. Two opening and closing parenthesis in the TOTAL expression? so, only (( and )). Not including the print statement. I think I've tried everything.
16.07.2020
562
views
4
comments
2
Laurence
Level 10
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Help, console outputs the wrong date
My output is "JUN 08 2014", I've tried rewriting and restructuring it several times, but I can't seem to get any change. Can anybody help with this?
03.07.2020
722
views
3
comments
1
Isaac Dodoo
Level 9
Centurion
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Hello guys I can't figure this compiler error: expected @ line 53
Can somebody please get me out of this painful misery. I am stuck and I do not know what is causing this compiler error: expected @ line 53 Thank you for your inputs.
18.04.2020
959
views
2
comments
0
Nana
Level 7
Chicago
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Why is my program still not working
Hello I am not sure why I am still not meeting the last requirement. Can someone explain please?
17.05.2020
431
views
3
comments
0
pratyush prakash
Level 2
patna
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
explain me how to create an reference to an object
tell me the structure with eg on how to create an reference to an object
14.07.2020
439
views
1
comment
0
David
Level 26
Bucharest
Question about the task
Correct the mistake. Serialization
Java Core
,
Level 10
,
Lesson 10
Under discussion
I can't see the error
I don't understand this task :(
23.07.2020
467
views
2
comments
0
Velociraptor
Level 3
Bangalore
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Resolved
guys my code is wrong can you tell me why
this is my code package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { }import comp
23.07.2020
501
views
1
comment
0
Lawson
Level 29
Lagos
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Confused
in my reference variable...I wrote a...but they kept telling me I was incorrect till I changed it to person
21.07.2020
318
views
2
comments
0
Jurabek Kuralbaev
Level 8
Tashkent
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Please help me with this!
the rest 3 requirements are not met!
23.07.2020
496
views
1
comment
0
Jaisingh
Level 14
Hyderabad
Question about the task
Task No. 4 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
i don't understand how to do this...??
05.10.2018
1561
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Task No. 3 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
help pls guys(
give me solution pls
21.06.2019
1575
views
3
comments
0
Velociraptor
Level 3
Bangalore
Question about the task
Max, Bella, and Jack
Java Syntax
,
Level 2
,
Lesson 3
Resolved
i dont understand this
Create 3 Dog objects. Store each instance in a separate variable. Give them the names "Max", "Bella", and "Jack".
21.07.2020
470
views
2
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
OOP: Fix inheritance problems
Java Core
,
Level 5
,
Lesson 2
Under discussion
Cant quite get it
Alright, I am going back to solve problems that hindered me in the past. I am low on Dark matter and need the cash to move forward. I have looked at almost all of the threads in help; still dont understand why i am stuck. Can someone please tell me where/Why I am hung on this? I think aound line 41
30.04.2020
796
views
2
comments
0
sagar
Level 6
Amreli
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what's wrong in this
what is wrong in my code .. idk why it's print green and red both..
23.07.2020
540
views
1
comment
0
Jose Rico Lacia
Level 22
Makati
Question about the task
Words with numbers
Java Core
,
Level 9
,
Lesson 11
Resolved
Still getting - Be sure that your solution uses FileWriter
i am already familiar with regex but I am trying to solve this problem using the Character.isDigit method. Code test looks fine but still fails the 4th condition (code is already using filewriter) Is there something that I missed? Thanks in advance
22.07.2020
484
views
3
comments
0
Rebekah H
Level 8
Gothenburg
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
only returns null?
Why does my code just return null 10 times? what have I done wrong? X'D
22.07.2020
525
views
1
comment
0
Show more
1
...
156
157
158
159
160
...
366
Please enable JavaScript to continue using this application.