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
Lei Angelique Hernandez
Level 2
Makati
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
How to call in main method twice?
How to call in main method twice?
13.11.2018
3307
views
6
comments
0
Tomasz
Level 13
Warsaw
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
What is wrong
Can somebody help me to find what is wrong? Im using "max" to find index of longest string, and "count" to check how many times i should display it (if there is more than 1 longest string). It works fine with: a aa aaa aaaa aaaa
05.06.2019
1615
views
3
comments
0
Baljinder Singh
Level 20
Toronto
Question about the task
Cats
Java Core
,
Level 4
,
Lesson 4
Resolved
What's the problem here ?
21.09.2018
2140
views
6
comments
2
Igor
Level 20
Nis
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Resolved
It is not working
What am I overseeing?
19.07.2019
1272
views
2
comments
0
nagabenang
Level 6
Bekasi
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
The answer is wrong but why the lesson consider it right?
The right answer should be 6, right? But this lesson consider 5 as true anyway. And now the code won't work. I think this solution broke the verification process of this lesson.
19.07.2019
1189
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
One condition,guys
Need help
29.06.2019
1296
views
2
comments
0
Alex Dumitriu
Level 17
Bucharest
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Any idea what I'm missing here? Thx
public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList mainList = new ArrayList<>(); ArrayList list2 = new ArrayList<>(); ArrayList list3 = new ArrayList<>(); ArrayList lastList
20.05.2019
1309
views
5
comments
0
hidden #10463947
Level 7
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
ANSWER
package com.codegym.task.task04.task0442; /* Adding */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here int a = 0; int sum = 0; Scanner scan = new Scanner(Sy
14.06.2019
1337
views
5
comments
2
Neha Anjum
Level 6
Hyderabad
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
.....?????
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int sum = 0; boolean isExit = false; while(true) { String s = reader.readLine();
21.09.2018
1631
views
3
comments
0
satya vath
Level 9
Mumbai
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Please help me
package com.codegym.task.task07.task0711; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Remove and insert */ public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList
23.11.2018
2046
views
7
comments
0
Robert
Level 9
Lombard
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Resolved
I can not get this to verify
I have read through all the other questions and can not figure out why this will not pass. In my test file it prints correctly, it has no spaces at the end. I have used Math.round to round my numbers. It still will not pass verification.
18.07.2019
1552
views
2
comments
0
Bazuka
Level 19
Krakow
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Hello can u tell me what's wrong?
public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { int number1 = (5+4+6); return number1; } }
17.07.2019
1650
views
5
comments
0
Michał Kwaśny
Level 22
Krakow
Question about the task
Robot wars
Java Core
,
Level 3
,
Lesson 11
Resolved
Need help :)
I have no idea what is not correct. Can anyone shed some light on it?
19.07.2019
1375
views
2
comments
0
ddi
Level 18
Dortmund
Question about the task
The code won't compile…
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Can´t find the failure, what am i missing?
Can´t find the failure, what am i missing?
19.07.2019
1550
views
2
comments
0
Naveen Dangra
Level 8
Rasipuram
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
why it is not verifying the last one?
package com.codegym.task.task07.task0728; import java.io.BufferedReader; import java.io.InputStreamReader; /* In decreasing order */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(Sys
18.07.2019
1306
views
2
comments
0
Antonia
Level 10
Question about the task
Cat and statics
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
??wrong??
?
19.07.2019
1582
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Under discussion
One condition pls
Help me
28.06.2019
1315
views
1
comment
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Cannot solve something wrong
Please show......
08.07.2019
987
views
3
comments
0
Marek Swiderski
Level 14
Lucan
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
Why does it say FileInputStream and BufferedReader not closed?
Hi, Can you please help me with this task? I implemented the .close() method on all the IO objects but it still doesn't verify. When I run it in IntelliJ the program works, reads the file I input, and prints its content. There is no errors. Thank you.
17.07.2019
1667
views
2
comments
0
Divakar Reddy
Level 15
Nandyal
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
getting output correct but not satisfting the conditions
code is working but not satisfying conditions
03.07.2019
1234
views
3
comments
0
Akshay Y Shirsat
Level 7
Mumbai
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Resolved
what is the issue in this code?
can you tell me where I am making an error?
25.08.2018
2512
views
11
comments
0
Suyash
Level 2
Pune
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
what is wrong with my sollution? why am I getting syntax error that I am missing return statement? what is the correct solution?
the error that I am getting: com/codegym/task/task02/task0216/Solution.java:16: error: missing return statement } ^
08.07.2019
1235
views
5
comments
0
Hossein Shams
Level 1
Atlanta
Under discussion
Games: Mine Picker; issue with section 6 => My code is being rejected by the server
This is how I implemented getNeighbor() method, but apparently, there's a problem with it. Can anyone please tell me what's wrong? I'm getting an error with the third condition: • The countMineNeighbors() method should, for each non-mined cell in the gameField matrix, count the number of adjacent mi
15.07.2019
1461
views
3
comments
0
MBC
Level 14
Apeldoorn
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Problem with last test requirement
Hi, I seem to be getting the correct output when printing but the last test requirement keeps failing.
14.07.2019
1364
views
6
comments
0
JeRiF94
Level 22
Baku
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Under discussion
Please help
I've solver first CRUD ; The problem in second , I make the same logic with comment , but it not advantage;
15.06.2019
1173
views
1
comment
0
Joseph
Level 22
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Can't figure this out
It works but it doesn't pass testing. I've tested it before verify and it's adding as well as adding in -1 before closing.
16.07.2019
1413
views
1
comment
0
John Michael Montuya
Level 10
Cebu City
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Why is my code failing the last part of verification? Everything checks out but " The displayed result should match the task conditions for any input data. " Please help :(
19.05.2019
2065
views
9
comments
0
Thebe
Level 7
Benares
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Finding shortest strings
Why is 1st and last requirement are not being fulfilled .
06.03.2019
2909
views
5
comments
0
Yusra Ansari
Level 9
Karachi
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
My first two conditions are not verifying Can someone please explain
My first two conditions are not verifying Can someone please explain
24.09.2018
1558
views
13
comments
0
yara
Level 8
St.gallen
Question about the task
What sort of list is that?
Java Syntax
,
Level 7
,
Lesson 6
Resolved
hopeless
No idea what I'm doing wrong. Does somebody have an idea? Thank you!
18.06.2019
1434
views
3
comments
0
Show more
1
...
296
297
298
299
300
...
371
Please enable JavaScript to continue using this application.