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
ddi
Level 18
Dortmund
Question about the task
Three static name variables
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Not getting what should i do...
I am Not getting what should i do...
07.06.2019
1855
views
3
comments
0
Mason Rake
Level 4
Grand Marsh
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Please help...
I am not sure what I am doing wrong can someone please help me?
30.07.2020
758
views
3
comments
0
Yuvavimal
Level 12
coimbatore
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
what is wrong !!
why it's geting null value this output are occurs mother son cat dog program car null father daughter
14.08.2020
382
views
3
comments
0
Qadir Khan
Level 9
Question about the task
Stack trace with 10 calls
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
can some please explain the logic, i solved but did not get how it works
method2().length; method3().length; both are 12 why
19.04.2020
753
views
1
comment
0
sourav bamotra
Level 20
jammu
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Resolved
need little help.
when i was using Collections class to find the minimum of the integer element in list(Collections.min(array)), it was throwing error. but finding the minmum element manually by iterating over each element of list test got verified. Why so?
13.08.2020
328
views
2
comments
0
Andrew
Level 8
London
Question about the task
Words in reverse
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What is the simplest method to do this task, I know it has something to do with Collections but i cannot get mine to work... a pointer in the right direction please?
public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); for(int i = 0; i < 5; i++){ list.add(reader.readLine());
12.08.2020
357
views
2
comments
0
Kamil
Level 31
Near Warsaw
Question about the task
Log parser (part 5)
Java Collections
,
Level 7
,
Lesson 15
Resolved
One condition only met
The output is alright, I get the results but all requirements about execute() method doesn't meet.
13.08.2020
410
views
2
comments
0
Azja
Level 32
Krakow
Question about the task
Archiver (part 8)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Whats wrong here?
I'm getting this error: "If any exception other than a NoSuchZipFileException occurs, then display "An error occurred. Please check the entered data." Even when I copied this to catch statement it didn't pass
01.07.2019
1366
views
7
comments
0
Xavier
Level 17
Pearland
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I don't know what happened.
I opened a past task to check something and when I opened this one again, when I tried to run it, it gives an error: Error:Module '1.JavaSyntax' production: java.lang.ClassCastException: class org.jetbrains.jps.builders.java.dependencyView.TypeRepr$PrimitiveType cannot be cast to class org.jetbrain
13.08.2020
1734
views
8
comments
0
Lgd
Level 20
London
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Struggling to see why this won't work. It seems to return the correct numbers. Any help please. Thanks
Struggling to see why this won't work. It seems to return the correct numbers. Any help please. Thanks
17.03.2020
1242
views
5
comments
0
Emenike Ayalogu
Level 13
Bowling Green
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
I can’t see what is wrong with this code. Please help!
I don’t know why I can’t pass the verification.
25.05.2019
1490
views
3
comments
0
Lawson
Level 29
Lagos
Question about the task
Who called me?
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
help
pls what's my error here
13.08.2020
841
views
1
comment
0
Henrique
Level 41
São Paulo
Question about the task
Archiver (part 2)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Absolutely no idea of what to do. HELP PLS
idk if it's just me, but I think these requirements and conditions are EXTREMELY confusing i cannot even test the code, because if won't even compile... so, please, help?
12.08.2020
455
views
3
comments
0
Sanjeevkumar
Level 22
Mumbai
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
what i did wrong?
last two sucks!
13.08.2020
375
views
2
comments
0
Nithin
Level 35
Hyderabad
Question about the task
Archiver (part 16)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
anyone please help me with this
I've tried a bunch of methods but none are working public void removeFiles(List pathList) throws Exception { if(!Files.notExists(zipFile)) throw new NoSuchZipFileException(); Path tempFile = Files.createTempFile(zipFile.getParent(),"tempFile", ".zip"); try (ZipIn
12.07.2019
1475
views
5
comments
2
Abhishek Yadav
Level 6
New Delhi
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Please help me
Why I am getting error. Please help.
13.08.2020
679
views
3
comments
0
Oleh
Level 32
Kyiv
Question about the task
Archiver (part 15)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
I am stuck
Method works well even with inner directories but not passes the validation. Is it completable?
16.04.2019
1417
views
2
comments
2
Radosław
Level 30
Rzeszów
Question about the task
Shortener (7)
Java Collections
,
Level 6
,
Lesson 15
Resolved
Help
Any help?
13.08.2020
407
views
2
comments
0
Kent Hervey
Level 19
Question about the task
Exception when working with Map collections
Java Syntax
,
Level 9
,
Lesson 6
Under discussion
What does (null) do?
I don't know what this does: HashMap map = new HashMap(null);
06.02.2020
608
views
1
comment
0
Peter Schrijver
Level 23
Hilversum
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
Infinite loop detected. I don't know where
Verify on CodeGym said "The program ran too long - Check your code. It looks like you have an infinite loop." Program runs on IntelliJ and give correct output. Looking for your support on this
11.08.2020
627
views
1
comment
0
Maxine Hammett
Level 19
San Diego
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Resolved
Return type Error
I'm getting this error "invalid method declaration; return type required. file com/codegym/task/task14/task1418/Solution.java, line 26, position 608" I didn't think the last two functions returned anything. What do I have wrong?
12.08.2020
513
views
6
comments
0
Darek
Level 41
Katowice
Question about the task
Space (part 3)
Java Collections
,
Level 3
,
Lesson 15
Resolved
What's problem?
In my opinion, a job well done. Fields correctly initialized and correctly implemented Getter and Setter. However, the validator sticks to the ship field getter. "Create a ship field in the Space class. Add a getter and setter for it. You have not added a valid getter for the ship field." I do not
13.08.2020
443
views
1
comment
0
dhanush
Level 30
Chennai
Question about the task
Two in one
Java Core
,
Level 8
,
Lesson 11
Resolved
help me
It tells the first file is not closed but i have closed it after it finishes it's work
13.08.2020
267
views
4
comments
0
Majek
Level 10
Katowice
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
i noted about 0... cmon
package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int a = scan.nextInt()
13.08.2020
376
views
2
comments
0
Pranit Gade
Level 9
Mumbai
Question about the task
Who called me?
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
HELP!!
Can someone tell me what is wrong...
26.07.2020
654
views
2
comments
0
hidden #10444738
Level 16
Question about the task
Animal set
Java Syntax
,
Level 8
,
Lesson 11
Resolved
null pointer exception line 51 and print to screen?
I'm getting a null pointer exception on the join method with the addAll dogs line 51 and it wont print to screen why?
12.07.2019
2014
views
5
comments
2
Andrew
Level 29
Seattle
Question about the task
Archiver (part 13)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
Help please!
Where am I going wrong? public List getFileList() throws Exception { if (!Files.isRegularFile(zipFile)) throw new NoSuchZipFileException(); List files = new ArrayList<>(); try (ZipInputStream zipInputStream = new ZipInputStream(Files.newInputStream(zipFile))) { ZipEntry
25.06.2019
1163
views
3
comments
2
Anton
Level 26
Oslo
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Under discussion
Correct output, but not verifying.
Correct output, but not verifying.
13.08.2020
423
views
5
comments
0
Yuvavimal
Level 12
coimbatore
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
what is wrong ?
package com.codegym.task.task07.task0718; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; /* Checking the order */ public class Solution { public static void main(String[] args) throws IOException { //write your code he
13.08.2020
542
views
3
comments
0
Joel Pearce
Level 22
Birmingham, UK
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Code works, but won't pass one of the conditions
Anyone know why?
24.07.2020
322
views
2
comments
0
Show more
1
...
144
145
146
147
148
...
366
Please enable JavaScript to continue using this application.