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
Wojtek
Level 23
Solec-Zdroj
Question about the task
Flip the array
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
what is wrong here
need hint
1/8/19
1678
views
2
comments
0
Ferd
Level 4
Dresden
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is wrong
What is wrong in my code?
5/8/19
1946
views
8
comments
0
Dona
Level 7
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Resolved
error last condition
how can i do this?
5/21/19
1469
views
3
comments
0
satish
Level 15
kadapa
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
how to call a constructor within a constructor
iam not understnading how to solve this
5/22/19
1819
views
3
comments
0
Nithin
Level 35
Hyderabad
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
what is wrong with this code
this is not passing the 3rd condition package com.codegym.task.task07.task0705; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; import java.util.Arrays; /* One large array and two small ones */ public class Solution { public static void main(Stri
5/23/19
1890
views
2
comments
0
Aniket Dwivedi
Level 8
Delhi
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
last condition unsatisfied
it says make sure that your code works for numbers that are equally distant to 10. although it works on my pc.
11/28/18
1877
views
4
comments
2
Nastya
Level 12
Belgorod
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
What's wrong?
It works, but does not pass verify
5/23/19
1444
views
3
comments
0
JeRiF94
Level 22
Baku
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
I think so long and I give up
This my code:
4/12/19
1563
views
7
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
UnsupportedFileName
Java Core
,
Level 8
,
Lesson 8
Resolved
What is The Error
Please Help..
4/19/19
1841
views
1
comment
0
Godwin
Level 14
Sango
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Please help me, the code runs according to the task conditions but it is not verifying.
I spent a lot of time testing the code with different inputs, i got it to run according to the task conditions but it still fails to verify. I am out of options, i need your help caring Java community. Thanks.
5/22/19
2041
views
3
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I think I made a mistake somewhere...
I really don't know why its not working help?
5/23/19
1224
views
3
comments
0
Amber
Level 12
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Can someone please explain initializing variable?
I seem to understand what to do for all of them except for "The class must have a constructor that takes a name and age as arguments, and initializes all variables except the address." I don't get why for this one the code is just the two variables and not the others, when it says to initialize all
5/14/19
2001
views
3
comments
0
dean
Level 8
Deutschland
Question about the task
Move one static modifier
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
i passed but i dont understnad the logic here
what's the program tried to do/achieve? i dont get its purpose here.. would appericate if you can explain what's going on here :)) package com.codegym.task.task07.task0725; /* Move one static modifier */ public class Solution { public final static int A = 5; public final static int B =
5/23/19
1478
views
1
comment
0
Antriksh singh
Level 5
Headingley
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
why i am getting this error "Be sure that you haven't mixed up the order of reading in the name and number from the keyboard. Check the conditions." if i change the sequence of Years and Name error is resolved.
if i change the sequence of Years and Name in program error is resolved.
5/23/19
1721
views
1
comment
0
Deepak Singh
Level 9
New Delhi
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
verification problem
I'm having some problems with the verification part, i.e. this condition -> "The fix method should remove all words containing the letter "r" from the list. There is an exception: words containing both "r" and "l" should be left alone." If there is some problem with the code to fulfil the require
5/5/19
1605
views
6
comments
0
dean
Level 8
Deutschland
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
help please
whats wrong
5/23/19
1685
views
3
comments
0
Brandon
Level 7
Houston
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Failing test even though it matches task conditions. Why?
I've run and tested this code over and over and it seems to me to match the task conditions, however its not passing the tests? Does anyone know why?
5/22/19
1382
views
5
comments
0
Djole
Level 41
Belgrade
Question about the task
MVC (part 3)
Java Multithreading
,
Level 4
,
Lesson 14
Resolved
Do you have the same problem with verifying the last condition?
public class UsersView implements View{ private Controller controller; @Override public void refresh(DataModel dataModel) { System.out.println("All users:"); for(User user : dataModel.getUsers()){ System.out.println("\t" + user); } //dataModel
4/16/19
1566
views
4
comments
0
Ankush Rajput
Level 25
Bhopal
Question about the task
What sort of list is that?
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Why the program doesn't work ? it passes when i use add() but not with set(). Throws array-out-of bounds exception. The list isn't getting initialized to capacity 5.
package com.codegym.task.task07.task0707; import java.util.*; /* What sort of list is that? */ public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList string = new ArrayList(5); string.set(0,"r1");
9/6/18
2088
views
6
comments
0
Finn
Level 11
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Please Help - third test fails!
My code is not passing the third test even if it works correctly in the IDE
5/22/19
1468
views
2
comments
0
dean
Level 8
Deutschland
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
immeditate initialize error
immediate initialize error:
5/23/19
1843
views
3
comments
0
Djole
Level 41
Belgrade
Question about the task
2048 (part 13)
Java Multithreading
,
Level 10
,
Lesson 15
Resolved
i was sure about this one, but failed 2nd requirement
... if(model.canMove()) view.isGameLost = true; ... case KeyEvent.VK_R: model.randomMove(); break; ...
5/21/19
1291
views
3
comments
0
Ash Ka
Level 13
Calgary
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Resolved
The last step of verification fails
What's the mistake here
5/22/19
2102
views
3
comments
0
Pioniio
Level 22
Schaffhausen
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Solution seems to work in Intellij but Verification fails
Helo My solution seems to work fine, i get double values each on new line. Am I missing something here? please help, thanks
5/22/19
2353
views
3
comments
0
Serghei
Level 3
Balti
Question about the task
Time conversion
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
Where i make a mistake?
public class Solution { //write your code here public static convertToSeconds(int hour) { int s = hour * 3600; return s; } public static void main(String[] args) { //write your code here System.out.println(convertToSeconds(1)); System.out.prin
3/7/19
2061
views
5
comments
0
MultiZero
Level 13
Torino
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Everything works exactly as instructed but cannot verify?
Can somebody explain why the last condition is not met although the output text and result are exactly the same as in the example output?
5/22/19
1541
views
5
comments
0
dean
Level 8
Deutschland
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
java heap memory
error
5/22/19
1858
views
9
comments
0
dean
Level 8
Deutschland
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
why i fall most tests?
why i fall most tests?
5/22/19
1701
views
11
comments
0
Deepak Joshi
Level 17
Nainital
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
What is the reason?
5/1/19
1460
views
1
comment
0
Jishnujith
Level 7
Bengaluru
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Whats wrong with code? I'm getting output correctly, but not verifying
I'm getting output correctly, but not verifying
5/22/19
1718
views
2
comments
0
Show more
1
...
321
322
323
324
325
...
374
Please enable JavaScript to continue using this application.