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
Anonymous #11352715
Level 46
Gurgaon
Question about the task
Binary encoding
Java Syntax
,
Level 10
,
Lesson 9
Resolved
How does the charArray[i] represents both the char and its decimal value in the result of print(charArray[i]) method without any value for char method can anyone help?
How does the charArray[i] represents both the char and its decimal value in the result of print(charArray[i]) method without any value for char method can anyone help? how does it work?
05.07.2023
139
views
2
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Cat carnage (3)
Java Syntax
,
Level 10
,
Lesson 2
New
No se que hacer.
No se que está mal. Da el resultado correcto.
06.07.2023
110
views
0
comments
0
Jeremy
Level 9
Sausalito
Question about the task
String array in reverse order
Java Syntax
,
Level 6
,
Lesson 3
Resolved
My solution produces all of the requirements listed, but the last two requirements show as failed...why?
Both requirements -> "The program should display 10 strings on the screen, each on a new line" and "The program should display the array (10 elements) in reverse order are both satisfied, but "The task failed to pass testing" for each of these requirements renders in the "Validation" window, insi
05.07.2023
217
views
3
comments
0
Abhishek Rangari
Level 22
Nagpur
Question about the task
Pharmacy
Java Core
,
Level 7
,
Lesson 10
Archived
can anyone help me in this task
condition is not satisfying..
16.12.2018
1568
views
3
comments
2
rags 3
Level 5
Wichita
Question about the task
Positive and negative numbers
Java Syntax
,
Level 3
,
Lesson 10
Under discussion
why does it say it doesnt work works fine ahhh
01.07.2023
86
views
4
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
Working with Java 8's DateTime API
Java Collections
,
Level 10
,
Lesson 10
Resolved
There seems to be an error in the conditions re: day of week
April 21, 2014 is a Monday, so it should be the second day of the week. However, the conditions say this should be an output of 1. Are they using 0 for Sunday? They don't appear to be using 0 as a start for the months, so that would be inconsistent, if so. In any event, I did try (Calender.get(CALEN
26.06.2023
106
views
2
comments
0
Spooky 999
Level 5
Zolwer
Question about the task
Maximum of entered numbers
Java Syntax
,
Level 4
,
Lesson 2
Resolved
Hey, can someone help me, pls.
I become an error on line 16 because "the variable wasn't initialised". Help me pls.
30.06.2023
122
views
1
comment
0
rags 3
Level 5
Wichita
Question about the task
Quadrants
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
why does there code use else if
I used the if operator like if() { } if if if why use the else if operator like there example my code ran fine
01.07.2023
84
views
1
comment
0
Tristan
Level 2
Kwa Zulu natal
Under discussion
What is wrong with my program?
What is wrong with my program?
01.07.2023
86
views
1
comment
0
rags 3
Level 5
Wichita
Question about the task
Labels and numbers
Java Syntax
,
Level 3
,
Lesson 10
Under discussion
code worked
my code worked but it says it didn't I know I did it odd way but still it worked and haven't figured out the other way yet
01.07.2023
128
views
3
comments
0
FelixUjo
Level 35
Gijón
Question about the task
StringTokenizer
Java Syntax
,
Level 9
,
Lesson 6
Under discussion
StringTokenizer
I don't understand this task.
28.06.2023
142
views
4
comments
0
Nathan Samson
Level 5
United States of America
Question about the task
Describing numbers
Java Syntax
,
Level 3
,
Lesson 10
Under discussion
Question
I don't understand what i did wrong here. What does it want me to do ?
29.06.2023
141
views
4
comments
0
Anonymous #11345952
Level 17
United States of America
Under discussion
subscription
I don't want to renew my subscription right now. Can you please cancel my subscription.
22.06.2023
121
views
1
comment
0
hidden #11360367
Level 3
Resolved
Is there any free subscription for university students through .edu email?
Is there any free subscription for university students through .edu email?
24.06.2023
95
views
0
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Path update
Java Syntax
,
Level 9
,
Lesson 5
Resolved
Help
I do not understand why it does not validate the task, the result is correct.
27.06.2023
155
views
3
comments
0
GCPix
Level 15
Glasgow
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Resolved
Not passing validation
When I run this, it does everything it is meant to. I get a bomb when isMine is true, the number of bombs matches the field count and the number of bombs surround the cell is correct when isMine is false. Problem is I cannot get these two things to pass validation on openTile(). I cannot see what
16.07.2019
1984
views
8
comments
2
matemate123
Level 50
Kraków
Question about the task
Archiver (part 13)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
I don't understand the purpose of using BAOS and copyData here
public List<FileProperties> getFileList() throws Exception { if (!Files.isRegularFile(zipFile)) throw new NoSuchZipFileException(); List<FileProperties> listFileProperties = new ArrayList<>(); try (ZipInputStream zipInputStream = new ZipIn
24.06.2023
138
views
1
comment
0
FelixUjo
Level 35
Gijón
Question about the task
Binary converter
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Help
con binaryNumber = null return 0.
25.06.2023
143
views
5
comments
0
matemate123
Level 50
Kraków
Question about the task
Archiver (part 16)
Java Multithreading
,
Level 7
,
Lesson 15
New
I'm curious, whether it possible to validate my first methods
My first method which worked (I think so :D) but not gave me green light. public void removeFiles(List pathList) throws Exception { if (!Files.isRegularFile(zipFile)) throw new NoSuchZipFileException(); Path temp = Files.createTempFile(null, null); try (ZipOut
25.06.2023
122
views
0
comments
0
Lars
Level 9
Question about the task
Binary converter
Java Syntax
,
Level 10
,
Lesson 2
Resolved
Is not empty and is not null check do not pass??
I continue getting this message: Be sure that the toDecimal(String) method returns 0 if it receives an empty string or null as input. What do I do wrong?...
21.06.2023
148
views
6
comments
0
Lars
Level 9
Resolved
GodeGym plugin IntelliJ buttons do not show
Hello, I'm using the latest version of IntelliJ, 2022.3.3. After installing the CodeGym plugin I don't see any buttons at the top. How can I fix it?
17.05.2023
292
views
2
comments
0
Bob
Level 10
United States of America
Question about the task
Remove duplicate strings
Java Syntax
,
Level 5
,
Lesson 3
Under discussion
Fails validation but outputs correctly
I worked for a long time on this and was able to figure it out this morning, but it failed both criteria for validation? I am able to set duplicates to null, beyond what the input is, e.g., "hello" "hello" "hello". I am really stumped as to why the first validation requirement is not being met?
21.06.2023
247
views
2
comments
0
Anonymous #11100313
Level 24
Question about the task
Longest sequence
Java Syntax
,
Level 14
,
Lesson 5
Under discussion
"Should read values from the keyboard"
I don't get why I am getting an error on this. It can literally read the input. Where am I wrong?
20.06.2023
131
views
1
comment
0
Andrew
Level 29
Seattle
Question about the task
Hippodrome (part 1)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
Not a good start
I'm guessing I'm getting stuck on "...must be in a separate file." I've tried: - Creating a new package inside the src folder for JavaMultithreading. Result, cannot find files. Okay, must be within 2113 package. - Creating the two classes withing the task 2113 package. Result: failed all verifica
03.04.2019
1135
views
10
comments
0
Vadim “迪姆哥”
Level 35
Question about the task
Maximum byte
Java Core
,
Level 8
,
Lesson 3
Resolved
Issue with validator - the program ran too long and was closed!
In IntelliJ IDEA , this code runs without any issues, but when I send task for validation, result is: The program ran too long and was closed!
15.06.2023
255
views
5
comments
0
Vadim “迪姆哥”
Level 35
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Could anyone explain why req#3 doesn't pass?
I tested my code in IDE, it works 100% correct, but validator dint give a pass. why?
17.06.2023
133
views
1
comment
0
Vadim “迪姆哥”
Level 35
Resolved
Output of code is correct, but solution didnt pass
Why? The line I changed to: public static void printAnything(ArrayList<Object> arrayList) It was: task12.task1222: Displaying different types on the console
22.10.2022
225
views
4
comments
0
Vadim “迪姆哥”
Level 35
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
getDescription verification fail
Please tell me, what the issue to call super.gerDescrition() inside String.format as argument? Is it unsafe? Can it break something? Why do we need first call super.getDescrition, then + String.format with remaining cotents? My code perfectly meets all task requirenments, but getDescrition() or Euro
03.12.2022
438
views
4
comments
0
Andriy
Level 5
Question about the task
There's never too much of a good thing
Java Syntax
,
Level 4
,
Lesson 8
Resolved
Display the string number times
What does it mean? number times. The condition of the task is not clear.
12.06.2023
128
views
2
comments
0
rey
Level 6
Makati
Question about the task
Decent pay
Java Syntax
,
Level 4
,
Lesson 16
Resolved
whats wrong with this??
whats wrong with this
14.09.2019
1148
views
4
comments
0
Show more
1
...
15
16
17
18
19
...
366
Please enable JavaScript to continue using this application.