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
Gustav
Level 7
Sjoebo
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
This works for me but last condition not satisfied. Not allowed to use Arrays.copyOfRange?
public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int[] bigNumbers = new int[20]; int[] smallNumbers1 = new int[10]; int[] smallNumbers2 = new int[10]; for (int i = 0; i &
13.09.2020
343
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Two in one
Java Core
,
Level 8
,
Lesson 11
Under discussion
Please Help
Thanks In Advance
19.04.2019
983
views
2
comments
0
Slawomir I.
Level 15
Warsaw
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Under discussion
Could anyone can clarify it why do I need to cast person to Person.xxx to call method? It works but Intellij done that for me and I don't know why ;/
public static void doWork(Person person) { if(person instanceof Person.User){ ((Person.User) person).live(); } else if(person instanceof Person.Loser){ ((Person.Loser) person).doNothing(); } else if(person instanceof Person.Coder
13.09.2020
288
views
1
comment
0
andy 6473
Level 9
Bangalore
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Can some one check what is wrong in the code
help
31.08.2020
495
views
11
comments
0
Youngsan
Level 41
Seoul
Question about the task
Wine tasting
Java Core
,
Level 4
,
Lesson 8
Archived
failed to return "BubblyWine object".
Failed step: "The Solution class must implement the getBubblyWine() method, which returns a BubblyWine object." I don't understand why it didn't pass.
06.09.2020
539
views
2
comments
0
bamughamye patrick
Level 8
Paris
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Help
What could be the problem here. Failing ti get second last requirement
12.09.2020
522
views
2
comments
0
Joel Pearce
Level 22
Birmingham, UK
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Output correct, but not verifying
I've done a number of iterations of the code below and it works perfectly with every variation of input I use, but it's not verifying. Anyone got any clues?
11.09.2020
476
views
5
comments
0
Rich
Level 23
San Diego
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Resolved
last condition
right output not meeting last condition. little help pls
12.09.2020
443
views
1
comment
0
Shadow
Level 7
Hogsmead
Question about the task
Getters and setters for the Dog class
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
hellppp!!!!
what is wrong??
12.09.2020
377
views
2
comments
0
Chris
Level 19
Newark
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
I have no clue how to solve this one.
Can someone show me how to set up the indexes so I can only print the second one? Also, can someone show me how to assign it to read variable(n).
12.09.2020
404
views
2
comments
0
Peter
Level 7
Enschede
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Correct result but still not ok?
Below you see my code. It works and I get the correct result but codegym is apparently looking for something different. Could someone give me a hint? Thanks in advance.
12.09.2020
398
views
6
comments
0
Lawson
Level 29
Lagos
Question about the task
Hippodrome (part 15)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
Help
Error in the last condition
12.09.2020
397
views
4
comments
0
varada
Level 4
kozhikode
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Can any one plz help mee..wats the problem?? in the my code??
Can any one plz help mee..wats the problem?? in the my code??
22.07.2020
681
views
3
comments
0
Okabe Rintarou
Level 4
Question about the task
Parenthetical brainteaser
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Can someone help me?
this solution's answer is 535
12.08.2018
2858
views
8
comments
0
Rim
Level 11
Bucharest
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
The task failed to pass testing
the code pass the run but not the verification i think to convert the Date to a String to could test if the String contains the month. i think it s logical .i dont pass the verification and i dont know where is the fault?
10.09.2020
540
views
5
comments
0
Chase
Level 17
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Resolved
I feel like I've tried everything.
No matter how hard I try to fix this code it doesn't seem to want to work. I initially read the instructions and did everything like it said then when I clicked verify I am now being told I need to add Thread.sleep(3500); to the main method. I'm not sure how to check the time from the main method.
11.09.2020
360
views
2
comments
0
Шарох
Level 10
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Hello Coders !
what should I do with this code ? I think something is confusing.
09.09.2020
512
views
2
comments
0
Mariam
Level 9
Columbus
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
It works but Compiler Does not except my code. Please help
It works but Compiler Does not except my code. Please help
11.09.2020
465
views
2
comments
0
Mariam
Level 9
Columbus
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Resolved
It works Perfect but compiler refuses to exept my code. Please why?
It works Perfect but compiler refuses to exept my code. Please why?
11.09.2020
466
views
4
comments
0
dhanush
Level 30
Chennai
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Resolved
need help
Second requirement is not satisfying. :(
11.09.2020
528
views
13
comments
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Resolved
3, 2, 1 and nothing! 😡🤦♂️
I can print the numbers 3, 2, 1 but no "Go!" and i can print 4, 3, 2, 1 "Interrupted!"... I am so pissed off!
17.07.2020
628
views
5
comments
0
Reed Steffens
Level 8
Milwaukee
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
How is this not passing?
????
09.09.2020
397
views
5
comments
0
Bohdan
Level 8
Milan
Question about the task
Space Invaders (Part 17/34)
Games
,
Level 0
,
Lesson 6
Resolved
I don't understand what's wrong, and how i can call "isCollision" method. In addition i have a bug because i didn't have PLAYER matrix, that i had to get in the part 16.(I coppied ENEMY matrix and renamed it as PLAYER 😅 )
Why the 2nd task don't accept this part of code? : if(bullets.isEmpty()) { return; } What's wrong in this part of code ? : else if(isAlive == true) { // for(Bullet a : bullets) { // a.isCollision(ship); // } }
09.09.2020
490
views
3
comments
0
Geneson Bautista
Level 4
Chesapeake
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Help with my code
Not sure where my mistake is in the code but the output shows 73 instead of 105.8.
10.09.2020
560
views
3
comments
0
sourav bamotra
Level 20
jammu
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
help out please
can anyone please give me example that what actually the program wants from us to do?
09.09.2020
399
views
2
comments
0
Bullock
Level 20
Trappes
Under discussion
derniere condition/ last condition
Je ne comprends pas pourquoi la derniere conditon n'est pas validée . J'ai pourtant mis un if pour faire Game Over si aucun mouvement n'est possible . I don' t understand why the last condition is not correct . I put an if to make Game Over if any move are available.
10.09.2020
364
views
2
comments
0
Jesse Wisbey
Level 2
mandan
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
not sure whats wrong
am I missing something?
27.08.2020
419
views
3
comments
0
hidden #10625598
Level 23
Question about the task
Between tabs
Java Multithreading
,
Level 2
,
Lesson 5
Under discussion
why is this wrong?
26.07.2020
488
views
1
comment
0
Joel Pearce
Level 22
Birmingham, UK
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Baffled by failure
A month or so ago - when I was a wee level 9 - I tried and failed to do this task despite the output being correct in every possible iteration I could think of. With more experience I've returned to this indissoluble problem and used some slightly cleaner code. Again, the code returns the desired ou
10.09.2020
533
views
1
comment
0
Maryam Roudbari
Level 41
Question about the task
Shared last names and first names
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
it was verified but my output looks strange. why is that?
com.codegym.task.task08.task0819.Solution$Cat@154617c com.codegym.task.task08.task0819.Solution$Cat@16d3586 Process finished with exit code 0
03.09.2020
309
views
2
comments
0
Show more
1
...
131
132
133
134
135
...
366
Please enable JavaScript to continue using this application.