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
JianQiu Hwang
Level 35
Washington
Question about the task
Shortener (4)
Java Collections
,
Level 6
,
Lesson 15
Under discussion
Why does `toString(32)` wrong?
Why does `toString(32)` wrong? 26 base-32 digits (32^26) exactly equals 2^130 new BigInteger(130, new SecureRandom()).toString(32); And the answer says "Re-read the task conditions and use your favorite search engine. You should end up with something like:" new BigInteger(130, new SecureRandom
27.04.2020
745
views
0
comments
0
LucGar
Level 22
Bilbao
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
I solve it, but i have a doubt
I put the -c name m "04 12 1991" -u 0 lucas m "05 12 2000" -d 0 -i 0 in edit configuration, program arguments. but the program only print this in the console, does nothing else. then, what is the utilily of used this?
28.04.2020
599
views
0
comments
0
LennyMan
Level 25
Lucca
Under discussion
Why there is not lessons about GUI and swing
The codegym it's pretty complete for start learning java, now that I'm at level 18 a just realized that we dont gonna learn about GUI in this course. I'm just wondering why? if there is a specific reason. Thank you
04.01.2021
333
views
0
comments
0
Andrei
Level 41
Question about the task
Creating threads recursively
Java Core
,
Level 6
,
Lesson 13
Resolved
What is the point of printing twice the same object?
I don't understand why the program uses System.out.println(new GenerateThread()) in main but also in run. What is the difference? package com.codegym.task.task16.task1623; /* Creating threads recursively */ public class Solution { static int count = 15; static volatile int cr
16.12.2020
740
views
9
comments
0
Marius Moldovan
Level 8
WGC
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
The code is not going through verify
Hey guys, From what I can tell the code is working fine with Run but not able to be verified, I am not sure why, though. Can someone please give me a hint? Thank you!
23.12.2020
503
views
3
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Why is this not passing the test
I think my code is just fine but there is something wrong with the verification. Or am I missing something?
03.01.2021
268
views
1
comment
0
Liliane Top
Level 24
Amsterdam
Question about the task
Combining files
Java Core
,
Level 8
,
Lesson 11
Under discussion
And another one where is the mistake?
Please help frustration is getting a but much with the useless feedback of my mentor ;-).
03.01.2021
274
views
4
comments
0
Dinesh
Level 7
Delhi
Under discussion
What is wrong in this implementation
public class Codegym{ public static void main(String[]args){ double s = "Practice variables"; void doubleWrite(String s) { System.out.println(s); System.out.println(s); } } }
03.01.2021
384
views
4
comments
0
Ron R
Level 2
Washington
Question about the task
Minesweeper (Part 16/16)
Games
,
Level 0
,
Lesson 0
Resolved
Zero or Square appearing in my Flags and Mines
Has this happened to anyone? See image. It's doing it on my Snake game as well. The zero or square appearing in my flag and mine box. In Snake, the zero appears on the head square. Makes me think it's not the code, but maybe something in the settings?
31.12.2020
301
views
2
comments
0
Anitamalina
Level 18
København
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
I don't know how to use the required method and do this differently?
Can someone help or guide me?
18.12.2020
545
views
3
comments
0
waseem khan
Level 13
Rawalpindi
Question about the task
HashSet of plants
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
help please !
Whats the problem in this code ? when i run this code it give the correct output but verification fails ?
20.08.2019
1366
views
6
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Symbol frequency
Java Core
,
Level 8
,
Lesson 11
Resolved
Why do I fail the test?
There is obviously something wrong with the verification system but there also might be something wrong with my code. Any help is appreciated.
03.01.2021
329
views
3
comments
0
Nathaniel Mayowa Omole
Level 15
Lagos
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
code not compiling
This code is indicating error at the point of reader.readLine() method, I can't see any visible error.
30.12.2020
361
views
3
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
It's printing 4 lines and still not working where have I gone wrong?
It's not grafting something am doing wrong
21.01.2019
1889
views
3
comments
1
Dinesh
Level 7
Delhi
Under discussion
error in variable declaration
Int result has been declared at line 14 error: cannot find symbol result; public class Codegym public class Codegym { public static int number = 25; public static void main(String[] args) { Codegym cg = new Codegym(); cg.square(); System.out.println(result); }
02.01.2021
424
views
5
comments
0
Chandan Thapa
Level 22
Dubai
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Output is right - but not passing the validation. Please help!
I also tried running this using a file in my local drive .txt file, saved in the below format, id 324 productName laptop price 45.23 quantity 4 id 323 productName desktop cable price 43.22 quantity 12 i get the correct output if i search for 323 it gives me below output: id 323 productName desktop
02.01.2021
337
views
4
comments
0
Kasia
Level 22
Zabrze
Question about the task
HashSet of plants
Java Syntax
,
Level 8
,
Lesson 3
Resolved
The output is correct but it doesn't pass the last two verifications
As in the title. the output is: banana pear iris cheery blackberry ginseng potato strawberry watermelon cantaloupe Any help appreciate :)
14.10.2020
515
views
3
comments
0
Josephine
Level 26
Normal
Question about the task
Mirror image
Java Core
,
Level 9
,
Lesson 11
Resolved
My code worjs in InteliJ..Please help..
My code worjs in InteliJ..Please help..
02.01.2021
311
views
2
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Resolved
Why do I fail the test?
The output is correct but fail condition 2 and 3.
02.01.2021
454
views
9
comments
0
Abdelrahman
Level 5
Amman
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Resolved
why is this wrong?
I'm pretty sure I put everything correct, but I'm not sure why it gives an error.
02.01.2021
488
views
2
comments
0
Dyrits
Level 22
Question about the task
2048 (Part 18/18)
Games
,
Level 0
,
Lesson 2
Under discussion
I can't publish my game...
Am I the only one with this issue? This is my code: package com.codegym.games.game2048; import com.codegym.engine.cell.*; public class Game2048 extends Game { private static final int SIDE = 4; private int [][] gameField = new int[SIDE][SIDE]; private boolean isGameStopped; privat
31.07.2020
456
views
2
comments
0
anupam jha
Level 7
Under discussion
void...
when u write void before methods it means it returns nothing.fine.but sum method returns the value of the sum .when u add 2 numbers it returns a new number.then how can we write void before sum method? m confused.i know i lack clarity.so please clear it.Thanks
01.01.2021
413
views
3
comments
0
Inga
Level 3
Silale
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
don't know where is the mistakes. please help!!
01.01.2021
444
views
4
comments
0
Ru
Level 2
Crown Point
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
The print method should display the string 4 times. Each time, on a new line.
Hello, I'm confused on the last requirement. What do we need to do? What is it asking, specifically? Thank you.
02.01.2021
468
views
2
comments
0
Chandan Thapa
Level 22
Dubai
Question about the task
Two in one
Java Core
,
Level 8
,
Lesson 11
Resolved
getBytes() was supposed to do the trick right?!!
Could you help where am I making the mistake.. i did not use byte[] buffer as that is another approach. But is there a way to correct the one I wrote?
31.12.2020
325
views
3
comments
0
alex2003527
Level 2
Moscow
Under discussion
Cheating
What's going on here? I was promised free training, why are they demanding money from me now to continue it?
01.01.2021
375
views
0
comments
0
valentin Berthol-Raada
Level 3
Issy-les-Moulineaux
Under discussion
Problem
Hello, when I want to start a mission I have this message that appears: To access the task, you need to unlock the lesson that contains it.
04.04.2020
759
views
0
comments
0
BD
Level 4
Solothurn
Under discussion
Premium Abonnent
Ist es normal das 1 Jahr so viel kostet wie ca. 3 Monate, oder sehe ich da was falsch?
04.04.2020
713
views
0
comments
0
Kobi
Level 17
Haifa
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Help
package com.codegym.task.task07.task0716; import java.util.ArrayList; /* love */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("lyre"); // 0 list.add("love"); // 1 list.add("rl");
04.04.2020
687
views
0
comments
0
Dejan
Level 1
Den Haag
Under discussion
please help how to download and instal java
05.04.2020
619
views
0
comments
0
Show more
1
...
95
96
97
98
99
...
366
Please enable JavaScript to continue using this application.