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
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?
8/25/18
2680
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 } ^
7/8/19
1380
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
7/15/19
1592
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.
7/14/19
1476
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;
6/15/19
1276
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.
7/16/19
1538
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 :(
5/19/19
2238
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 .
3/6/19
3058
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
9/24/18
1686
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!
6/18/19
1532
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Don't forget to encapsulate
Java Core
,
Level 1
,
Lesson 8
Under discussion
Pls me with this(
help me pls, i am tired( give me the solution for my understanding
6/22/19
1231
views
1
comment
0
Sargam
Level 3
Aligarh
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
can't resolve the typo
I really don't see anything wrong with this code.Help
10/16/18
1255
views
6
comments
0
hidden #10465081
Level 24
Question about the task
Writing to an existing file
Java Collections
,
Level 2
,
Lesson 2
Resolved
Doesn't verify
Hi all, my code fulfills the conditions and I've done multiple checks. Can't see where the mistake is, please help if you can. Thank you
7/16/19
1349
views
1
comment
0
Jay
Level 17
Washington
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Help needed
What am I doing wrong? Edit: lines 28-34 aren't there. And the if statement is inside the first for loop which uses i as a counter;
7/16/19
1813
views
7
comments
0
Topor Dániel Bálint
Level 9
Targu-Mures
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Can anyone help me?
I wrote System.out and didn't show any console output
7/17/19
1221
views
2
comments
0
Voris
Level 10
Tashkent
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Why nothing displayed on the screen?
package com.codegym.task.task10.task1019; import java.io.*; import java.util.HashMap; import java.util.Map; /* Functionality is not enough! */ public class Solution { static HashMap map; static String name; static Integer id; public Solution(){
7/17/19
1430
views
1
comment
0
Shubham Sharma
Level 4
JAIPUR
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
what is the mistake
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.ou
7/17/19
1730
views
1
comment
0
Hashirama
Level 26
Port-Harcourt
Question about the task
How to avoid Copy+Paste
Java Multithreading
,
Level 4
,
Lesson 6
Under discussion
Helper
Please a little help here.
7/17/19
1242
views
1
comment
2
Сергей
Level 24
Kryvyy Rih
Question about the task
Calculator
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
What's wrong with percent method?
It shows: 13 1 42 3.5 16.666666666666668 but I can't finish the task
7/16/19
1425
views
2
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Numbers are displayed in decreasing Oder failing verify
3/8/19
1691
views
5
comments
0
Adnan Razzaq
Level 15
Bamberg
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
giving correct output but not verfiying.please help
package com.codegym.task.task07.task0728; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Collections; /* In decreasing order */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader
6/29/19
1479
views
4
comments
0
Jay
Level 17
Washington
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Reading from keyboard
I completed the task successfully; however, my question is about reading from the keyboard. Initially, I wasn't meeting the requirement because my loop to read Strings from the keyboard was greater than 8. However, I only entered Strings via the keyboard. Why is this not considered reading 8 Strings
7/16/19
1842
views
1
comment
0
Anita Pal
Level 14
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
please help me to solve this error
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { int m1; if(min(a,b)=a && min(a,b)<=c && min(a,b)<=d) { m1 = a; } else if(min(a,b) =b &&am
7/16/19
1605
views
1
comment
0
Anita Pal
Level 14
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
i am not able to understand the error
package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //Man man,Woman woman; Man man = new Man(); woman = man.wife; Woman woman = new Woman(); woman.husband = man;
7/15/19
1381
views
4
comments
0
Сергей
Level 24
Kryvyy Rih
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
What's wrong?
In IntelliJ IDEA I have an error when I enter the number 12345678912. I can't understand why.
7/15/19
1346
views
2
comments
0
Zserbo
Level 22
Budapest
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Resolved
I get correct result but won't verify
Could anyone help me with this?
7/16/19
1361
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Restaurant
Java Core
,
Level 7
,
Lesson 10
Under discussion
Last condition pls
Need help
6/28/19
1560
views
1
comment
0
Serg
Level 23
Tyumen
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why the error?
Why the error, if the output correctly Am Ham I Ham Sam Ham public class Solution { public static void main(String[] args) throws Exception { BufferedReader a = new BufferedReader(new InputStreamReader(System.in)); ArrayList str = new ArrayList<>(); str.add(
5/27/19
2293
views
4
comments
0
hidden #10444738
Level 16
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
my code works but fails wtf!
My code does exactly what is asked, yet it fails!
7/16/19
1256
views
2
comments
0
Deep Maheshwari
Level 10
Nanded
Question about the task
Set of cats
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
My code seems to be correct and creative and even prints correct output but.......
Here i removed a common cat of class but still ,last one didin't verify.....
7/16/19
1758
views
1
comment
2
Show more
1
...
299
300
301
302
303
...
374
Please enable JavaScript to continue using this application.