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
Daniel Whyte
Level 17
Question about the task
HashMap of Objects
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
hasNext
For printing it out I was thinking of using while(map. hasNext) { System.out.println("not sure about this bit") ; Would this be an option? What would I put to call it on the println part?
2/16/21
585
views
1
comment
0
Marcin
Level 8
Warsaw
Under discussion
Run button greyed out in IntelliJ IDEA
Hello, I have IDEA connected with CodeGym. I'm able to do tasks and verify them but I can't run them while writing a code (just to check the console output). What I've done wrong?
6/16/19
2330
views
3
comments
0
Libby
Level 20
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Why are requirements not met?
my code gives me the right output, what's wrong?
2/15/21
630
views
2
comments
0
Rohana Bandara
Level 1
Colombo
Under discussion
How to convert sql Query to JPQL Query
update newproject set pedate = date_add(psdate, interval duration day) where pid = newproject.pid; How to convert above shown Sql Query to JPQL Query?
2/15/21
828
views
0
comments
0
EugeneEmory
Level 8
San Antonio
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Why doesn't the compiler verify it?
So i've had this issue before. My code works just fine, regardless of what the numbers are it puts them in descending order. Yet, the compiler doesn't like it and won't verify that the code is in fact meeting that condition. Why is that?
2/14/21
729
views
3
comments
0
LucGar
Level 22
Bilbao
Question about the task
Minimum byte
Java Core
,
Level 8
,
Lesson 3
Resolved
Why Long.MAX_VALUE
Why, we have to use Long.MAX_VALUE?
4/29/20
1186
views
3
comments
0
Mina Nabil
Level 17
Sydney
Question about the task
Let's hire a translator
Java Core
,
Level 3
,
Lesson 4
Under discussion
Hi, I was wondering why th class RussianTranslator has to be Static ? thanks.
Hi, I was wondering why th class RussianTranslator has to be Static ? thanks.
2/12/21
536
views
5
comments
0
Opeyemi Olaleye
Level 5
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Formating when reading data from the keyboard
I wanted an experienced programmer's take on this. I noticed with some of the programs I have made, I fail because I add excess things like "Enter your name: " or "Enter your age: " in my code. I got into this habit from my previous experiences programming. The code is good, it just does not meet th
2/14/21
691
views
1
comment
0
Daniel Whyte
Level 17
Question about the task
LinkedList and ArrayList
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Doesn't compile
What's stopping my code from working?
2/14/21
840
views
3
comments
0
Vincenzo Seggio
Level 28
Question about the task
Inverted words
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
Do not understand why ...
i don't pass testing. My program is working. Can you give me a hint please? Thx
2/13/21
544
views
5
comments
0
Prashant Vishwakarma
Level 12
Mumbai
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
what is wrong?
help me!
9/19/20
600
views
3
comments
0
Noob_Coder
Level 22
Springfield
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Resolved
what's wrong with this code?Also i don't understand how it works completely
10/14/20
853
views
9
comments
0
Zach
Level 22
Fort Collins
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
ternary operator help
I solved the puzzle but I had a piece of code that wasn't working. I ended up using an if-else statement butI wanted to use a ternary operator. But it wasn't working saying that (number % 2 == 0) is not a statement. for (int i = 0; i < intArray.size(); i++) { int number =
2/13/21
687
views
1
comment
0
Ahmed Elomari
Level 2
Philadelphia
Question about the task
Don't feel like it? Do it anyway.
Java Syntax
,
Level 1
,
Lesson 8
Under discussion
by using for loop is much easier and fast ,just be more carefully for typo
//write your code here int i; for( i=0 ;i< 16; i++)
2/13/21
528
views
1
comment
0
Ahmad Abbasi
Level 9
Anaheim
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Why Is My solution to Rule of the Triangle not working?
see code
2/13/21
515
views
1
comment
0
Josephine
Level 2
Normal
Question about the task
Minesweeper (Part 10/16)
Games
,
Level 0
,
Lesson 0
Resolved
why my 5th condition not passing?Someone please help
why my 5th condition not passing?.Someone please help
12/15/20
610
views
1
comment
0
Volodymyr
Level 9
L'viv
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
I dont understand this line, Help.
Hey, please explain to me, what this for - a = a / 10; What this line do in this task& Thank you.
2/12/21
634
views
2
comments
0
Przemek null
Level 8
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
last condition not met
the code does what was demanded but still can not pass. Some help would be really nice
2/12/21
509
views
1
comment
0
Lawson
Level 29
Lagos
Question about the task
Making the right conclusion
Java Core
,
Level 10
,
Lesson 10
Under discussion
Help
I cant meet task conditions
9/8/20
667
views
1
comment
2
hasith
Level 4
Colombo
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
What wrong with this code
6/7/19
1979
views
5
comments
0
Daniel Whyte
Level 17
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Initialising
Looking at the requirements it asks that we immediately initialise the list. Is part of the below text actually initialising it? ArrayList list = new ArrayList<>();
2/2/21
480
views
2
comments
0
Maryem Vickers
Level 7
HT...
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Help please!!!
I am stuck. Can I have some help please?!?!?!
2/11/21
508
views
1
comment
0
Dmitri
Level 22
Seversk
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
Why do I need to change return type?
package com.codegym.task.task13.task1306; /* Buggy initializeIdAndName */ public class Solution { public static void main(String[] args) throws Exception { System.out.println(Matrix.NEO); System.out.println(Matrix.TRINITY); } static class Matrix { public sta
11/27/20
1089
views
8
comments
1
Maryem Vickers
Level 7
HT...
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
One additional r"r" there!
What happened?! I tried to get [r]id of allll "r"s and it did not work. Kore wa still there! Why?!
2/9/21
482
views
2
comments
0
Libby
Level 20
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Can anyone help me
My output looks like this: Alpha, Beta, gamma, gamma, gamma, beta, beta, alpha, alpha. How can I change it around?
2/11/21
675
views
8
comments
0
Carlos Marco Maza
Level 3
Under discussion
don't see task
hello, when I start the level 2 I don't see any of task. All task are empty. I start the lessons in Spanish and now in English, the people says this is the problem, but i chanche the languaje several times and it's equals.
2/11/21
597
views
0
comments
0
Henrique
Level 41
São Paulo
Question about the task
Your own FileWriter
Java Core
,
Level 9
,
Lesson 11
Under discussion
Could somebody explain to me this task? I really didn't understand anything about it...
It seems that I'm the only one who didn't get this one, and this is very frustrating. ¯\_(ツ)_/¯ Anyway, I tried to follow the steps of the requirements, but I really don't understand what this task is about, or what I have to do. I looked at the only two other help topics and still didn't get it...
7/3/20
962
views
13
comments
0
Aakankasha Sharma
Level 19
Chandigarh
Question about the task
Player and Dancer
Java Core
,
Level 4
,
Lesson 4
Resolved
instanceOf works, but person.getClass().getSimpleName() does not
both are working fine to find what type of object has been instantiated but the first method is accepted whereas the second isn't: person instanceOf Dancer person.getClass().getSimpleName().equals("Dancer")
2/6/21
609
views
1
comment
0
Andrei
Level 41
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Resolved
What is the purpose of DBObject in front of the method in the interface? Why do I have to change from DBObject to User when implementing the interface in the class?
Hello, so I don't understand what is the purpose of the name of the interface in front of the abstract method? Also, the second question: When implementing the interface in the User class, why do I have to change from DBObject to User followed by method name? Thank you.
11/26/20
783
views
6
comments
1
Seth Barker
Level 5
Eureka Springs
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Right answer - missing #3 requirement
I seem to be getting the right answer, but the #3 requirement is not correct. Any hints on how I might do this differently? Thanks!
2/9/21
530
views
2
comments
0
Show more
1
...
88
89
90
91
92
...
374
Please enable JavaScript to continue using this application.