Promotion
CodeGym University
Learning
Course
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
Nishant Bhatia
Level 13
Navi Mumbai
Question about the task
Snake (Part 17/20)
Games
,
Level 0
,
Lesson 1
Resolved
What is the bug?
Problems with createNewApple() method.
20.07.2019
958
views
3
comments
0
fran
Level 14
Cordoba
Question about the task
The isomorphs are coming
Java Core
,
Level 2
,
Lesson 12
Resolved
I really don't know how to verify the fourth condition
I complete the task but i can't verify the specific condition and get an error when validate the code.
13.02.2019
1580
views
4
comments
1
Yash
Level 15
Sugar Hill
Question about the task
What sort of list is that?
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Right output not accepted
My output is correct but is not accepted.
29.05.2019
1484
views
3
comments
0
Steve
Level 9
Denver
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
My "love" is not getting printed twice???
else if(x.indexOf('l')!=-1){ list.add(i, x); i++; }
20.07.2019
1138
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Move one static modifier
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Help with access modifiers
I solved the task relatively easily; however, I feel that my understanding of access modifiers is pretty fuzzy. If anyone can suggest any resources with a clear explanation of this concept, i'd appreciate it.
20.07.2019
1215
views
2
comments
0
Jay
Level 17
Washington
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Struggling with this one
When I run my program, it's not duplicating the word "love" even though I added to the list(at least that's what I thought I did). What is the problem? Thanks in advance.
19.07.2019
981
views
2
comments
0
vish
Level 3
Bangalore
Question about the task
Calculate the circumference of a circle
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Can anyone help with code?
public class Solution { public static void main(String[] args) { printCircleCircumference(5); } public static void printCircleCircumference(int radius) { radius = 5; double pi = 3.14; double C = 2*pi*radius; System.out.println(C);
12.07.2019
1946
views
3
comments
0
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
3079
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
1389
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
1973
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
1124
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
1007
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
1163
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
1141
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
1173
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
1458
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
1785
views
7
comments
0
Robert
Level 27
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
1424
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
1413
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
1214
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
1372
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
1158
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
1451
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
1162
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
837
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
1447
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
1093
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
2264
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
1071
views
5
comments
0
Hossein Shams
Level 26
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
1215
views
3
comments
0
Show more
1
...
291
292
293
294
295
...
367
Please enable JavaScript to continue using this application.