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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
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
7/10/20
876
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;?
7/24/20
486
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.
5/15/20
1067
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
8/15/19
1280
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.
6/16/19
1550
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?
5/22/19
2070
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.
7/22/20
513
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
7/23/20
567
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.
7/16/20
817
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?
7/3/20
971
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.
4/18/20
1242
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?
5/17/20
673
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
7/14/20
669
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 :(
7/23/20
677
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
7/23/20
696
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
7/21/20
503
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!
7/23/20
765
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...??
10/5/18
1945
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
6/21/19
1836
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".
7/21/20
660
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
4/30/20
1122
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..
7/23/20
796
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
7/22/20
723
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
7/22/20
750
views
1
comment
0
jake taylor
Level 17
Lisbon
Question about the task
Computer
Java Core
,
Level 4
,
Lesson 8
Under discussion
last 2 conditions
cant see why last 2 conditions fail??
7/22/20
469
views
1
comment
0
AnnemiekFF
Level 41
Breda
Question about the task
Phone number verification
Java Multithreading
,
Level 2
,
Lesson 13
Resolved
Handle the case where phoneNumber is null.
The mentor says "Handle the case where phoneNumber is null.", however as far as I can see that is the first thing that is being tested for? What more do they want?
3/16/20
1518
views
2
comments
3
Chris
Level 19
Newark
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Help me
I can't figure it out and I am getting so frustrated. What am I doing wrong?
7/6/20
689
views
4
comments
0
Disha patil
Level 2
Maharashtra
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what's my mistake ??
please explain it ..
7/22/20
829
views
3
comments
0
Nana
Level 7
Chicago
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Hello I am not seeing where my error is
My code meets each condition but it is still failing. Please help thank you
7/22/20
958
views
1
comment
0
Hendy Prasetyo
Level 0
Question about the task
Snake game (Part 3/20)
Games
,
Level 0
,
Lesson 1
Resolved
Help!
Can anyone help me what it is mean?
5/20/20
777
views
4
comments
0
Show more
1
...
165
166
167
168
169
...
374
Please enable JavaScript to continue using this application.