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
Hadiqa
Level 8
Lahore
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Please help identifying the problem.
When I run my code, it works perfectly fine. It also fulfills all the conditions but somehow it's not verifying.I can't see where the problem is. Please help to identify it.
25.01.2019
1674
views
4
comments
0
Alexey
Level 7
Chernihiv
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
not valid code(( help me pls.
what i've done wrong? I cant understand. Help me please.
19.03.2019
1321
views
8
comments
0
Swati
Level 8
Pune
Question about the task
Method quartet
Java Syntax
,
Level 8
,
Lesson 6
Resolved
verification gives error
please help
30.01.2019
1644
views
4
comments
0
Johnson Jose
Level 10
Edinburgh
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
What is wrong with my fix method?
I don't get why my logic doesn't work
21.05.2019
1137
views
4
comments
0
Djole
Level 41
Belgrade
Question about the task
2048 (part 6)
Java Multithreading
,
Level 10
,
Lesson 15
Resolved
bugged??
private boolean mergeTiles(Tile[] tiles){ //consolidateTiles(tiles); boolean madeChanges = false; for (int j = 0; j < 3; j++) { if (tiles[j].value == tiles[j + 1].value) { tiles[j] = new Tile(tiles[j].value * 2); tiles[j + 1] =
20.05.2019
1264
views
2
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
This weird BigDecimal
Java Multithreading
,
Level 9
,
Lesson 9
Resolved
Bugged?
Or am I missed something?
20.05.2019
1294
views
3
comments
0
Naizak
Level 9
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
I can't find the problem.
Why the remove method does not work?
20.05.2019
1429
views
2
comments
0
Haither
Level 4
Bangalore
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Resolved
What is the issue here ????
package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { //write your code here double a = i*10/100; double tage = i + a; return tage; } public static void main(
16.05.2019
1799
views
10
comments
0
Thomas
Level 12
Scottsdale
Under discussion
Level 3 Display The Right Way ---- Stuck --- please have a look -- -THX
I have tried many different ways ... see commented out code public static void main(String[] args) { a = "Hello, "; b = "Amigo!"; printString("Hello, Amigo!"); // printString(s); // printString(a + b); } public static void printString(String s)
20.05.2019
950
views
1
comment
0
hidden #10451198
Level 14
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Thats isn't working
What here is wrong?
17.05.2019
1483
views
2
comments
0
satish
Level 15
kadapa
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
what is error
whats the problem in my code
21.05.2019
1167
views
1
comment
0
dean
Level 8
Deutschland
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
My code not pass...
What's wrong here it seems just fine to me...?
21.05.2019
1223
views
3
comments
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
It verified, then updated for some reason, and won't update again (with the same code) for some reason
WHY
17.12.2018
1207
views
6
comments
0
ann
Level 4
Dusseldorf
Question about the task
The humble programmer
Java Syntax
,
Level 3
,
Lesson 8
Resolved
I have a typo
The program compiles, but it doesn't verify
04.12.2018
1801
views
4
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Can't fing typo
Hi, please some advice, the mentor suggests that i have a typo, but I can't see it. Thanks.
30.09.2018
1935
views
5
comments
1
Kisszol
Level 15
Toeroekbalint
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
I have tried everything, but the System always complains
Saluton Kollegoj, I have created the program eg. and the system complains, however I get exactly the String it's requires: What is the problem with my code ? The systams tells: Checked the program displays only the required string and nothing else. ************************************************
21.02.2019
1958
views
5
comments
1
Suhas Digambare
Level 7
Kolhapur
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
task03.task0318 - Plan to conquer the world
i tried it both way by using Scanner and BufferedReader but it doesnt work i've got following error java.lang.NumberFormatException: Solution.java, method main, line: 17 Error converting a string to a number (invalid format). plz help me how to solve
29.10.2018
2303
views
15
comments
0
parth shah
Level 3
Mumbai
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
what exactly codegym is trying to explain here ?
i have just printed s here in the called method & its verified too. it looks like i m missing some point here which they are explaining
01.12.2018
1463
views
6
comments
0
hemant
Level 8
prayagraj
Question about the task
Don't feel like it? Do it anyway.
Java Syntax
,
Level 1
,
Lesson 8
Resolved
is there any smaller way than using System.out.println() 16 times
is there any smaller way than using System.out.println() 16 times
30.03.2019
1308
views
10
comments
0
divya
Level 5
hyderabad
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Resolved
rainbow
can anyone explain this "Yellow yellow = new Yellow();" clearly what happen other than creating object
13.11.2018
1492
views
1
comment
1
Thomas
Level 12
Scottsdale
Question about the task
Product of 10 numbers
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Thoughts on Product of 10 Numbers ?? I am stumped using different ideas
public static void main(String[] args) { int a = 1*2*3*4*5*6*7*8*9*10; System.out.println(a); // int b = b * a; // for(int a = 1; a <= 10; a++) { // System.out.println(a); } public static int bigProduct(int
19.05.2019
2508
views
3
comments
0
Connor
Level 8
Boston
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Decreasing order?
SO should I have just made this for (int i =19; i > 0; i--){ array[i] instead of actually reversing the whole order of it?
15.05.2019
1417
views
4
comments
0
Cinthya Cabanzo
Level 22
Bogota
Question about the task
Set of cats
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Prints 2 Cats in different line but fails verification
Hi team, Please, you can help me? I run the program and prints 2 cats each one in a different line, but the verification says that "The Solution class's printCats() method must display all the cats in the set. Each cat on a new line.
20.05.2019
1668
views
1
comment
0
JeRiF94
Level 22
Baku
Question about the task
Horse racing
Java Core
,
Level 6
,
Lesson 5
Archived
Mistake or not
Please check this code out , it says that program ran too long and was closed! Help me please;
16.05.2019
967
views
2
comments
0
SilverZax
Level 18
Poltava
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Under discussion
Can't pass second condition.
Can't pass second condition.
12.05.2019
976
views
3
comments
0
past cham
Level 6
Delhi
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
pls help
how to slove
18.05.2019
1134
views
2
comments
0
Mohamed Nagy
Level 7
Alexandria
Question about the task
Chain letter
Java Syntax
,
Level 4
,
Lesson 13
Resolved
please whats wrong it's so simple and there is no problem why never verify
please help me out
20.05.2019
1406
views
3
comments
0
Henk
Level 19
Pretoria
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Cannot continue, please help!
"runs too long". Not sure how infinite loop is created if I explicitly check for it.....
17.05.2019
1093
views
2
comments
0
Swati
Level 8
Pune
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
getting error
the error as: An attempt was made to access an uninitialized object(null)
17.01.2019
1312
views
5
comments
0
Sean
Level 24
Phoenix
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
What am I missing?
This will output the correct answer for the test input in the conditions and anything else I have thrown into it. I take into account possible negative numbers entered by the user, and it outputs the correct answer, but I keep getting told the "displayed text must match the task conditions." The c
26.03.2019
2020
views
12
comments
0
Show more
1
...
315
316
317
318
319
...
366
Please enable JavaScript to continue using this application.