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
Jonaskinny
Level 25
Redondo Beach
Resolved
Each time I access Core Level 1 I get forced back to Syntax Level 17 Cleared cookies/restarted. Anyone know how to get through to Core when you are level 19?
I'm so frustrated with this for the last few hours, wasting so much time. If anyone can suggest how to get around this I'd really appreciate it. I have reached out to Admin on message, chat, email etc and have not gotten a response. I am supposed to be working on this now and through the weekend and
26.02.2022
430
views
5
comments
0
asyraf
Level 3
Kuala Lumpur
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
I need a clue.. Can someone help
I have try and getting no result expect error.. i need a clue
18.06.2019
1376
views
3
comments
0
dodoalkhalbe
Level 6
Ames
Under discussion
What are static vs non static variables? what is variable scope?
More about variable scope (section)
27.02.2022
460
views
1
comment
0
Josephine
Level 26
Normal
Question about the task
Minesweeper (Part 15/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Can somone explain ,what does the 7th requirement do..with setcellvalue?
The createGame() method must clear all items (flags, mines, numbers) from the playing field. Use the setCellValue(int, int, String) method. Pass an empty string as the last argument.
18.02.2021
356
views
5
comments
0
Luyi
Level 31
Kosice
Question about the task
Minesweeper (Part 15/16)
Games
,
Level 0
,
Lesson 0
Resolved
last condition
Hello there, I do not understand last condition; my point is in the method onMouseLeftClick I already opening the tiles. Why should I open a tile and restart the game in the same turn? What I am missing here please? At first point I thought that I should call the restart method only in case isGame
04.12.2019
1580
views
9
comments
0
Vo
Level 41
Sofia
Question about the task
Shortener (6)
Java Collections
,
Level 6
,
Lesson 15
Resolved
Doesn't pass no matter what
After tons of attempts and on the edge of desperation I decided to use the answer provided by CodeGym. First of all, my answer is literally the same as theirs But this is not everything, it doesn't even pass the provided answer. How is that even possible ? Please let me know what you think.
13.04.2021
580
views
3
comments
2
Jesus Bárbara
Level 22
Question about the task
Minimum or maximum
Java Syntax
,
Level 13
,
Lesson 2
Resolved
What's wrong here?
Can someone help me figure out what's wrong? The output seems fine.
24.02.2022
286
views
2
comments
0
Andrew
Level 29
Seattle
Question about the task
Chat (part 17)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
Code passes verification but program doesn't run correctly
When I run the Server, I enter a random port number, let's say "1111" (tried this with a variety of ports). I get "Server is running." Then I run the Client and for server address, I enter "localhost" (also tried with IP directly) and for port I enter "1111". Then I get back "An error occurred whil
03.06.2019
1290
views
3
comments
0
Angel Stefan
Level 23
Sibiu
Question about the task
Problem solving
Java Core
,
Level 9
,
Lesson 8
Under discussion
How regex work?
After we split(" ") the string what is the value of array[4](the last element of array) if the string to split is "3 + 6 = "(4 char and 4 char space)? We have " "(space) after = but if we split with regex " " and after the space we don't have nothing why the array have 5 elements!?
18.02.2022
744
views
6
comments
0
Rich
Level 23
San Diego
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Under discussion
missing fourth criteria
looks like it should meet all checks but I'm missing the fourth. is it because I only use one Thread at a time and iterate to start new ones one at a time?
22.02.2022
340
views
3
comments
0
Jesus Bárbara
Level 22
Question about the task
Binary to hexadecimal converter
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Am I missing something?
What's wrong with my code? The output seems correct but the task is not completed. Can someone help me, please?
21.02.2022
517
views
7
comments
2
Alexandre Desbois
Level 10
Chamarandes-Choignes
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Why did I need to write "java.lang.String" instead of just String?
Hello, I don't understand why IntelliJ didn't want me to write just String s and wanted me to add java.lang. before it. Do you know why? What should I do to just do it like before? Thanks, Alexandre
21.02.2022
341
views
1
comment
0
Alexandre Desbois
Level 10
Chamarandes-Choignes
Question about the task
Dividing by zero
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Why we shouldn't throw the Exception in the divideByZero() method?
Hello, Everything is in the title. I don't understand why it's not necessary to throw the ArithmeticException in the divideByZero() method. Thanks, Alexandre
21.02.2022
382
views
2
comments
0
LuisRC
Level 39
Gijón
Question about the task
Let's talk music
Java Core
,
Level 6
,
Lesson 3
Under discussion
Where's the problem?
Hi, I've though that the problem with this task was that I had implemented it by using System.currentTimeMillis() which was not validated. After reading the help section I have modified it tby using the Date and again it didn'tt pass the validation. Now I've no idea was wrong. Thanks in advance for
20.02.2022
289
views
2
comments
0
Paul
Level 24
Vienna
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
How to see the Input in IntelliJ?
I can't find the Input (8 & Kevin) in IntelliJ, also when I run the program in IntelliJ, I don't get the right result ( just the file location), still the code was marked as correct. I tried to run the code later on the website, but you can't run it anymore once it is correct. Does anyone knows
23.10.2019
1471
views
3
comments
3
LuisRC
Level 39
Gijón
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Under discussion
What's wrong?
Hi there, I've been dealing with this task for two days and the fact is that I think I don't understand what's expected in this task and why my solution has not been validated. Some help please?
18.02.2022
437
views
2
comments
0
aijo
Level 30
Germany
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
Output seems correct, but validation fails. Why?
Does someone perhaps know why my solution fails the validation? the outputs seem to be correct when I test with sample file...
16.02.2022
723
views
12
comments
0
Angel Stefan
Level 23
Sibiu
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Resolved
It work's with my file!
Any hint? Tk you!
17.02.2022
585
views
8
comments
0
Юра Иванов
Level 1
Kharkiv
Under discussion
Коли я ввожу свою адресу, видається сповіщення, що вона використовується іншим користувачем. Що ж робити?
17.02.2022
342
views
1
comment
0
Jcode
Level 27
Question about the task
There are a lot of resources
Java Syntax
,
Level 16
,
Lesson 3
Under discussion
Why is the throws IOException required in line 14???
The task gets us to take a pre-Java 7 try-catch-finally and update it using a try-with-resources. The code shown below is the task is in its untouched original form hence the errors shown when it is verified. I noticed on Line 14 public static void main(String[] args) throws IOException { On line
15.02.2022
480
views
12
comments
0
M suleman
Level 20
Lahore
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
how find most occur byte in file
public class Solution { public static void main(String[] args) throws IOException { String fname; Scanner scan = new Scanner(System.in); fname = scan.nextLine(); FileInputStream in = new FileInputStream(fname); int temp=in.read(); int c=0;
10.11.2018
1775
views
4
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Task No. 6 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
please help to solve it.
And honestly I didn't like it. Yes It could sounds not that good for a programmer who is learning but really i didn't like it.
11.07.2020
752
views
2
comments
3
Юра Иванов
Level 2
Kharkov
Under discussion
Hint me somebody please where I may find my dictionary and read it.
Hint me somebody please where I may find my dictionary and read it.
06.02.2022
255
views
2
comments
0
mheuer
Level 41
Kaltenkirchen
Question about the task
Minesweeper (Part 16/16)
Games
,
Level 0
,
Lesson 0
Resolved
Passed all Tests but doesn't work correctly
Hi there, I got alle tasks for the minesweeper game passed but the game doesn't work as intended. The recursion of openTile(x,y) must be incorrect because it opens too many tiles and some tiles stay orange and can't be clicked anymore. Can anybody help me finding my mistake. Thank You Markus priv
13.02.2022
426
views
3
comments
0
Anonymous #10798360
Level 8
Woking
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Getting required output but can't pass test pls help!!
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ //import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here String name; int number; Scanner input
12.02.2022
482
views
2
comments
0
LuisRC
Level 39
Gijón
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Under discussion
Casting issues
Hi there, On this task all castings are giving an error so I cannot verity it. I mean: - new Double(xxxx) - new Float(xxx) the debugger says "Double(double)' is deprecated and marked for removal " and so for Float. This is my piece of code: private static void initList(List list) { list.add
11.02.2022
484
views
6
comments
0
Stanislav Mayer
Level 15
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Correct results but 4th and 5th conditions not met (Verificator bug?)
Hi, would you please check my code and advise why the last two conditions are not met? To me, it seems like a bug (?) Thank you.
11.02.2022
549
views
1
comment
1
Jcode
Level 27
Question about the task
The method returns a result — the depth of its stack trace
Java Syntax
,
Level 15
,
Lesson 2
Under discussion
Same code but different output - reason?
I run the code on VSCode and IntelliJ and I get the following output: getStackTrace getStackTraceDepth main Stack Trace Depth:3 When I run it on CodeGym I get: getStackTrace getStackTraceDepth main invoke0 invoke invoke invoke callMainMethod execute execute main main Stack Trace Depth:12 Any ideas
10.02.2022
486
views
4
comments
0
Anthony Chalk
Level 30
London
Question about the task
No idiots
Java Multithreading
,
Level 5
,
Lesson 5
Resolved
Please help
My code does display the message
02.03.2021
773
views
8
comments
0
Angel Stefan
Level 23
Sibiu
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Resolved
Any hint!?
More and more difficult!
10.02.2022
432
views
5
comments
0
Show more
1
...
40
41
42
43
44
...
366
Please enable JavaScript to continue using this application.