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
Onar D.
Level 7
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Resolved
it close but not completely.
it works, but not completely. Red a = new Red(); System.out.println(a); all day trying to complete this task, without internet only www.w3schools.com , and couple of book of java (head first one them). This code is all that I was able to achieve for this moment. I dont know how to get rid of (my
14.06.2020
742
views
3
comments
0
Onar D.
Level 7
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
why my code is not accepted by the task?
why my code is not accepted by the task?
26.09.2021
418
views
2
comments
0
Onar D.
Level 7
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
there empty code, but even like this not compale why?
there inscription: com/codegym/task/task05/task0502/Cat.java:18: error: missing return statement } ^ WHY?! something wrong with only this text: public boolean fight(Cat anotherCat) { //write your code here }
30.09.2021
349
views
1
comment
0
Victor Omoha
Level 8
Raleigh
Question about the task
Time for 10,000 insertions
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Don't understand why i can't meet the last requirement
package com.codegym.task.task08.task0809; import java.util.ArrayList; import java.util.Date; import java.util.LinkedList; import java.util.List; /* Time for 10,000 insertions */ public class Solution { public static void main(String[] args) { System.out.println(getInsertTimeInMs(new
04.10.2021
414
views
2
comments
0
Nashid Kp
Level 2
Manjeri
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Pls explain this
Can anybody explain below method 👇🏽 for (int i=0; i <3; i++) Don't think taught something like this till now..
28.09.2021
845
views
3
comments
0
AlfredW
Level 23
Denver
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
WTF!!
Who writes these exercises? What the $^%* do they want here? The Conditions and the example output makes no sense whatsoever. How can you have the condition : The ADDED and REMOVED labels can't be used consecutively— What if there are literally consecutive adds or removes in the data?
23.10.2020
497
views
2
comments
1
satya
Level 1
George Town
Question about the task
Amigo is very smart
Java Syntax
,
Level 0
,
Lesson 2
Under discussion
code has compiled sucessfully but still unable verify this
21.10.2018
1134
views
3
comments
0
Martin Evtimov
Level 22
Chicago
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Help
What's wrong it prints 10 vertical and 10 horizontal lines...
27.08.2018
1732
views
6
comments
0
kirti
Level 8
Question about the task
The whole duck isn't enough
Java Syntax
,
Level 5
,
Lesson 12
Resolved
error
please help me to understand this!!
15.09.2018
1614
views
3
comments
0
yehuda b
Level 23
Beersheba
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Resolved
Why third requirement isn't met
I don't understand why countMineNeighbors method doesn't count mined neighbors for every non mined cell in the gameField matrix??
09.12.2019
1869
views
9
comments
3
Michael Martin
Level 19
Arlington
Question about the task
ABCs
Java Core
,
Level 8
,
Lesson 11
Resolved
This should be so easy, I must be missing something obvious. Any help?
This should be so easy, I must be missing something obvious. Any help?
04.12.2018
1952
views
9
comments
0
Kisszol
Level 15
Toeroekbalint
Question about the task
OOP: Fix inheritance problems
Java Core
,
Level 5
,
Lesson 2
Resolved
Programo funkcias, sed sistemo ne validas -> Bonvoul helpu min Programm works, but system does not accept it -> please help me
Globalo Esperanto: Programo funkcias, sed sistemo ne akceptas mian solvon. Kial ? Local English: Program works, but system does not accept it. Why ?
03.05.2019
2125
views
8
comments
1
jrosenauer
Level 22
Question about the task
Render to Caesar the things that are Caesar's
Java Core
,
Level 2
,
Lesson 2
Under discussion
I am stuck on one of the scenarios
I am not sure how to do this method overriding. Can you please assist?
24.01.2020
952
views
2
comments
1
DmdKanth
Level 19
Dayton
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
says: "The displayed text must fully match the task conditions".. Can anyone tell me what's wrong with it?
package com.codegym.task.task03.task0319; /* Predictions Use the keyboard to separately enter the name, number1, and number2. Display the following phrase: will receive in years. Here's an example: Nick will receive 10000 in 5 years. Nick will receive 10000 in 5 years. Requirements: 1. The
06.09.2020
528
views
6
comments
0
Bosch Testing Team
Level 12
Karlsruhe
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Only second condition wont verify for me when i have read from keyboard and add inputs to the list
Hi guys, not passing second condition, not sure why when i have added strings to list using reader and loop. Rest of the conditions pass and code runs fine, please help, thanks.
30.09.2021
379
views
2
comments
0
Aakash Pereira
Level 2
Caister-on-Sea
Under discussion
Ran out of dark matter
I have run out of dark matter. I can't progress to the next lesson. But I have completed all the "free" tasks so can't earn anymore unless I upgrade. Are they just trying to force me to upgrade?
14.10.2019
869
views
3
comments
1
Justin Smith
Level 41
Greenfield, USA
Question about the task
Table
Java Core
,
Level 8
,
Lesson 8
Under discussion
I got the solution, but I don't understand what it's doing at all
If I'm looking at the code right, none of these methods do anything (aside from the small thing the setModel method does). They call the un-implemented methods in the interface, which have no method bodies. Why would we ever create code like this? The getHeaderText and setHeaderText appear to be tra
29.09.2021
290
views
3
comments
0
Artin t
Level 9
Sydney
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Third Condition :/
The third condition on my task isn't fulfilled. The output is correct though. What's wrong
18.07.2021
414
views
1
comment
0
waltham93@outlook.com
Level 4
Perivale
Question about the task
Time conversion
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
What seems to be wrong?
This is the only error I'm getting. The convertToSeconds method must convert the passed number of hours to seconds.
20.01.2021
480
views
4
comments
0
Jack
Level 4
Yerevan
Question about the task
Fill a pool with water
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
well?
Ok so what am i doing wrong i know that i don't need the int b
16.04.2020
897
views
2
comments
0
proegg123
Level 16
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Anyone know whats wrong with this? I get "The displayed text must fully match the task conditions."
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String name = reader.readLine(); String number = reader.readLine(); System.out.println(name + " will take over the world in " + number + " years. Mwa-ha-ha!"); // my output is : Kevin will take ov
29.09.2021
545
views
1
comment
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
ATM
Java Core
,
Level 7
,
Lesson 10
Under discussion
The addmoney method is defined a way we've never seen before, can someone explain?
Before I even get started trying to figure this out, CodeGym has once again given us code using a structure they haven't taught us yet. I would like to know what is going on before I do anything else: private static Thread addMoney = new Thread() { @Override public void run(
27.09.2021
503
views
3
comments
0
Ankush Rajput
Level 25
Bhopal
Question about the task
Contextual advertising
Java Core
,
Level 9
,
Lesson 11
Under discussion
Output is exactly as per task conditions, still not able to verify
Please admins, have a look at the code. It is printing to console exactly as per task conditions still it does not pass. The same is happening in many other questions. It is getting a bit frustrating.
20.09.2018
1339
views
3
comments
0
Greg Martel
Level 5
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
What number outside the 1-999 range is returning text?
Final requirement is not met, and I'm stumped as to why.
27.09.2021
506
views
4
comments
0
Kalayaan
Level 4
Question about the task
Snake (Part 14/20)
Games
,
Level 0
,
Lesson 1
Under discussion
It's not drawing my snake
I don't know why. I don't have any errors, but my snake doesn't show up when I start the game. I can see my apple, but no snake. I managed to pass the last few parts, it was saying I had everything right and I could move to the next step, but everytime I passed, I still wasn't able to get my snake t
23.09.2021
705
views
4
comments
0
scriptKing
Level 7
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
I cant get it to print the array :(
package com.codegym.task.task06.task0614; import java.util.ArrayList; import java.util.Arrays; /* Static cats */ public class Cat { //write your code here public static ArrayList cats = new ArrayList<>(); public Cat() { } public static void main(String[] args) {
25.09.2021
603
views
3
comments
0
Ankita Patra
Level 5
Bhubaneshwar
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
What's wrong in this code!!
08.06.2019
1519
views
2
comments
3
muhammad asad ali
Level 5
Islamabad
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
o is not a negative or positive number?
public static int count=0; public static void main(String[] args) throws Exception { //write your code here InputStream ab= System.in; InputStreamReader bd= new InputStreamReader(ab); BufferedReader a= new BufferedReader(bd); String ah= a.readLine()
20.10.2018
1712
views
4
comments
1
Victor Omoha
Level 8
Raleigh
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
my solution is not meeting last requirement of not printing anything
package com.codegym.task.task04.task0427; /* Describing numbers */ import java.util.Scanner; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner input = new Scanner(System.in); int
12.01.2021
640
views
4
comments
1
Vitalina
Level 20
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Under discussion
I have correct output in my file2 but codegym doesn;t accept 2 requirments..
I have correct output in my file2 but codegym doesn;t accept 2 requirments..please help...
25.09.2021
378
views
1
comment
0
Show more
1
...
50
51
52
53
54
...
366
Please enable JavaScript to continue using this application.