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
jonathan D
Level 26
Lille
Question about the task
Make a word chain
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
Last condition
Hi! I didn't met the last condition I don't see what's going wrong. If you have some idea or an input test that can bring out the error just share it!
12/18/19
1502
views
2
comments
0
Ilia Kalugin
Level 25
Novara
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Can samebody help me?
Output is correct but validation does not pass . Whats wrong here?
12/19/19
1412
views
2
comments
0
AP
Level 15
Bodmin
Question about the task
Minesweeper (Part 5/16)
Games
,
Level 0
,
Lesson 0
Under discussion
The last requirement is failing all the time.
Nothing is working. I tried the following - 1. Incrementing the countMinesOnField within the createGame method. 2. Using a local variable to count and then assigning its value to countMinesOnField in createGame method. 3. Using a local variable to count and then assigning its value to countMinesOnF
12/16/19
1683
views
4
comments
0
Rani Rauniyar
Level 3
Noida
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
how to do this?
what is expected, i can't understand and where it is expected?
12/19/19
1116
views
2
comments
0
krystian
Level 9
Kozle
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Need help
Hi. Please take a look at my code. How can I count how many times someone add a number before someone hits - 1? Do you have any hints for me here? public class Solution {
12/17/19
925
views
1
comment
0
hacks patel
Level 20
Ahmedabad
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Under discussion
I don;t know whats wrong with it ?
I don;t know whats wrong with it ?
12/10/19
1037
views
1
comment
0
oli blaustrom
Level 18
Luzern
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Am I misunderstanding the question? I think this should be correct
I think my solution is correct, or am I not understanding this right?
12/17/19
1170
views
4
comments
0
Luyi
Level 31
Kosice
Question about the task
Moon Lander (Part 12/23)
Games
,
Level 0
,
Lesson 4
Under discussion
second requirement?
Hello there, what exactly is asked for in the second condition, I am little bit lost? "In the move(boolean, boolean, boolean) method, the speedX field must be set to 0 if the method's isLeftPressed parameter is false, the method's isRightPressed parameter is false, and the value of the speedX field
12/18/19
1029
views
1
comment
0
Rafał Szrajnert
Level 7
Poddebice
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
when I run code I get correct answers and meet all task criterias
hi, when I run code I get correct answers and meet all task criterias, except last one last one says: "The min(a, b, c, d) method must return the minimum of the numbers a, b, c, and d." and so it does! what is wrong here?
12/17/19
1593
views
5
comments
0
Anthony Chalk
Level 30
London
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Not sure what the issue is
The mentor recommendation is: "Be sure that the program works correctly if the sequence consists of numbers greater than 127.". I checked and indeed it doesn't work for bigger numbers but I have no idea why not. Please help p.s. I've got rid of line 24
10/30/19
1929
views
7
comments
0
Milos
Level 20
Beograd
Question about the task
Task No. 7 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
Don't know how get result of variable m (-1) :/
package com.codegym.task.task10.task1007; /* Task No. 7 about integer type conversions */ public class Solution { public static void main(String[] args) { long l = 1234_564_890L; int x = 0b1000_1100_1010; double m = (byte) 110_987_654_6299.123_34; /
8/29/19
1311
views
2
comments
0
Lelush
Level 7
Question about the task
What sort of list is that?
Java Syntax
,
Level 7
,
Lesson 6
Resolved
What is wrong?
It gives me an error and doesnt verify last condition
12/17/19
1199
views
3
comments
0
Lelush
Level 7
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Last condition doesnt verify
HELP please
12/17/19
1363
views
8
comments
0
Janusz
Level 11
Radomsko
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
I think my solution is correct.
I think my solution is correct. I search for the middle value among 3 numbers, and display the number according to the task. And the system does not want to accept my solution.
12/13/19
1596
views
4
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Please let me know my mistake
Where I am going wrong??
12/10/19
1310
views
1
comment
0
theCalculator
Level 3
Warren
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Resolved
I have entered values in the sout main functions and outputting correct info, first condition fails
The convertEurToUsd method must multiply the euro amount by the exchange rate and return the result. ??????
9/19/19
1803
views
5
comments
2
Ntuthuko Xaba
Level 18
Johannesburg
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Please help
I'm not sure what it is I should be doing . I'm getting the correct result but it keeps saying I'm wrong.
12/16/19
1428
views
3
comments
0
Anthony Chalk
Level 30
London
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
Please help
When I run the code it returns the following message: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at com.codegym.task.task15.task1527.Solution.main(Solution.java:34) Edit: I changed lines 31-35 to: for (int i = 0; i The code seems to
12/16/19
1453
views
3
comments
0
ibugtek
Level 2
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
dumb app.giving for loop task to entry levels?
its all about money?
12/12/19
1569
views
2
comments
0
Mathyn Keus
Level 7
Enschede
Question about the task
You can't buy friends
Java Syntax
,
Level 5
,
Lesson 9
Resolved
What is wrong here?
What is wrong?
4/12/19
2071
views
9
comments
0
Piotr Pomaski
Level 5
Lubliniec
Resolved
I don't know where is my error
public class Solution { public static void main(String[] args) throws Exception { //tutaj wpisz swój kod BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String rok = reader.readLine(); int nRok = Integer.parseInt(rok);
12/14/19
1200
views
4
comments
0
Alec Jensen
Level 5
Arlington
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Resolved
Can someone help guide me without giving me the answer? I feel like I'm close.
Please help
12/16/19
985
views
2
comments
0
Alec Jensen
Level 5
Arlington
Question about the task
Calculate the circumference of a circle
Java Syntax
,
Level 2
,
Lesson 2
Resolved
I get the answer. But it doesn't pass through because it X'd out the very first task. I passed all others after running program. Can someone describe to me why I am not able to verify?
package com.codegym.task.task01.task0129; /* Calculate the circumference of a circle */ public class Solution { public static void main(String[] args) { printCircleCircumference(5); } public static void printCircleCircumference(int radius) { //write your code
12/15/19
1118
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Synchronized notes: part 2
Java Core
,
Level 7
,
Lesson 4
Under discussion
pls help me
give me a code pls
6/27/19
1314
views
4
comments
0
Kolton
Level 3
Bozeman
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Can't get it to read properly?
I keep getting this error message when I run this. I have no clue as to what could be wrong. Help please. com/codegym/task/task02/task0205/Solution.java:15: error: reached end of file while parsing } ^
12/11/19
1371
views
4
comments
0
Cheikh
Level 7
Dakar
Question about the task
Multiplication table
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
Why my code should work but doesn't ?
Hello, my code seems fine but I somehow it manages not to work. And If you look at the output you can find that there is 10 lines that should be displayed with their numbers... I'm a little confused int count = 1; int j = 1; while(j < 11){ while(count <= 10) { System.out.print(co
8/28/19
1269
views
3
comments
0
Ganesh Tamang
Level 2
Konstanz
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
why is this code not working with this problem??I couldn't crack the last condition??
can anybody give me some suggestion where i am being wrong??
12/8/19
1394
views
3
comments
0
Ntuthuko Xaba
Level 18
Johannesburg
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Please Help
All the numbers I enter ,return the correct results including 0 0 0,but I'm still getting an error.Not quiet sure what I'm doing wrong.
12/13/19
974
views
2
comments
0
Lelush
Level 7
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Explain please how this code works.
I cant understand it, please can someone explain step by step?
12/10/19
1111
views
1
comment
0
Shawn
Level 3
Dallas
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
How come this isn't working?
I imported the scanner, changed the input to my personalized order, etc. It produces the correct output yet doesn't accomplish the final objective??? Why?
12/15/19
985
views
1
comment
0
Show more
1
...
247
248
249
250
251
...
374
Please enable JavaScript to continue using this application.