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
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task String formatting
    Java Multithreading, Level 2, Lesson 7
    Resolved
    This task is bugged ? maybe ?Cannot use %d instead of 20.0 hardcoded
    • 28.04.2020
    • 830views
    • 1comment
    0
  • Samantha
    Level 4
    Crofton
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    AHH Error keeps tripping me upSo this is bigger than just this question, After my If(n % 400 == 0 && n % 100 == 0 || n % 4 == 0) { I get an error that always says "Error in com/codegym/task/task04/task0414/Solution.java on line 18 ';' expected" but I don't think it belongs there, I can figure the rest out on my, I just g
    • 09.05.2020
    • 1059views
    • 6comments
    0
  • Randall John
    Level 19
    San Jose
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Can't get my code to work, what am I doing wrong?
    • 11.05.2020
    • 604views
    • 4comments
    0
  • jorge ives murillo paredes
    Level 40
    New York City
    Question about the task Restaurant (part 3)
    Java Multithreading, Level 9, Lesson 15
    Resolved
    I got the same output can somebody tell me the mistakewhere is the mistake.
    • 01.05.2020
    • 1165views
    • 1comment
    0
  • Catherine
    Level 23
    London
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    I don't understand the error i am getting.My program won't compile, getting the following error: com/codegym/task/task05/task0532/Solution.java:26: error: expected System.out.println(maximum); I don't understand the issue and can't move forward with solving. Please help!
    • 11.05.2020
    • 770views
    • 3comments
    0
  • Catherine
    Level 23
    London
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Someone please review my codeI don't understand what is wrong with my code. I have the exact same thing for woman as I do man, but I am getting an error for the woman class (return type invalid). Please take a look and help me out. Thanks.
    • 11.05.2020
    • 459views
    • 1comment
    0
  • Iasu
    Level 18
    Question about the task OOP: Books
    Java Core, Level 5, Lesson 2
    Resolved
    Condition 5 and 10 Again! I have spent almost 1 hour to solve this one..Is it the getBook() method or getOutputByBookType() where the problem is..?
    • 06.07.2019
    • 1921views
    • 3comments
    3
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task SimpleObject interface
    Java Core, Level 3, Lesson 11
    Resolved
    Need help for a better understanding of concepts like abtract classes etcCan someone please refer me to a tutorial or better information that is required to be able to do these tasks? I do find the answers in the help section but still very confused how it works and not sure what part I'm misunderstanding. I see that I am not the only one struggling with this topic. So i
    • 15.03.2020
    • 1165views
    • 3comments
    0
  • Jonas
    Level 41
    Vilnius
    Question about the task The long forgotten Array
    Java Collections, Level 7, Lesson 10
    Resolved
    It's an easy one :((((Please help, I can't see what is wrong....
    • 26.03.2020
    • 1097views
    • 3comments
    0
  • Jonas
    Level 41
    Vilnius
    Question about the task Is a palindrome possible?
    Java Collections, Level 9, Lesson 9
    Resolved
    What is wrong???please explain what am I doing wrong
    • 15.04.2020
    • 718views
    • 2comments
    0
  • hidden #10490073
    Level 38
    Question about the task Archiver (part 10)
    Java Multithreading, Level 7, Lesson 15
    Resolved
    Last condition not verifyingRecommendation from mentor is: Be sure the createZip method properly saves a directory and the files it contains. Be sure to use the FileManager class and the addNewZipEntry method. I'm stuck. Does anyone have a clue?
    • 01.04.2020
    • 1120views
    • 0comments
    0
  • krystian
    Level 9
    Kozle
    Question about the task Improving functionality
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Could someone check What is wrong with my code? public class Solution {
    • 02.01.2020
    • 1221views
    • 4comments
    0
  • Pavel Pilyuganov
    Level 13
    Hull
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    Whats wrong ?Need help :) ,i cant see whats wrong
    • 11.05.2020
    • 731views
    • 4comments
    0
  • Alban
    Level 14
    Kukes
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Why wrong ?Help please!
    • 09.05.2020
    • 759views
    • 4comments
    0
  • Brad Hawk
    Level 20
    Everett
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    Where am I going wrong?I'm getting the correct outputs, but I'm still not pass those 2 requirements. What am I not seeing?
    • 16.04.2020
    • 782views
    • 2comments
    2
  • Uhlnoor
    Level 2
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    I can not figure out what I'm doing wrong... Hi! I don't want to look up the answer because then cheating doesn't teach me anything. Please assist. I keep getting: "com/codegym/task/task02/task0201/Solution.java:11: error: method print in class com.codegym.task.task02.task0201.Solution cannot be applied to given types; print();
    • 08.05.2020
    • 751views
    • 9comments
    2
  • Deepak Chandra
    Level 16
    Visakhapatnam
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    What is wrong in my code , Help please.The output seems to be right in intellij all the numbers greater than 10 are being removed but the last condition isn't verifying, need help.
    • 22.05.2019
    • 1956views
    • 8comments
    0
  • gery
    Level 9
    Islamabad
    Question about the task Dividing is good
    Java Syntax, Level 3, Lesson 1
    Under discussion
    where fixing is necessary?quick fix.. package com.codegym.task.task03.task0301; /* Dividing is good */ public class Solution { public static void main(String[] args) { div(6, 3); div(10, 6); div(2, 4); } public static void div(int a, int b) { //write your code here in
    • 12.09.2018
    • 2418views
    • 9comments
    0
  • Henry Yao
    Level 22
    Pasadena
    Question about the task Problem solving
    Java Core, Level 9, Lesson 8
    Under discussion
    Help please There are two problems 1) Be sure that main(String[] args) method call System.SetOut() twice. But I did call twice. 2) Additional problems are not solved correctly. I can not locate them. Thanks for your help.
    • 10.05.2020
    • 458views
    • 4comments
    0
  • Michael Brimage
    Level 19
    Washington D.C.
    Question about the task Rarest bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    Help with hashmapSo, I've looked this problem for 2hrs. Now my head is spinning. I tried to use a Hashmap to create a frequency table. My intentions were to have the bytes read in as keys and the values to be the occurences of the byte. Here is my thought process: 1) read all bytes and saved into a list 2) used m
    • 08.05.2020
    • 583views
    • 5comments
    0
  • Jahan Zaib
    Level 5
    Dera Ghazi Khan
    Question about the task Multiplication table
    Java Syntax, Level 4, Lesson 10
    Resolved
    Need help :(i did not understand how to solve it can you help me ?
    • 05.10.2018
    • 1860views
    • 6comments
    0
  • Ntuthuko Xaba
    Level 18
    Johannesburg
    Question about the task Splitting a file
    Java Core, Level 8, Lesson 5
    Resolved
    What's wrong here?Where am I going wrong? public class Solution { public static void main(String[] args)throws IOException { //Read a file name three times from the console BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String file1 = reader.readLine
    • 05.05.2020
    • 453views
    • 5comments
    0
  • Monica Nicoleta
    Level 7
    Arad
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    The program works, but the last requirement is not met. Can anyone help me see the error? Thank youI used the example from the last task, but for some reason the last requirement is not satisfied, and i can't see where is the mistake.
    • 27.08.2019
    • 1521views
    • 1comment
    2
  • jake taylor
    Level 17
    Lisbon
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    what is wrong with my code???
    • 10.05.2020
    • 583views
    • 1comment
    0
  • Kritika Kumari
    Level 11
    Mumbai
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Under discussion
    Whats the error in the program?My program is not fulfilling last condition. Please tell whats the error.
    • 10.05.2020
    • 438views
    • 1comment
    0
  • ~mK
    Level 7
    Princeton, NJ
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Does not satisfy the last condition. I used mD Bilal methodpackage com.codegym.task.task07.task0705; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner kb = new Scanner(System.in); int[] a = new int[20]; int[] b = new int[10]; int[] c = new int[10];
    • 08.04.2020
    • 831views
    • 2comments
    2
  • Przemek null
    Level 8
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    displays correct but do not passI dont see whats wrong here. It dipalys the numbers correct, but it does not pass. Please give me some advice
    • 03.05.2020
    • 991views
    • 6comments
    0
  • Wolf Hunter
    Level 5
    Mosul
    Question about the task Getters and setters for the Dog class
    Java Syntax, Level 5, Lesson 5
    Under discussion
    What Is My Problem It Gives: Expected ';' On Line 19?package com.codegym.task.task05.task0503; /* Getters and setters for the Dog class
    • 09.05.2020
    • 561views
    • 3comments
    0
  • Tessa Podbury
    Level 18
    Melbourne
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    Code taking too long to terminateFor some reason my code just won't terminate when inputting null string I don't think there is an infinite loop? Please help!
    • 09.05.2020
    • 601views
    • 3comments
    0
  • David
    Level 26
    Bucharest
    Question about the task GCD
    Java Core, Level 4, Lesson 8
    Resolved
    It works But it doesn't pass I dont see the issue
    • 09.05.2020
    • 498views
    • 4comments
    0
  • 1
  • ...
  • 195
  • 196
  • 197
  • 198
  • 199
  • ...
  • 371
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym