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
  • Velociraptor
    Level 3
    Bangalore
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Under discussion
    i cant understand this thingmy code package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { //write your code here addTenPercent(9); } public static void main(String[] args) { System.out.println(addTenPerc
    • 24.07.2020
    • 706views
    • 1comment
    0
  • Shadow
    Level 7
    Hogsmead
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    HELP ME FIND THE ISSUE!!!!!!!package com.codegym.task.task02.task0216;
    • 24.07.2020
    • 438views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Time in the garden
    Java Core, Level 7, Lesson 4
    Under discussion
    help me pls with solutionhelp pls
    • 27.06.2019
    • 1108views
    • 1comment
    0
  • Garrett Bowler
    Level 3
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Final condition of taskWhy is it not repeating? I've used this for loop before in previous tasks and it worked fine
    • 24.07.2020
    • 587views
    • 1comment
    0
  • George
    Level 6
    Chiajna
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Under discussion
    wrong output Don't understand why I have the package name in the output when I run the code. Everything seems to be good, but the code adds the name of the package in the final line of the output. can someone please explain? package com.codegym.task.task03.task0315;
    • 24.07.2020
    • 478views
    • 1comment
    0
  • Jo
    Level 4
    Cincinnati
    Question about the task Sum of the digits of a three-digit number
    Java Syntax, Level 3, Lesson 12
    Resolved
    Why is the last condition not satisfied, even though the task is complete? public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { int sum; int tempNum = number / 10 * 10; int firstDigit = number - tempNum; int secon
    • 10.07.2020
    • 761views
    • 2comments
    0
  • 王诗凯
    Level 23
    Redwood City
    Question about the task Your own implementation
    Java Collections, Level 1, Lesson 4
    Resolved
    Question about this TaskI wonder how can I complete this task without import java.nio.file.Path;?
    • 24.07.2020
    • 381views
    • 1comment
    0
  • Uhlnoor
    Level 2
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Under discussion
    What am I doing wrong?I don't get what I'm doing wrong here on the part of assigning the woman as the owner. The concept is a little dry and I don't understand it.
    • 15.05.2020
    • 959views
    • 3comments
    0
  • Jen P
    Level 26
    Question about the task What's in the folder?
    Java Collections, Level 1, Lesson 4
    Under discussion
    My total folders is always wrong but my Total files and total size result are passed. Any clue ?Hey guys, I constantly failed at this message : "The following information must be displayed on the console: "Total folders: [the number of folders in the directory and sub-directories]"." However, I cannot understand where is the bug. I once guessed whether it is because the request of getting to
    • 15.08.2019
    • 1127views
    • 1comment
    0
  • Yash
    Level 15
    Sugar Hill
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Why not workI think I fix but not work.
    • 16.06.2019
    • 1377views
    • 2comments
    0
  • Johnson Jose
    Level 10
    Edinburgh
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    3rd condition failedMy code is not working because im guessing that words with only the letter "l" keeps on duplicating without end. What must I do to resolve this?
    • 22.05.2019
    • 1872views
    • 5comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    What the hell am I doing wrong?Through intellij I was able to run the code without any errors and I got an exact replica of the result required by CodeGym yet I get the following errors.
    • 22.07.2020
    • 389views
    • 3comments
    0
  • Rebekah H
    Level 8
    Gothenburg
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    Ternary doesn't work?Why does this work for(int i=0;i<15;i++){ if(i%2==0) even+=ar[i]; else odd+=ar[i]; } but not this?? for(int i=0;i<15;i++) i%2==0?even+=ar[i]:odd+=ar[i]; Can ternary not be used this way or ha
    • 23.07.2020
    • 428views
    • 2comments
    0
  • Anthony Mazzie
    Level 5
    Des Moines
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Under discussion
    Please help, have tried nearly 60 timesPlease help, have tried nearly 60 times. The requirements are unclear and ambiguous. I do not understand. Two opening and closing parenthesis in the TOTAL expression? so, only (( and )). Not including the print statement. I think I've tried everything.
    • 16.07.2020
    • 683views
    • 4comments
    2
  • Laurence
    Level 10
    Question about the task What's today's date?
    Java Syntax, Level 9, Lesson 11
    Resolved
    Help, console outputs the wrong dateMy output is "JUN 08 2014", I've tried rewriting and restructuring it several times, but I can't seem to get any change. Can anybody help with this?
    • 03.07.2020
    • 840views
    • 3comments
    1
  • Isaac Dodoo
    Level 9
    Centurion
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Resolved
    Hello guys I can't figure this compiler error: expected @ line 53Can somebody please get me out of this painful misery. I am stuck and I do not know what is causing this compiler error: expected @ line 53 Thank you for your inputs.
    • 18.04.2020
    • 1121views
    • 2comments
    0
  • Nana
    Level 7
    Chicago
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    Why is my program still not workingHello I am not sure why I am still not meeting the last requirement. Can someone explain please?
    • 17.05.2020
    • 540views
    • 3comments
    0
  • pratyush prakash
    Level 2
    patna
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    explain me how to create an reference to an objecttell me the structure with eg on how to create an reference to an object
    • 14.07.2020
    • 532views
    • 1comment
    0
  • David
    Level 26
    Bucharest
    Question about the task Correct the mistake. Serialization
    Java Core, Level 10, Lesson 10
    Under discussion
    I can't see the errorI don't understand this task :(
    • 23.07.2020
    • 561views
    • 2comments
    0
  • Velociraptor
    Level 3
    Bangalore
    Question about the task Minesweeper (Part 1/16)
    Games, Level 0, Lesson 0
    Resolved
    guys my code is wrong can you tell me whythis is my code package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { }import comp
    • 23.07.2020
    • 582views
    • 1comment
    0
  • Lawson
    Level 29
    Lagos
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Confusedin my reference variable...I wrote a...but they kept telling me I was incorrect till I changed it to person
    • 21.07.2020
    • 392views
    • 2comments
    0
  • Jurabek Kuralbaev
    Level 8
    Tashkent
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Please help me with this!the rest 3 requirements are not met!
    • 23.07.2020
    • 642views
    • 1comment
    0
  • Jaisingh
    Level 14
    Hyderabad
    Question about the task Task No. 4 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Under discussion
    i don't understand how to do this...??
    • 05.10.2018
    • 1792views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Task No. 3 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Under discussion
    help pls guys(give me solution pls
    • 21.06.2019
    • 1711views
    • 3comments
    0
  • Velociraptor
    Level 3
    Bangalore
    Question about the task Max, Bella, and Jack
    Java Syntax, Level 2, Lesson 3
    Resolved
    i dont understand thisCreate 3 Dog objects. Store each instance in a separate variable. Give them the names "Max", "Bella", and "Jack".
    • 21.07.2020
    • 549views
    • 2comments
    0
  • Michael Brimage
    Level 19
    Washington D.C.
    Question about the task OOP: Fix inheritance problems
    Java Core, Level 5, Lesson 2
    Under discussion
    Cant quite get itAlright, I am going back to solve problems that hindered me in the past. I am low on Dark matter and need the cash to move forward. I have looked at almost all of the threads in help; still dont understand why i am stuck. Can someone please tell me where/Why I am hung on this? I think aound line 41
    • 30.04.2020
    • 981views
    • 2comments
    0
  • sagar
    Level 6
    Amreli
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    what's wrong in thiswhat is wrong in my code .. idk why it's print green and red both..
    • 23.07.2020
    • 661views
    • 1comment
    0
  • Jose Rico Lacia
    Level 22
    Makati
    Question about the task Words with numbers
    Java Core, Level 9, Lesson 11
    Resolved
    Still getting - Be sure that your solution uses FileWriteri am already familiar with regex but I am trying to solve this problem using the Character.isDigit method. Code test looks fine but still fails the 4th condition (code is already using filewriter) Is there something that I missed? Thanks in advance
    • 22.07.2020
    • 584views
    • 3comments
    0
  • Rebekah H
    Level 8
    Gothenburg
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Resolved
    only returns null?Why does my code just return null 10 times? what have I done wrong? X'D
    • 22.07.2020
    • 612views
    • 1comment
    0
  • jake taylor
    Level 17
    Lisbon
    Question about the task Computer
    Java Core, Level 4, Lesson 8
    Under discussion
    last 2 conditionscant see why last 2 conditions fail??
    • 22.07.2020
    • 368views
    • 1comment
    0
  • 1
  • ...
  • 162
  • 163
  • 164
  • 165
  • 166
  • ...
  • 372
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