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
All quests
All levels
Any status
Questions about tasks
Hot
Jurij Thmsn
Level 29
Flensburg
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
Too few lines?
The program displays exactly what is written in the used .txt file (One line of text) but the validation says " The program displays too few lines". I tried System.out.println as well... Anyone knows whats wrong? Thanks in advance :)
17.02.2021
650
views
6
comments
0
Daniel Whyte
Level 17
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Collections
The task wants me to iterate through the list but if I was allowed to use collections would this display the max and min (length)?
16.02.2021
433
views
2
comments
0
Zach
Level 22
Fort Collins
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
How do you change String to Integer class?
I would like to use an array list for this task but have noticed that using the usual Integer.parseInt(reader.readLine()) changes a string into the primitive int instead of an Integer. How do you change it to an Integer? Thanks
16.02.2021
877
views
1
comment
0
EugeneEmory
Level 8
San Antonio
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
help?
I nested the for loops like this and it does work but the verifier doesn't like it. Can anyone help me clean it up?
16.02.2021
631
views
1
comment
0
Christopher Berg
Level 7
Under discussion
Intelli Jidea - Kompilieren??
HI, ich habe eine Frage zu IntelliJ idea. Wenn ich bearbeite zum Beispiel Aufgabe 318 und erstelle den Quelltext und möchte meine Code ausführen lassen. Wenn allerdings auf "Run" bzw auf Rebuild klicke führt er immer Aufgabe 314 aus, die ich Zufuhr gelöst habe aus. Ich arbeite immer in der Sol
16.02.2021
571
views
1
comment
0
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?
16.02.2021
489
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?
16.06.2019
2178
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?
15.02.2021
544
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?
15.02.2021
719
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?
14.02.2021
611
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?
29.04.2020
1076
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.
12.02.2021
446
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
14.02.2021
547
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?
14.02.2021
740
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
13.02.2021
453
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!
19.09.2020
483
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
14.10.2020
721
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 =
13.02.2021
589
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++)
13.02.2021
435
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
13.02.2021
422
views
1
comment
0
Josephine
Level 26
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
15.12.2020
504
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.
12.02.2021
546
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
12.02.2021
411
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
08.09.2020
585
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
07.06.2019
1862
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<>();
02.02.2021
400
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?!?!?!
11.02.2021
416
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
27.11.2020
930
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?!
09.02.2021
394
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?
11.02.2021
576
views
8
comments
0
Show more
1
...
85
86
87
88
89
...
371
Please enable JavaScript to continue using this application.