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
Radosław
Level 30
Rzeszów
Question about the task
Shortener (7)
Java Collections
,
Level 6
,
Lesson 15
Resolved
Help
Any help?
8/13/20
628
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);
2/6/20
823
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
8/11/20
806
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?
8/12/20
782
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
8/13/20
618
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
8/13/20
425
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()
8/13/20
535
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...
7/26/20
812
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?
7/12/19
2295
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
6/25/19
1486
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.
8/13/20
627
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
8/13/20
739
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?
7/24/20
525
views
2
comments
0
Maxine Hammett
Level 19
San Diego
Question about the task
Cows are animals too
Java Core
,
Level 2
,
Lesson 6
Resolved
I don't understand....
I'm lost on this excersize could someone please explain what I'm doing wrong? Thank you your help is appreciated.
7/28/20
698
views
2
comments
0
Adil
Level 7
Eindhoven
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Where is constructor method()?
I solved the task but I don't understand where the constructor method is. Don't you need one to make an object? I expected this: public Man() { }
8/13/20
582
views
2
comments
0
peter
Level 13
Den Haag
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Resolved
why doesn't it fullfil requirements 3 and 5?
i have no idea why my code doesn't work so a little bit of help would be nice and appreciated.
8/12/20
593
views
5
comments
0
Andrei Stratu
Level 18
Iasi
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
Getting an error
Exception in thread "main" java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap') - I don't understand why I get this error. I cannot check the output to see what I am doi
8/12/20
522
views
2
comments
0
Adam Maichrzik
Level 22
Katowice
Question about the task
SimpleObject interface
Java Core
,
Level 3
,
Lesson 11
Resolved
Need help and advice
Need a little help.
2/29/20
1309
views
3
comments
0
Ed Cab
Level 15
Hawthorne
Question about the task
Fixing bugs
Java Core
,
Level 3
,
Lesson 11
Under discussion
} <-- expected ??
Error message says there is problem with the braces in this code. I don't see it. How do I solve this one?
8/5/20
580
views
3
comments
0
Gil Allen
Level 8
Johnstown
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Can't find Iterator symbol?
I am getting an error message for line 21 - the carat is pointing at the Capital I and says can;t find symbol. Says symbol is class Iterator?? can't find its own class
8/12/20
1060
views
2
comments
0
Gil Allen
Level 8
Johnstown
Question about the task
10 thousand deletions and insertions
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Declaring the ArrayList
I thought that when you declared an ArrayList that you had to say what kind of variable would be in it. That wasn't done here, e.g. ArrayList, so can someone explain when you have to and when you don't have to declare the types in the ArrayList?? thanks
8/12/20
621
views
2
comments
0
bamughamye patrick
Level 8
Paris
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
What is the problem?
My code compiled well but why cant i get the last requirement right?
8/12/20
694
views
1
comment
0
Michał Pietrus
Level 33
Krakow
Question about the task
Archiver (part 10)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Help please
Anyone know how to resolve that ? Validator says : Be sure the createZip method properly saves a directory and the files it contains. Be sure to use the FileManager class and the addNewZipEntry method.
5/18/20
773
views
5
comments
2
Ritik Gupta
Level 5
Etah
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
my code gives error for odd values
8/8/20
544
views
2
comments
0
Joyonta Saha
Level 31
Question about the task
Archiver (part 6)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
last Req. is not verifying?
Help!
8/27/19
1313
views
2
comments
2
sourav bamotra
Level 20
jammu
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
this piece of code in removeDuplicateByValue method is not enough to remove duplicate element from hashmap? if i simply call this method in main, it throws Exception in main. why so?
HashMap<String, String> copy = new HashMap<String, String>(map);
8/11/20
687
views
6
comments
0
Inifome
Level 10
Delta
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
can't find the problem
can't seem to satisfy the last condition. need help
8/12/20
558
views
0
comments
0
dhanush
Level 30
Chennai
Question about the task
Reversing a file
Java Core
,
Level 8
,
Lesson 5
Resolved
need help with Collections
It's not reversing the bytes but i've done everything correct but where is the problem BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); FileInputStream fis = new FileInputStream(br.readLine()); FileOutputStream fis1 = new FileOutputStream(br.readLine());
8/12/20
570
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Archiver (part 2)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Help Me
It is correct but not verifying
3/21/20
1362
views
10
comments
0
Qi Wang
Level 10
Perth
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Im trying to use removeIf() to complete that request and I failed without knowing its reason
Hi guys, please help me, Im trying to use removeIf() to complete that request and I failed without knowing its reason
8/12/20
458
views
1
comment
0
Show more
1
...
153
154
155
156
157
...
374
Please enable JavaScript to continue using this application.