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
JianQiu Hwang
Level 35
Washington
Question about the task
Aggregator (part 10)
Java Collections
,
Level 8
,
Lesson 15
Resolved
Fail on "Use a variable-length argument for the Providers."
What is wrong with the construct? public Model(View view, Provider[] providers) throws IllegalArgumentException { if (view == null || providers == null || providers.length == 0) { throw new IllegalArgumentException(); } else { this.view = view;
5/17/20
710
views
6
comments
0
Wolf Hunter
Level 5
Mosul
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
What's My Problem Please?
package com.codegym.task.task02.task0217; /*
4/26/20
1235
views
6
comments
0
Corly Boy
Level 11
Bucharest
Question about the task
Snake (Part 18/20)
Games
,
Level 0
,
Lesson 1
Resolved
What am I doing wrong? Please help.
package com.codegym.games.snake; import com.codegym.engine.cell.Color; import com.codegym.engine.cell.Game; import java.util.ArrayList; import java.util.List; public class Snake { private List<GameObject> snakeParts = new ArrayList<GameObject>(); private static final String HE
5/15/20
788
views
0
comments
0
Lgd
Level 20
London
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
Fails to satisfy the second condition. Please can anyone offer some insight ? tks
seems to throw an exception ok...
5/18/20
601
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Ten cats
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Nee some improvement in my code please
I need some performance in my code. please can somebody tell me what i can improve in my solution?
1/16/19
1800
views
1
comment
0
Van Ha
Level 41
Bodegraven
Question about the task
One change
Java Collections
,
Level 9
,
Lesson 9
Under discussion
Need a hint
Can't tell why it's not verifying as far as I've tested it should work
5/4/20
810
views
1
comment
0
Mykhailo Kuvshynov
Level 8
Dnipro
Question about the task
Calculator
Java Syntax
,
Level 6
,
Lesson 8
Resolved
help
help me
9/1/19
1864
views
2
comments
0
hidden #10611437
Level 24
Question about the task
Adding a file to an archive
Java Collections
,
Level 1
,
Lesson 6
Under discussion
Please could someone help me with this task
The task seems to run as required when using folders on my PC but I just can't seem to get it to verify. Depending on which order I either write the original files to the zip or copy over the new file I seem to get different requirements pass. Thank you.
5/13/20
1162
views
3
comments
0
Ellen
Level 29
Antwerpen
Question about the task
Factorization using recursion
Java Collections
,
Level 4
,
Lesson 2
Resolved
Validation says my code is not recursive?
I don't understand how my solution is not recursive. Any ideas?
5/9/20
539
views
3
comments
0
hidden #10587300
Level 14
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Not getting all the task requirements?
I'm able to get the correct output but the requirements are still not met. What's wrong with my code? Thanks!
5/18/20
652
views
4
comments
0
Alban
Level 14
Kukes
Question about the task
The Three "Muscateers"
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Helppp!!
help
5/16/20
970
views
2
comments
1
Daniel
Level 9
Vienna
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
What's wrong with this..?
Can anybody understand why my solution doesn't seem to work? I'm missing something and I really don't know what. Please take a look and leave a comment if you find what's wrong.
5/18/20
548
views
1
comment
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Where is the problem ?
Please someone help......
2/5/19
1722
views
5
comments
0
Pavel Pilyuganov
Level 13
Hull
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Help
i get this message :Be sure that the length of the longest sequence is calculated correctly when it is located at the end of the list of entered numbers. when i test it , everything works fine .
5/15/20
650
views
7
comments
0
Uhlnoor
Level 2
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Still don't understand...
Why did you give the answer to a part of it in the requirements: Save a reference to the previously created Man object in woman.husband (Hint: woman.husband = man). I don't understand what saving the reference does. Could you please explain?
5/13/20
557
views
2
comments
0
Oliver Lutz
Level 18
Budapest
Question about the task
Parent of the CTO class
Java Core
,
Level 2
,
Lesson 12
Resolved
I really do not know how to do this pls help thankyou
help
5/16/20
1093
views
2
comments
0
Łukasz
Level 61
Lodz
Question about the task
Aggregator (part 10)
Java Collections
,
Level 8
,
Lesson 15
Resolved
Help
Hi, Can someone help with validation, I am failing on: Create a constructor with two parameters: a view and an array of providers. Throw an IllegalArgumentException if invalid data is passed. Use a variable-length argument for the Providers I am checking the length of array but it is not accepted:
2/22/20
1264
views
3
comments
0
Prashant Vishwakarma
Level 12
Mumbai
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Check please
2nd last condition is not getting.
5/13/20
531
views
2
comments
0
Catherine
Level 23
London
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Getting the right answer, but won't pass all tasks
The output is correct. But the last two tasks don't pass. What is wrong?
5/14/20
481
views
2
comments
0
Peter Gray
Level 20
Compiegne
Question about the task
Order of loading variables
Java Core
,
Level 5
,
Lesson 12
Under discussion
Debugger is unavailable.
How to use debugger with the plugin in IntelliJ? It's gray, I can't click it. Is there a way to paste this task into a new project in IntelliJ? The problem is that I don't how to create a 'Solution' class. It always asks for the Main function.
5/15/20
558
views
1
comment
0
sachin thakur
Level 18
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Unable to satisfy the last condition.
Please help!! thank you
5/16/20
857
views
3
comments
0
Syed Huzaifa
Level 7
Karachi
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
displaying has issue or else
what is wrong over here ajeeb
5/15/20
616
views
3
comments
0
Laurence
Level 10
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
I can't seem to satisfy the last condition. Help needed please.
I've ran it through with negative odds/evens, 0 and numbers over 999 in another compiler, all return nothing. It satisfies all other conditions. Greatly appreciate any help.
5/16/20
514
views
2
comments
0
JianQiu Hwang
Level 35
Washington
Question about the task
Aggregator (part 6)
Java Collections
,
Level 8
,
Lesson 15
Resolved
What's wrong with the code like the example?
I have try: Document doc = Jsoup.connect("https://www.linkedin.com").userAgent(userAgent).get(); Document doc = Jsoup.connect("https://www.linkedin.com").get(); And the version of Jsoup is 1.9.2
5/16/20
573
views
4
comments
0
Alex
Level 24
Sibiu
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
Fails to almost all conditions
Can I get a little bit help with this please ? I tried so many times and I still don't know what is the problem. Here is my code: package com.codegym.task.task18.task1825; import java.io.*; import java.util.*; /* Building a file */ public class Solution { public static void main(String[]
5/16/20
588
views
1
comment
0
Tessa Podbury
Level 18
Melbourne
Question about the task
SimpleObject interface
Java Core
,
Level 3
,
Lesson 11
Under discussion
Please help me understand why this won't work..
Apologies for copy and pasting, codegym wouldn't let me attach solution public class Solution { public static void main(String[] args) throws Exception { SimpleObject stringObject = new StringObject(); } static class StringObject implements SimpleObject{ @Override
5/16/20
604
views
1
comment
0
Tessa Podbury
Level 18
Melbourne
Question about the task
Player and Dancer
Java Core
,
Level 4
,
Lesson 4
Under discussion
What is wrong with this code
And if anyone could help out with why I can't attach solutions atm? public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Person person = null; String key;
5/16/20
525
views
1
comment
0
NOBODY
Level 5
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
hahaha
so easy
4/12/20
1274
views
1
comment
0
Ashish RajAnand
Level 13
Bhilai
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Resolved
can i do
for(int i=1;i<6;i++) Zerg zergi = new Zerg(); why can i not do like that
11/4/18
1921
views
15
comments
0
Andrew
Level 29
Seattle
Question about the task
Build a tree (part 5)
Java Collections
,
Level 1
,
Lesson 15
Under discussion
The last part of the picture doesn't make sense to me
I don't understand the process. If you remove node 3, then wouldn't the next added node be the first available left child (of 1)? Why does the next added node go to 9 instead of 1? FYI, I added a helper method called printTree() to help troubleshoot. Another question: in all my methods, traversing
7/3/19
2081
views
7
comments
0
Show more
1
...
194
195
196
197
198
...
374
Please enable JavaScript to continue using this application.