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
Maria
Level 22
Moscow
Question about the task
Clew
Java Core
,
Level 6
,
Lesson 13
Resolved
Last requirements..
Why?? whats wrong?? @#$@#@#
4/16/21
969
views
6
comments
0
Cristian
Level 16
Bucharest
Question about the task
Array of string lists
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Something is wrong here! Thanks a lot!
package com.codegym.task.task10.task1015; import java.util.ArrayList; /* Array of string lists */ public class Solution { public static void main(String[] args) { ArrayList[] arrayOfStringList = createList(); printList(arrayOfStringList); } public static ArrayList[
4/22/21
757
views
5
comments
0
Zach
Level 22
Fort Collins
Question about the task
Who called me?
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
How do you get the correct element in the stackTrace?
package com.codegym.task.task09.task0903; /* Who called me? */ public class Solution { public static void main(String[] args) throws Exception { method1(); // StackTraceElement[] elements = Thread.currentThread().getStackTrace(); // for (StackTraceElement el
4/15/21
699
views
2
comments
0
John
Level 17
Mansfield
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
how do i know what exception to catch?
in this case how can i able to know what specific exception to catch instead of using Exception as general?
4/22/21
878
views
4
comments
0
Edward Rickers
Level 15
Washington
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Says I didn't create an array of 15 integers
package com.codegym.task.task07.task0706; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Streets and houses */ public class Solution { public static void main(String[] args) throws Exception { Integer[] houses = new Integer[15];
4/22/21
739
views
2
comments
0
ImDevin
Level 15
Old Town
Resolved
Intellij not running the current task - Help would be appreciated
I've not been able to run the current task for a while. Every time I run a current task (right now, I'm on 0712), it runs 0523. The Edit Configuration shows the current, correct task, but it only runs the task 0523. Don't know what I can do to fix this. Any help would be appreciated. thx
4/20/21
669
views
2
comments
0
John
Level 17
Mansfield
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Month is in LowerCase
I got the exact right output except that the month is in lower case, can someone give a hint on how to fix it?
4/22/21
891
views
3
comments
0
John
Level 17
Mansfield
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
Help
Can somebody give a little hint?
4/19/21
665
views
2
comments
0
oli blaustrom
Level 18
Luzern
Question about the task
Let's talk music
Java Core
,
Level 6
,
Lesson 3
Under discussion
My thread doesn't wake up
After calling the sleep method nothing else will be called in run. I don't get it? I tried some solutions of others here too that supposed to work but they have the same problem when I put it in after sleepNseconds nothing gets called.
2/28/20
1157
views
6
comments
0
Josephine
Level 1
Normal
Question about the task
Space Invaders (Part 4/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Not validating the last requirement .I have already included ' import com.codegym.engine.cell.*;in star class..Someone help please?
Not validating the last requirement .I have already included ' import com.codegym.engine.cell.*;in star class..Someone help please?
4/20/21
911
views
6
comments
0
Anonymous
Level 18
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Resolved
Help to make me solve !
I cant seem to solve this code. No matter how much I try! Please do help me. If I am trying to make X=12 then I couldn't make Y=2 & If I am trying to make y=2 then I couldn't make x=12 . This is the only code, where I am stuck so far. I have even completed the other tasks after this one. pleas
9/19/18
1984
views
4
comments
1
Tamas Horcsak
Level 18
Leeds
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Resolved
Hi guys, I cant pass verification, please help me out.. I tried many ways..
package com.codegym.task.task14.task1418; import java.util.LinkedList; import java.util.List; public class Solution { static List initList(List list) { list.add(new Double(1000f)); list.add(new Double("123e-445632")); list.add(new Float(-90 / -3)); list.remo
4/21/21
555
views
2
comments
0
Tamas Horcsak
Level 18
Leeds
Question about the task
Cats
Java Core
,
Level 4
,
Lesson 4
Under discussion
Hi everyone, why is my code fails?
import java.io.BufferedReader; import java.io.InputStreamReader; /* Cats */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String key = "a"; while(!key.eq
2/27/21
850
views
5
comments
0
Miles Johnston
Level 2
Madison
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
I am struggling to understand this lesson.
I am struggling to learn this new stuff and I don't understand the things one why a int is primitive and String is not. I feel like they just dumped the whole objects thing on me and idk how it works even after carefully reading the lesson. I'm very troubled on figuring out the basic concept in ge
4/18/21
854
views
2
comments
0
Rica
Level 3
Manchester
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Why is it that it's assocated with two words?
I was able to do this quickly but don't understand the why behind this. Why is it that it is able to print both words on line 16 and 17 when I only printed one string? Does that one string= "window" AND "file"?
4/20/21
730
views
1
comment
0
TaoLu
Level 20
泾县
Under discussion
Choose your language
language selection When I first entered the Codegym, I needed to select a language,and I chose Chinese But what I've found so far is that the Chinese translation is terrible, I regret it now. I want to choose English, When I select English in the bottom right corner of the page, All that changed was
3/11/21
746
views
3
comments
0
smmmm
Level 0
Singapore
Under discussion
this question is regarding java-hadoop and the use of virtual machine virtualbox
this is my code import java.io.IOException; import java.net.URI; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.FSDataOutputStream; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.a
4/20/21
581
views
0
comments
0
Edward Rickers
Level 15
Washington
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
I added ten integers to the list and it's still not passing
package com.codegym.task.task07.task0719; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Display numbers in reverse order */ public class Solution { public static void main(String[] args) throws IOException {
4/20/21
688
views
2
comments
0
Anitamalina
Level 18
København
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
why doesn't my code work for negative odd number??
I feel like I do exactly the same, and I can't see what's wrong???
10/25/20
730
views
6
comments
1
Dmitri
Level 22
Seversk
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Unfortunately the validator is not flexible enough again
Actually this code is working perfectly
11/4/20
767
views
5
comments
0
Au Ivan
Level 17
Hong Kong
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Please help...have been struggling here for over 3 hours..
com/codegym/task/task08/task0827/Solution.java:24: error: unreported exception java.text.ParseException; must be caught or declared to be thrown Date dd = new SimpleDateFormat("MMMM d yyyy").parse(s); Why is that not compiling...million thanks in advance!
9/27/19
3646
views
8
comments
0
hacks patel
Level 20
Ahmedabad
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
What is problem??
plz help..
1/6/19
2509
views
10
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Just a little help
How to parse the given string to a date Plz show me the way and calculate the diff.
4/6/19
2434
views
7
comments
0
Cristian
Level 16
Bucharest
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Consider the fact that words might be separated by more than one space.
Hi, guys! I don't know how to fix this code given that " Consider the fact that words might be separated by more than one space.". Help me, please! Thank you so much!
4/13/21
746
views
11
comments
0
Ewerton
Level 30
Belo Horizonte
Question about the task
Chat (part 12)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
I failed on the simplest task
Client.java
7/13/19
1273
views
2
comments
0
Rich
Level 23
San Diego
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
not registering the new Humans
It looks right to me but it's saying that when I initialize the new human the listed children aren't legit variables
8/30/20
1189
views
5
comments
0
Kisszol
Level 15
Toeroekbalint
Question about the task
Static modifiers are out of place
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Bonvolu helpu min - please help me
EO - Mi provas cxion, sed sistemo ne akceptas. EN - I try everything, but system does not accept it.
4/1/19
1944
views
8
comments
0
Ice_ Beam
Level 7
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What's wrong with my code?
I thought I carefully covered the angles. the validation says: Error. If a triangle with the specified sides could exist, you need to display: "The triangle is possible."
4/15/21
845
views
2
comments
0
John Raets
Level 3
Not in list
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
why when compiling does it say "missing return statement"?
public class Solution { public static int min(int a, int b, int c) { if (a <= b && a <=c) //write code here return a; else if (b <=a && b <=c) return b; else if (c <=a && c <=b) return c; }
9/17/20
1008
views
4
comments
1
rudy athea
Level 19
Under discussion
level 11
Hello I dont understand why dont I have access to the level 11. I am on level 10 and I want to access to the level 11. Please explain me?? Thanks
3/23/21
520
views
0
comments
0
Show more
1
...
77
78
79
80
81
...
374
Please enable JavaScript to continue using this application.