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
MoJo
Level 23
Cairns
Question about the task
Long words
Java Core
,
Level 9
,
Lesson 11
Resolved
I checked other questions, but they don't apply to this
Test input (i tried starting/ending with >6 and <7 still works as should be): hi what is up longerthansix waylongerthansix short goodday 666666 7777777 output: longerthansix,waylongerthansix,goodday,7777777 not sure whats wrong here do you spot it? thanks!
1/15/21
691
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Deadlock
Java Core
,
Level 6
,
Lesson 13
Under discussion
Can you five me the solution?
Help pls
6/27/19
1366
views
2
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
I'm looking for a proper regex cheatsheet.
What is the regex for: somewhere in the string find "wordA" followed by anything till "wordB"? I'm able to get the tags but due to the nested tags it adds too many tags. I think the solution would be in a proper match of the opening and closing tag. I can't find a website with properly described reg
1/11/21
860
views
9
comments
0
Chandan Thapa
Level 22
Dubai
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
im lost in the loop... Someone please get me out of this....
one is connected to the other.. loop within a loop and i think it needs more nesting or not!! Any help would be great..please show me the way :)
1/15/21
668
views
4
comments
0
Marek Pasierbek
Level 9
Poznań
Question about the task
Clocks
Java Core
,
Level 6
,
Lesson 7
Under discussion
Can't do verification
I don't know what is wrong? After some time I have information that versification is too long.
9/1/20
663
views
3
comments
0
Gangadhar
Level 18
Question about the task
Promotion during political debates
Java Core
,
Level 6
,
Lesson 5
Under discussion
i cant understand?
what is the purpose of while loop here?
5/9/20
801
views
3
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Resolved
Needs come help
Why do I fail the test? 1) I also do not understand why you can create another CodeGym. You would assume that it should be a singleton? 2) I do not understand why you use codeGym.save(outputStream) what is this suppose to do? I would think that you would save new users to the list that is in the cla
1/15/21
1039
views
11
comments
0
Gellert Varga
Level 23
Szekesfehervar
Resolved
What does the word "state" mean?
"An interface only describes behavior. It has no state. But an abstract class includes state: it describes both." Supposedly this is a very important sentence (from this lesson: https://codegym.cc/groups/posts/104-the-difference-between-abstract-classes-and-interfaces ). OK. But what does the word
1/14/21
1039
views
8
comments
0
Michael Brookshaw
Level 7
Tenerife
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
A little clarification please.
The final requirement isn't met ("text should be displayed...) But the console output is correct.
12/18/20
645
views
5
comments
0
Onur Bal
Level 27
Istanbul
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Task Verified Despite Getting an Error in Output
I was able to get my solution verified, but strangely enough I got the following error in the output area: java.lang.NullPointerException at com.codegym.task.task07.task0726.Solution.main(Solution.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethod
9/10/20
927
views
6
comments
0
Dinesh
Level 7
Delhi
Under discussion
Please Check my comments for this code
Please notify with any improvement if required . or any explanation regarding this. public class Test{ //this is instance or class varible or field that is declared as static static int total = 10; public static void main(String[]args){ //Object of class Test created new Test(); } //Meth
1/12/21
693
views
7
comments
0
James
Level 41
Not in list
Question about the task
Racer (Part 12/28)
Games
,
Level 0
,
Lesson 5
Under discussion
I can't find the error
I keep getting Be sure that the addRoadObject(RoadObjectType, Game) method has the following line: int x = game.getRandomNumber(FIRST_LANE_POSITION, FOURTH_LANE_POSITION); Be sure that the addRoadObject(RoadObjectType, Game) method has the following line: int y = -1 * RoadObject.getHeight(type); Be
8/14/20
602
views
0
comments
0
Malte Böhm
Level 12
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Error - Files were in Dropbox
Hey there, files were located in Dropbox and it was unable to install Java FX i guess. Now the issue is that it only opens the Conditions but nothing else
8/16/20
848
views
0
comments
0
Kamil
Level 31
Near Warsaw
Question about the task
Log parser (part 7)
Java Collections
,
Level 7
,
Lesson 15
Under discussion
No way to get through
My code may not seem clean but after all it works and gives good results while debugging. Anyone could verify what's wrong? Maybe I'm blind for some mistake.
8/17/20
502
views
0
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Under discussion
Stuck!!!☹️
I've no idea what should i do??? pls help yaar...
8/20/20
645
views
0
comments
0
Petros
Level 23
Columbia
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Under discussion
Can't get the correct numbers to display
I've spent the last few hours on this. The Help section got me to where the rounded number are stored in an int variable but when I test the code locally, the output file has bizarre characters. How can I get it to write the actual numbers that was put into the int and not lookup the ASCII values?
8/21/20
578
views
1
comment
0
Bullock
Level 20
Trappes
Under discussion
Problème d'héritage
Je n'arrive pas à valider toutes les conditions car la classe Mineswepper n'hérites pas de la classe Games et je ne sais pas comment m'y prendre .
8/24/20
443
views
0
comments
0
Abir Raihan
Level 2
Under discussion
help me
help
8/27/20
456
views
0
comments
0
Ákos Kovács
Level 10
Budapest
Under discussion
Continue working on tasks on another computer
I have set up IntelliJ plugin on my other computer to continue work on tasks. I logged in and downloaded the project, but I couldn't see my actual tasks in the list. List of tasks contains all of the exercises beginning with the first lesson.
8/29/20
621
views
0
comments
0
Baurzhan Konurbayev
Level 40
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
What am I missing
Hi Have sample tests work fine, but the last test still fails. Could you give me some hints, pleaSe? Thank you!
8/30/20
551
views
0
comments
0
LennyMan
Level 25
Lucca
Question about the task
Using RandomAccessFile
Java Collections
,
Level 2
,
Lesson 2
Under discussion
Chinese characters
So my program pass the validation, i actually complete the task but is printing in the .txt file some chinese characters instead of true or false Someone do know why? Im pretty sure its some bugs in the process of covert bytes to strings, but my solution its identical to the codegym solution...c
1/14/21
1040
views
5
comments
0
Talha Javed
Level 4
sialkot
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Can anyone
What Is wrong in this code?
11/8/18
2146
views
15
comments
0
Nakul Sehgal
Level 9
New Delhi
Question about the task
Good or bad?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
How did we use method compare directly instead of creating an object?
We called the compare() method directly in main() method. Should we not have created an object first, through "Solution solution = new Solution();" and used the compare method like this: solution.compare(3); solution.compare(6); solution.compare(5);
4/10/20
1104
views
2
comments
0
hidden #10362262
Level 9
Question about the task
Good or bad?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Code runs but What is wrong with the formatting of the answer?
I am running this successfully offsite and I don't know what the test is looking for. Can someone please help me to figure out why my output is not acceptable? Thank you.
10/26/18
2459
views
9
comments
0
Dave Andrea
Level 41
Question about the task
Chat (part 22)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
I finished, but it still doesn't work. Could someone send me their solution to help me debug?
Hey guys, I got through all the steps and everything verified, but I have a bug somewhere that stops it from working properly. I don't want to ask someone to go through all my code (there's way too much for that), but I'd appreciate it if someone could perhaps send me their completed code so I cou
9/20/20
548
views
0
comments
0
sourav bamotra
Level 20
jammu
Question about the task
Order of loading variables
Java Core
,
Level 5
,
Lesson 12
Under discussion
passed the task but i still not get the use of "this" operator.
--> "printAllFields(this)" how is this "this" is working in place of Solution obj argument.
9/21/20
529
views
0
comments
0
Bhuvana Kumar
Level 14
Mumbai
Question about the task
Exceptions. Just exceptions.
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
Error in com/codegym/task/task09/task0913/Solution.java on line 3 package jdk.internal.org.objectweb.asm.tree does not exist
Error in com/codegym/task/task09/task0913/Solution.java on line 3 package jdk.internal.org.objectweb.asm.tree does not exist why I am getting this error
9/23/20
549
views
0
comments
0
Dave Andrea
Level 41
Question about the task
Archiver (part 15)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
Doesn't seem to work for nested directories
I passed the verification, but my solution got an error if I had any directories inside the zip file. I used the code from part 16 to check with my zip file and the same thing happens. So the updated corrected code they make us use doesn't work either. I wouldn't mind knowing why, but I also want to
9/24/20
576
views
0
comments
0
Youngsan
Level 41
Seoul
Question about the task
Make a word chain
Java Multithreading
,
Level 2
,
Lesson 9
Under discussion
Last two conditions were failed.
I got the right answer in IntelliJ, but failed last two requirements. Pls help.
9/24/20
603
views
0
comments
0
Lawson
Level 29
Lagos
Question about the task
How to avoid Copy+Paste
Java Multithreading
,
Level 4
,
Lesson 6
Under discussion
Pls help
The output is correct but not validating
9/26/20
546
views
0
comments
0
Show more
1
...
96
97
98
99
100
...
374
Please enable JavaScript to continue using this application.