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
Thomas
Level 13
Scottsdale
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Ideas ?? Lucky 7 7 7 output is quirky between 50 && 100 --- I am Stuck !
if(a > 50 && a < 100){ System.out.println("The number "+ a +" is not in the interval."); } else System.out.println("The number "+ a +" is in the interval.");
24.05.2019
1581
views
3
comments
1
Johnson Jose
Level 10
Edinburgh
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Last condition failing
Is something wrong with my logic? Please help.
24.05.2019
1232
views
2
comments
0
romeo
Level 5
Paramaribo
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Can someone please explain why this worked?
How can m1 = m2, if m1= min(c, d) and m2 = min(a, b)? obviously they are not equal to each other... I'm very lost. public static int min(int a, int b, int c, int d) { //write your code here int m1 = 0; int m2 = min(a, b); if (c < d) m1 = c
22.05.2019
2188
views
7
comments
0
Azja
Level 32
Krakow
Question about the task
Your own enum
Java Multithreading
,
Level 5
,
Lesson 2
Resolved
What is wrong?
It gives same output
24.05.2019
1326
views
1
comment
0
satish
Level 15
kadapa
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
what is the error
heip in finding error
24.05.2019
1272
views
1
comment
0
Roman
Level 8
Minsk
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What's wrong here ?
Program ran fine and checked with different inputs but task is failing verification
02.05.2019
1726
views
3
comments
0
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
08.01.2019
1590
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?
08.05.2019
1760
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?
21.05.2019
1393
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
22.05.2019
1670
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
23.05.2019
1781
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.
28.11.2018
1790
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
23.05.2019
1361
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:
12.04.2019
1458
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..
19.04.2019
1729
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.
22.05.2019
1925
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?
23.05.2019
1129
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
14.05.2019
1893
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 =
23.05.2019
1379
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.
23.05.2019
1599
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
05.05.2019
1485
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
23.05.2019
1601
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?
22.05.2019
1280
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
16.04.2019
1459
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");
06.09.2018
1988
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
22.05.2019
1384
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:
23.05.2019
1719
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; ...
21.05.2019
1207
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
22.05.2019
2011
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
22.05.2019
2244
views
3
comments
0
Show more
1
...
319
320
321
322
323
...
372
Please enable JavaScript to continue using this application.