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
  • Carli Eubanks
    Level 15
    San Diego
    Question about the task Multiplication table
    Java Syntax, Level 4, Lesson 10
    Resolved
    I can't find the mistakeI've been stuck for a bit now and I don't know where my mistake is. I would really appreciate some advice on what I'm doing wrong.
    • 22.09.2020
    • 828views
    • 3comments
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Resolved
    Back to Collection 😅The right output but no validation! Any hint? Tk you!
    • 10.08.2020
    • 616views
    • 7comments
    0
  • hidden #10668264
    Level 7
    Question about the task Create a Dog class
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Initialize() vs. Constructor()Anyone, why would we use initialize() instead of construcor().
    • 22.09.2020
    • 1997views
    • 6comments
    0
  • Marvin Ellis
    Level 7
    Peoria
    Question about the task Static cats
    Java Syntax, Level 6, Lesson 11
    Resolved
    Adding Cat classesI am not sure how were are supposed to add and display the cats we are creating.
    • 23.09.2020
    • 1237views
    • 1comment
    0
  • AlfredW
    Level 23
    Denver
    Question about the task Counting commas
    Java Core, Level 8, Lesson 5
    Under discussion
    Works Great on IntelliJ but times out every time I try to Verify.This works perfectly when I test run it. Each time I have tried to verify it I get the Timed Out message. What am I missing?
    • 23.09.2020
    • 427views
    • 2comments
    0
  • sourav bamotra
    Level 20
    jammu
    Question about the task Reinforce the singleton pattern
    Java Core, Level 5, Lesson 12
    Under discussion
    -_-I'll not tell anyone that i completed this task after 10 attempts, all because of those silly mistakes, and stupid requirements. -_-
    • 22.09.2020
    • 564views
    • 3comments
    0
  • Prashant Vishwakarma
    Level 12
    Mumbai
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    ErrorError: be sure length of the string is calculated correctly at the end of the list
    • 23.09.2020
    • 476views
    • 1comment
    0
  • sarthak pawar
    Level 19
    Nashik
    Question about the task Combining files
    Java Core, Level 8, Lesson 11
    Under discussion
    Is my way of solving this task is correct can't verify 3rd and 4th condition, why?
    • 22.09.2020
    • 355views
    • 2comments
    0
  • Mason Rake
    Level 4
    Grand Marsh
    Question about the task Part of a calculator
    Java Syntax, Level 2, Lesson 2
    Resolved
    Part of a calculatorHelp I am not sure what I am doing wrong? I only see the two "int" variables but it says there is more then that? If you could please help me that would be great!
    • 11.06.2020
    • 526views
    • 5comments
    0
  • Stephen Haokip
    Level 12
    imphal
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Resolved
    helpwhere did i go wrong
    • 29.07.2020
    • 601views
    • 2comments
    2
  • Lawrence Babay
    Level 6
    Rockville
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Resolved
    Guys Need Help with the task in hand Please assist. I got stock with this task any help is much appreciated. Thanks in advance.
    • 01.05.2020
    • 1174views
    • 6comments
    0
  • hu-zza
    Level 22
    Budapest
    Question about the task Pharmacy
    Java Core, Level 7, Lesson 10
    Archived
    Do not dig too deep...You should call buy() in the Pharmacy class and sell() in the Person class. It's quite obvious, if you read only the methods' names. However, if you read this two (or see the output), the other pairing is more logical.
    • 04.07.2020
    • 908views
    • 6comments
    1
  • Onur Bal
    Level 27
    Istanbul
    Question about the task Let's count
    Java Core, Level 7, Lesson 10
    Under discussion
    Can someone explain the logic of this oneI was able to solve this one correctly but I can't say I understood what I did too well. So each thread is modifying the array, adding plus 1 to the current index, which initially starts out as 0 for each element. Why, then, after 5 threads going over it, is the value equal to 1? Shouldn't each el
    • 21.09.2020
    • 707views
    • 4comments
    0
  • Stephen Meyer
    Level 16
    Fort Collins
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Accepting input forever? My code just seems to accept input strings forever, and I cannot for the life of me figure out why. Can someone help?
    • 22.09.2020
    • 453views
    • 1comment
    0
  • Oliver Heintz
    Level 18
    Mustang
    Question about the task Number of letters
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Last Requirement not metLike so many other people, it looks just like it's supposed to. I even tested it with numbers and I still get what appears to be the correct output. I haven't the slightest idea what the hold up is, which sucks as I thought I had this on the first try, and now I've tried it like 4 times.
    • 21.08.2020
    • 658views
    • 11comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Im unsure of how to finish this.I have spent over a day on this particular problem and I can't find out what I should do. This is the closest I have gotten to a workable solution. Can someone please help me?
    • 21.09.2020
    • 579views
    • 2comments
    0
  • Marvin Ellis
    Level 7
    Peoria
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Resolved
    Constructor illegal start of the expression? I am not sure what it is telling me hereIts stating that the constructor Man and Woman have an illegal start of the expression. But I am not sure why.
    • 22.09.2020
    • 448views
    • 1comment
    0
  • Marvin Ellis
    Level 7
    Peoria
    Question about the task Man and woman
    Java Syntax, Level 5, Lesson 12
    Resolved
    Why would it expect a interface? What is an interface or a enum? I am not there yet. class, interface, or enum expected. file com/codegym/task/task05/task0526/Solution.java, line 43, position 1083
    • 14.07.2020
    • 495views
    • 5comments
    0
  • Marvin Ellis
    Level 7
    Peoria
    Question about the task Creating cats
    Java Syntax, Level 5, Lesson 9
    Resolved
    I don't understand whats wrongI thought I was getting the hang of this
    • 14.07.2020
    • 515views
    • 3comments
    2
  • Cam
    Level 15
    Bogota
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    I don't understand what is failing.Hey guys. I'm a little bit confused. In my mind, this program should be working. But it is not passing the last verification. Can someone please tell me what I am doing wrong?? public static String compare (ArrayList original) { ArrayList sorted = sord(original); int min = 0, max
    • 21.09.2020
    • 634views
    • 6comments
    0
  • John Raets
    Level 3
    Not in list
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Under discussion
    What's wrong with this code?public class Solution { public static double addTenPercent(int i) { double c = 100 * 1.1; return c; } public static void main(String[] args) { System.out.println(addTenPercent(9)); } }
    • 19.09.2020
    • 438views
    • 2comments
    0
  • Chris
    Level 19
    Newark
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Resolved
    Please help.Can someone help me finish this?
    • 21.09.2020
    • 451views
    • 2comments
    0
  • Carli Eubanks
    Level 15
    San Diego
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I can't find my mistakeI've managed to satisfy all but the last two requirements. I've tried multiple variations and read over my work to try to find my mistake, but whatever it is it's managed to elude me. Any advice would be greatly appreciated.
    • 21.09.2020
    • 511views
    • 2comments
    0
  • Youngsan
    Level 41
    Seoul
    Question about the task Hippodrome (part 10)
    Java Multithreading, Level 1, Lesson 16
    Resolved
    Pls help"Oh, and display 10 empty lines after the loop (using System.out.println()) to make it more beautiful.". Seems to be simple, but I seems to misunderstand the problem. Please help me.
    • 22.09.2020
    • 542views
    • 5comments
    0
  • Mariam
    Level 9
    Columbus
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Resolved
    The program DOES change the first letter of each word to uppercase but compiler says it does NOT. Please helpThe program DOES change the first letter of each word to uppercase but compiler says it does NOT. Please help
    • 16.09.2020
    • 467views
    • 4comments
    0
  • Lawson
    Level 29
    Lagos
    Question about the task Snake (part 12)
    Java Multithreading, Level 2, Lesson 18
    Resolved
    Helpthis isn't supposed to be hard na
    • 17.09.2020
    • 498views
    • 0comments
    0
  • Jac
    Level 7
    Birmingham
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    I'm getting an output of 'NaN'. Can someone clarify?package com.codegym.task.task05.task0507; /* Arithmetic mean */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.i
    • 22.09.2020
    • 422views
    • 1comment
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Space Invaders (Part 9/34)
    Games, Level 0, Lesson 6
    Resolved
    Where is the mistakeHelp
    • 10.09.2019
    • 1449views
    • 9comments
    0
  • Manish Sinha
    Level 1
    london
    Question about the task Find a substring
    Java Multithreading, Level 2, Lesson 5
    Resolved
    not sure what is the issue . very eager to know the issue since output is as per the expectation i believe. there must be something minor i guess. pls. helpnot sure what is the issue . very eager to know the issue since output is as per the expectation i believe. there must be something minor i guess. pls. help
    • 21.09.2020
    • 450views
    • 3comments
    1
  • 143_Ritik Awachat
    Level 4
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    help me guyswhat is the error here can you guys help me
    • 21.09.2020
    • 557views
    • 2comments
    0
  • 1
  • ...
  • 133
  • 134
  • 135
  • 136
  • 137
  • ...
  • 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