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
Maxb
Level 7
Yonkers
Question about the task
Feline carnage
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Cannot compile code to see output in intelliJ
Hello, I finished the problem and got it correct, but the code cannot be compiled to test the output in the terminal without an error. I get the below error, but my code pasts all the tests. Module '1.JavaSyntax' production: java.lang.NullPointerException: Null elements are not allowed in THas
17.08.2020
502
views
1
comment
0
Inifome
Level 10
Delta
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
getting error massages about void in main()
why is the compiler giving me void error
08.07.2020
484
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Let's talk music
Java Core
,
Level 6
,
Lesson 3
Under discussion
Don't see a problem
For some reason, it's not verifying.
13.09.2019
1259
views
3
comments
0
Rohit Aggarwal
Level 32
New Delhi
Question about the task
Minesweeper (Part 14/16)
Games
,
Level 0
,
Lesson 0
Resolved
What exactly is the issue here?
Requirement 2 and 3 are continuously failing. Can someone help me figure out what exactly is the issue here ? private void openTile(int i, int j) { if (isGameStopped) { return; } else if (gameField[j][i].isOpen) { return; } else if (gameField[j][i].
29.07.2020
424
views
2
comments
0
Karolina
Level 7
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Resolved
I have no idea what's wrong. Can U help me pls?
I completed this task with a lot help from Agent Smith. Thank you very much!
17.08.2020
616
views
6
comments
0
dhanush
Level 30
Chennai
Question about the task
Moon Lander (Part 11/23)
Games
,
Level 0
,
Lesson 4
Resolved
need help
i don't know where the width field is exactly pls tell me :(
22.07.2020
328
views
2
comments
1
Petros
Level 23
Columbia
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
One condition failing. Please help!
Not sure why the -i condition is failing. Please help me figure this out.
17.08.2020
401
views
3
comments
0
Baurzhan Konurbayev
Level 40
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Resolved
Failing validation, need some hint
Hi guys, Validation fails on save/load tests. Could you please give me some hints which test are failing. I checked my solution with Wikipedia sample test and it worked as expected. Thank you!
17.08.2020
514
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What is the mistake here
Everything is good but not verifying properly
20.03.2019
2313
views
5
comments
0
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
my output shows correct answer but dont know where mistaken?
i tried different dates also it shows odd day for true and even day for false but where am i mistaken
20.09.2018
1963
views
4
comments
1
Lgd
Level 20
London
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Resolved
Stuck on first and third requirements
Hi I'm stuck on this...been looking at it for quite a while. Can anybody offer any insights ? Many thanks
09.07.2020
421
views
2
comments
0
Anonymous #10438472
Level 40
Question about the task
HTML Editor (part 17)
Java Multithreading
,
Level 8
,
Lesson 15
Resolved
The last condition doesn't pass
Could you please help me? I cannot pass the last condition. Where could the problem be?
22.01.2020
1022
views
3
comments
1
Wei Cui
Level 39
Newark
Question about the task
HTML Editor (part 16)
Java Multithreading
,
Level 8
,
Lesson 15
Resolved
how to meet last request
09.04.2020
777
views
1
comment
2
Henrique
Level 41
São Paulo
Question about the task
HTML Editor (part 15)
Java Multithreading
,
Level 8
,
Lesson 15
Resolved
don't know how to pass 4th condition, HELP PLS
"The resetDocument() method should call the addUndoableEditListener() method on the document."
17.08.2020
407
views
1
comment
0
Swati
Level 8
Pune
Question about the task
Getters and setters for the Dog class
Java Syntax
,
Level 5
,
Lesson 5
Resolved
for getName & getAge Method
Why it is giving me error for getName() and getAge() method like"identifier expected" and "invalid method declaration". My Code is as: public class Dog { //write your code here String name; int age; Public String getName() { return name; } public void setN
22.11.2018
3326
views
5
comments
1
Sidd
Level 7
Maple Valley
Question about the task
Creating a cat
Java Syntax
,
Level 5
,
Lesson 5
Resolved
???
Why this not work
22.05.2020
881
views
3
comments
0
Chris
Level 19
Newark
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Beyond frustrated.
I literally did everything right. This is such a dumb exercise. Willing to copy and paste code because I am pretty sure its a load of bull that I havent passed at this point.
17.08.2020
441
views
5
comments
0
Maxim Raitin
Level 20
Tomsk
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What is wrong?
public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String x =bufferedReader.readLine(); int a = Integer.parseInt(x); int leapyearby400 = a
17.08.2020
410
views
2
comments
2
Derrick Shema
Level 14
Bethany
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
This code prints out the right strings but I still can't meet requirements. Where am I going wrong with the logic.
if (strings.get(j).length()>=maxLength) { maxLength = strings.get(j).length(); System.out.println(strings.get(j)); }
17.08.2020
348
views
2
comments
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
Lost, lost, so lost...
I look to help section to but still...
12.08.2020
474
views
2
comments
0
Hari
Level 8
Worcester
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Please help!! I am stuck!!
please help solve
14.08.2020
364
views
5
comments
2
Satya Vath
Level 31
Vijayawada
Question about the task
HTML Editor (part 4)
Java Multithreading
,
Level 8
,
Lesson 15
Resolved
Help Me
Everything is Correct but not able to verify
26.03.2020
1003
views
2
comments
1
Ram Panda
Level 31
Rockville
Question about the task
Chat (part 18)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
What is the issue with the getUserName method
I tried multiple variations of it but does not work any pointers? I had actually the return as "date_bot_"+X but changed it to new String("date_bot_"+X). Either way it seems to fail. Thanks
11.08.2020
483
views
1
comment
0
Sanjeevkumar
Level 22
Mumbai
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
Logic is correct or not?
what i did wrong? or i didnt understand what the program neeeds.
15.08.2020
440
views
2
comments
0
Abir Raihan
Level 2
Under discussion
help me to solve this please
help me to solve this please
16.08.2020
402
views
1
comment
0
sarthak pawar
Level 19
Nashik
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Under discussion
Can't satisfying the first condition
Everything seems good but than also the first condition is not satisfied.
17.08.2020
327
views
2
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Under discussion
help
condition 4 not satisfying
25.08.2019
860
views
1
comment
0
Chris
Level 19
Newark
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
It wont let me solve this.
I have tried it multiple ways and I triple checked to make sure I got the order right but it is not letting me pass. I literally did everything it said I even tried (which you will see below) using the \n method instead of printing a separate println statement for the date. Please help!
15.08.2020
482
views
3
comments
0
Kalena
Level 7
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Why doesn't this work?
It turns up the right answer with everything i tried but is still not fulfilling all requirements, help please?
09.08.2020
832
views
3
comments
1
Velociraptor
Level 3
Bangalore
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
guys this thing is not accepting ,my last condition is coming wrong pls help as fast as you can
guys this thing is not accepting ,my last condition is coming wrong pls help as fast as you can this is my code; package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(8000); } public static void
23.07.2020
519
views
4
comments
0
Show more
1
...
142
143
144
145
146
...
366
Please enable JavaScript to continue using this application.