CodeGym
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
  • 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
    • 710views
    • 6comments
    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
    • 1235views
    • 6comments
    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
    • 788views
    • 0comments
    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 ? tksseems to throw an exception ok...
    • 5/18/20
    • 601views
    • 2comments
    0
  • Angeget
    Level 22
    Potsdam
    Question about the task Ten cats
    Java Syntax, Level 9, Lesson 11
    Resolved
    Nee some improvement in my code pleaseI need some performance in my code. please can somebody tell me what i can improve in my solution?
    • 1/16/19
    • 1800views
    • 1comment
    0
  • Van Ha
    Level 41
    Bodegraven
    Question about the task One change
    Java Collections, Level 9, Lesson 9
    Under discussion
    Need a hintCan't tell why it's not verifying as far as I've tested it should work
    • 5/4/20
    • 810views
    • 1comment
    0
  • Mykhailo Kuvshynov
    Level 8
    Dnipro
    Question about the task Calculator
    Java Syntax, Level 6, Lesson 8
    Resolved
    helphelp me
    • 9/1/19
    • 1864views
    • 2comments
    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 taskThe 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
    • 1162views
    • 3comments
    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
    • 539views
    • 3comments
    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
    • 652views
    • 4comments
    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
    • 970views
    • 2comments
    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
    • 548views
    • 1comment
    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
    • 1722views
    • 5comments
    0
  • Pavel Pilyuganov
    Level 13
    Hull
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Helpi 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
    • 650views
    • 7comments
    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
    • 557views
    • 2comments
    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 thankyouhelp
    • 5/16/20
    • 1093views
    • 2comments
    0
  • Łukasz
    Level 61
    Lodz
    Question about the task Aggregator (part 10)
    Java Collections, Level 8, Lesson 15
    Resolved
    HelpHi, 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
    • 1264views
    • 3comments
    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
    • 531views
    • 2comments
    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 tasksThe output is correct. But the last two tasks don't pass. What is wrong?
    • 5/14/20
    • 481views
    • 2comments
    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
    • 558views
    • 1comment
    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
    • 857views
    • 3comments
    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 elsewhat is wrong over here ajeeb
    • 5/15/20
    • 616views
    • 3comments
    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
    • 514views
    • 2comments
    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
    • 573views
    • 4comments
    0
  • Alex
    Level 24
    Sibiu
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Under discussion
    Fails to almost all conditionsCan 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
    • 588views
    • 1comment
    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
    • 604views
    • 1comment
    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 codeAnd 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
    • 525views
    • 1comment
    0
  • NOBODY
    Level 5
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Under discussion
    hahahaso easy
    • 4/12/20
    • 1274views
    • 1comment
    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
    • 1921views
    • 15comments
    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 meI 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
    • 2081views
    • 7comments
    0
  • 1
  • ...
  • 194
  • 195
  • 196
  • 197
  • 198
  • ...
  • 374
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym