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
hidden #10480780
Level 20
Question about the task
Output only digits
Java Core
,
Level 9
,
Lesson 8
Under discussion
Where am I wrong? The output of the given source code is 12345678 like the requested.
I do not understand, because the produced console output is the same as the defined output. I have tried with iteration and Stringbuilder but it did not work either, and lot of another methods.
11.07.2019
1664
views
4
comments
0
Tony Roy
Level 41
Victorville
Resolved
IntelliJ running stuck on running wrong task??
So I completed task 0820. It compiled and passed verification. But now, for everything I try -- the next task and ones before, intelliJ reverts to compiling task 0820 C:\IDEA projects\CodeGymTasks\1.JavaSyntax\src\com\codegym\task\task08\task0820\Solution.java and gives an error for it. It als
05.03.2020
819
views
3
comments
0
Jakhongir Ruziev
Level 23
Tashkent
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Help me please. I cannot figure out the issue here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int maximum = MIN_VALUE; int n = Integer.parseInt(reader.readLine()); if (n>0) { for (int i = 0; i < n; i++) { int num = Integer.parseInt(reader.readLine());
05.04.2020
1576
views
6
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Tom, Jerry and Spike
Java Core
,
Level 3
,
Lesson 6
Under discussion
No Idea
I have no Idea why my code is not passing!!!
07.04.2020
697
views
1
comment
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
I am getting the correct output
The last two tasks are not validated!!
06.04.2020
1052
views
2
comments
0
hidden #10550504
Level 10
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
The result is right , what is wrong??
thank's everyone for your help
07.04.2020
984
views
2
comments
0
MecoS
Level 16
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
I didn't understand what is the probmem.
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
07.04.2020
885
views
1
comment
0
Teodor Clipa
Level 41
Bucharest
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Second verification fails
Can't see the reason this fails. Is the checker doing something wrong?
07.04.2020
808
views
3
comments
0
Thango Ö
Level 9
Chennai
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Haa
Help me out..
28.01.2019
1654
views
5
comments
0
Premachandran
Level 35
Ernakulam
Question about the task
Restaurant (part 19)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Though I get correct console output the task is not passing verification. What may be the reason?
The conditions are not passing verification. Please help.
12.03.2020
894
views
1
comment
0
HaeWon Chung
Level 17
Boston
Question about the task
Minesweeper (Part 4/16)
Games
,
Level 0
,
Lesson 0
Resolved
IntelliJ doesn't run the code
Is it suppose to create 9X9 grid? When I run it, it doesn't do anything and just wait. But if I click verification, it somehow verifies the task and give me pass (or fail). I have intentionally commented last line so that it doesn't pass the verification and allow me to attach my code. IntelliJ had
06.04.2020
2167
views
7
comments
0
Erhan H.
Level 23
Istanbul
Question about the task
Stranger things
Java Core
,
Level 10
,
Lesson 2
Under discussion
Help please
Help please
02.12.2019
1204
views
1
comment
0
Adam Maichrzik
Level 22
Katowice
Question about the task
Following a pattern
Java Core
,
Level 6
,
Lesson 13
Resolved
Output seems to be correct - need help.
As in the title
03.04.2020
1105
views
4
comments
0
Pablo Souza
Level 22
Brisbane
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Code not working
Hey folks my IntelliJ is displaying everything as requested but I'm getting this error. I don't understand because IT IS DISPLAYING all strings.
26.03.2020
1217
views
3
comments
1
LucGar
Level 22
Bilbao
Question about the task
What sort of list is that?
Java Syntax
,
Level 7
,
Lesson 6
Resolved
I know, but i want to know
I know i have to use the Integer "a" in the loop for. But, why if i use other Integer "b" the loop dont work?
26.12.2019
1367
views
2
comments
0
Jonas
Level 41
Vilnius
Question about the task
Collections & Generics
Java Collections
,
Level 5
,
Lesson 6
Resolved
What is it asking for?
Mentor says: 1. The newArrayList method must return an ArrayList. 2. The newHashSet method must return a HashSet. 3. The newHashMap method must return a HashMap. I think I return them, so what's wrong in my code?
24.03.2020
1116
views
4
comments
0
Mansoor Mujawar
Level 23
El Paso
Question about the task
Combining files
Java Core
,
Level 8
,
Lesson 11
Resolved
Please help. Don't know what's wrong with code? I got expected result, but still getting validation #4 and #5 getting wrong.
package com.codegym.task.task18.task1819; /* Combining files */ import java.io.*; public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String file1 = reader.readLine
04.04.2020
1396
views
3
comments
0
Kobi Shasha
Level 11
Nahariyya
Question about the task
Minesweeper (Part 8/16)
Games
,
Level 0
,
Lesson 0
Resolved
The createGame() method must set the countFlags field equal to countMinesOnField.
Hey, In line 53 I think it should met expectations. Anyone can assist?
06.04.2020
1047
views
2
comments
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Too much too many
When I print out the values if there is new line "println" verification says that there are too many, if I use "print" says there are too few. DFQ?
03.05.2019
1688
views
14
comments
0
Madhu Prabha
Level 7
Gurgaon
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
What is the error?
What is the error in the code?
06.04.2020
873
views
1
comment
0
andy 6473
Level 9
Bangalore
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
help
Scanner sc = new Scanner ( System.in ); int i = sc.nextInt (); int j = sc.nextInt (); int k = sc.nextInt (); int temp1; // int temp2; if(i
06.04.2020
4085
views
2
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
The isomorphs are coming
Java Core
,
Level 2
,
Lesson 12
Under discussion
not sure what's wrong
I've tried to use methods native to arrays to solve this. I am not sure where this is going wrong. the problems lies in line 26 i believe.
06.04.2020
948
views
2
comments
0
Jack
Level 4
Yerevan
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
No context...
It didn't tell me anything about converting or anything and BLAM do it anyone have any hints to what i can do?
05.04.2020
1163
views
7
comments
0
Henry Yao
Level 22
Pasadena
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
not output , very confuse
pass all the requirement without output It's should like: Apple 22 Bob 3 Cherry 1 0 Watermelon But just red color Exception, like NullPointer..... below it's my sort code, can some one find any problem? (I think it's in number sorting, but I can not locate it) Appreciate your help !!! ========
02.04.2020
1100
views
3
comments
0
priss
Level 18
Roosendaal
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
help me with good logic
06.04.2020
808
views
1
comment
0
Jack
Level 4
Yerevan
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Resolved
Loops?
I don't understand, i tried with loop, but it still prints it only 1 time, hmmmm what to do... what to do...
05.04.2020
866
views
2
comments
0
hidden #10600580
Level 9
Under discussion
issues running program on intelliJ
everytime i load up a new task to complete on intelliJ, whenever i try to run the new code for the new task theres always an issue because another task is automatically being ran aswell. it opens up an older task and attempts to run that
06.04.2020
763
views
1
comment
0
Alison F Converse
Level 2
New York City
Question about the task
Uh... Happy New Year!
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
help
how to reset work space?
23.03.2020
1010
views
2
comments
0
IVAN
Level 17
Milan
Question about the task
OOP: Books
Java Core
,
Level 5
,
Lesson 2
Resolved
I can't understand the problem
Please, can someone help me!?
05.02.2020
1260
views
2
comments
1
Evghenii Seremet
Level 41
London
Question about the task
What is ClassLoader?
Java Collections
,
Level 5
,
Lesson 10
Under discussion
Can't see why it doesn't accept the code.
I think it does what it asks for. Can someone point what the problem is?
16.02.2020
1047
views
0
comments
0
Show more
1
...
214
215
216
217
218
...
372
Please enable JavaScript to continue using this application.