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
ddi
Level 18
Dortmund
Question about the task
Turnip
Java Core
,
Level 3
,
Lesson 11
Resolved
Missing the last requirement help!
I am missing the last requirement can someone help me?
14.08.2019
1461
views
1
comment
0
CJ
Level 5
El Cajon
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Whats the problem with my code? Keeps failing last check
public class Cat { public int age; public int weight; public int strength; public Cat() { } public boolean fight(Cat anotherCat) { if (this.age <= anotherCat.age && this.weight >= anotherCat.weight && this.strength >= anotherCat.st
05.03.2020
878
views
2
comments
0
Johannes
Level 27
Centurion, Pretoria
Question about the task
Flip the array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
works when running, but not meeting task requirements for creating array ? Why ??
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int n,i; Integer[] iArray = new Integer[10]; for (i=0;i<10;i++){ n = Int
05.03.2020
941
views
1
comment
0
Dinesh
Level 7
Delhi
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I am not getting the proper output of First print statement
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { //write your code here int minimum; if ( a > b ) minimum = b; else minimum = a; if ( a >
02.03.2020
906
views
2
comments
0
Lelush
Level 7
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Why it doesnt verify?
pls help
15.12.2019
1697
views
5
comments
0
Arun
Level 17
Tirupati
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Executed Pogram
package com.codegym.task.task08.task0815;
05.03.2020
806
views
0
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
2048 (Part 6/18)
Games
,
Level 0
,
Lesson 2
Under discussion
I copied and pasted but do not get it to work. I have some specific questions about how certain code works
There are a couple of things I do not understand 1) How to add a color to the specific field? 2) should you use if statements or a a switch statement 3) why does it not accept the empty string "" in the setCellValueEx ? 4) I do not understand this part of the code: private void drawScene(){
01.03.2020
814
views
1
comment
0
Lgd
Level 20
London
Question about the task
Flip the array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
I must be making an elementary mistake here. output looks good but it passes validation. please help
why is the validation failing on the last item ? suggestions please
02.03.2020
849
views
5
comments
0
Lgd
Level 20
London
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Go to display output in reverse order. It looks ok but it wont validate
I set all elements to "" then read in 8 strings ok when it prints out it shows all ten elements in reverse order - starting with element [9] and element [8] as "" it wont validate . any suggestions please. many thanks
02.03.2020
866
views
3
comments
0
Lgd
Level 20
London
Question about the task
Flip the array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Please can anybody help with this ? the output looks fine, I stepped through in debug - looks good. but it wont pass validation
it says array is not displayed in reverse order
04.03.2020
949
views
3
comments
0
hidden #10362262
Level 9
Question about the task
Minimum number of statics
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
I got it to work, but need to understand fully how this works.
Can someone write another (though similar) example to show how this exercise is working? Thank you!
15.02.2019
1600
views
4
comments
0
null
Level 26
Orlando
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
I thought enum was also a java collection. This make it more simple than using ArrayList tho.
03.03.2020
864
views
1
comment
0
Van Ha
Level 41
Bodegraven
Question about the task
Arkanoid (part 18)
Java Multithreading
,
Level 3
,
Lesson 13
Resolved
calling draw on all bricks
Hi, When trying to call the draw method on all bricks with a for loop all conditions fail to verify, if I remove the for loop the first condition verifies. Am I overlooking something obvious?
04.03.2020
928
views
2
comments
0
Damodar Gopagoni
Level 11
Singapore
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
closest to 10
I am getting expected result, But system not accepting. Can some one review and support on this. Thanks
03.03.2020
1000
views
4
comments
0
Diana Pettit
Level 4
Mobile
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
I don't know why I'm not fulfilling all the requirements
Is this not a table? Are there not spaces between the numbers? Ami missing something?
12.01.2020
961
views
5
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
What am I doing wrong?
Hello, since we have not covered control statements (loops) yet; I tried to execute this problem based on the criteria set forth and the skills we've learned so far. Please see my solution below which has the following output: 1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 14 16 18 20 3 6 9 12
10.02.2020
840
views
6
comments
0
hidden #10589341
Level 19
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
why my code could not duplicate word "love"??????
my input is love lyre plz help me!
28.02.2020
848
views
5
comments
0
Goran
Level 41
Belgrade
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Bug in program that passed checking
ArrayList<String> list = new ArrayList<String>(); BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); for (int i=0; i < 10; i++) { list.add(reader.readLine()); } int last; int current; for (int
28.02.2020
704
views
1
comment
0
Art
Level 13
Chisinau
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Output as it supposed to be, but task won't get confirmed - as usually -,-
Where's the issue? Thanks alot.
01.03.2020
784
views
10
comments
0
Art
Level 13
Chisinau
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What am I missing here?
What am I missing here?
03.03.2020
736
views
1
comment
0
Anonymous #10410173
Level 22
Delhi
Question about the task
Computer
Java Core
,
Level 4
,
Lesson 8
Resolved
why constructor not accepting
where i am doing mistake... please help!!
03.03.2020
882
views
1
comment
0
Sindhura
Level 15
Delhi
Question about the task
Implement the printMainInfo method
Java Core
,
Level 4
,
Lesson 8
Under discussion
Help me please.Getting error
package com.codegym.task.task14.task1412; /* Implement the printMainInfo method */ public class Solution { public static void main(String[] args) { //Object obj = new Movable(); // Movable movable = (Movable) obj; // Rectangle drawable = new Rectangle(); Rectang
16.10.2018
1430
views
6
comments
0
shabarish kumar
Level 20
Hyderabad
Question about the task
2048 (Part 7/18)
Games
,
Level 0
,
Lesson 2
Under discussion
Unable to meet the 3rd requirement.
I have used Arrays.equals() method to check whether the row is changed or not. But it is unable to meet the requirement. Could anyone help me to resolve the issue.
21.08.2019
1239
views
2
comments
0
Fadi AlSaidi
Level 13
Carrollton
Question about the task
Compiling the program
Java Core
,
Level 3
,
Lesson 11
Resolved
no enclosing instance of type com.codegym.task.task13.task1325.Solution is in scope
how do I resolve this error? I get it when I inherit Fox
18.03.2019
2059
views
2
comments
1
Martin Evtimov
Level 22
Chicago
Question about the task
Neo
Java Core
,
Level 3
,
Lesson 11
Under discussion
I don't know Rick, It looks broken.
What am I doing wrong?
28.10.2018
1785
views
3
comments
1
Elvis Lee
Level 41
Aurora
Question about the task
Sokoban (part 15)
Java Collections
,
Level 10
,
Lesson 15
Resolved
Alexandre, you're not alone! I got the same problem!
The codes work perfectly with the requiremnet but failed the validator. It's always painful to guess what the validator wants, the comments from it are totally not useful.
28.02.2020
794
views
3
comments
0
Cam
Level 15
Bogota
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
what is wrong
Hello World! after giving it some thought, I came up with this code, my main problem here is that it apparently does not return the minimum value between the three numbers. Can someone please tell me why it is not working?
03.03.2020
909
views
1
comment
0
Hakkı Anıl Fındıkçıoğlu
Level 6
Ankara
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Infinite loop
I really couldn't figure out why am I in an infinite loop.
02.03.2020
696
views
2
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Returning the correct answer but still incorrect
Can someone help me figure out what I've done wrong?
02.03.2020
879
views
4
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
How come the copying of file worked in previous task but not in this one?
Does someone know why the same code works in the previous task but does not work in this one as it is the exact same task, same file only now in the form of a try-catch format. Maybe someone can explain the difference? Very much appreciated!!
20.02.2020
846
views
4
comments
0
Show more
1
...
220
221
222
223
224
...
367
Please enable JavaScript to continue using this application.