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
  • Swaroop Raghavendra
    Level 2
    None
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    hi friends I have doubt?Can we print integer instead of string,if we wanted to display numbers.
    • 26.06.2020
    • 456views
    • 6comments
    0
  • Ferd
    Level 4
    Dresden
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Under discussion
    What do I do wrongHello, I tried this and somehow I keep getting: missing method body, or declare abstract: Solution.java, line: 15, column: 24 cannot find symbol symbol: variable s location: class com.codegym.task.task03.task0302.Solution: Solution.java, line: 16, column: 28
    • 03.05.2019
    • 2377views
    • 6comments
    0
  • sarthak pawar
    Level 19
    Nashik
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Under discussion
    Why this is showing nullPointerException at line 24???
    • 18.06.2020
    • 412views
    • 2comments
    0
  • Liliane Top
    Level 17
    Amsterdam
    Question about the task HashMap of cats
    Java Syntax, Level 8, Lesson 3
    Resolved
    ConfusedIt seems so simple, yet why is this not working?
    • 14.02.2020
    • 1690views
    • 3comments
    0
  • MaGaby2280
    Level 41
    Guatemala City
    Question about the task Between tabs
    Java Multithreading, Level 2, Lesson 5
    Under discussion
    Help wanted!Any ideas why my loop doesn´t verify???
    • 25.06.2020
    • 692views
    • 4comments
    0
  • Brad Reed
    Level 19
    Hartford
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Resolved
    weird error....Hello community; Im getting a "return Statement Error "}" expected, I have checked and rechecked and each open brace has a closing brace....what did i miss.
    • 26.06.2020
    • 556views
    • 3comments
    0
  • Ivan
    Level 9
    Uzhhorod
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    How to count lines to create a loop?Please help someone. I almost solved this task, but I can't create loop to automatically count lines.
    • 26.06.2020
    • 626views
    • 1comment
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    The program should display the shortest string problemsThe program does show the smallest input. I'm unsure of where I went wrong in the code. Your help is appreciated.
    • 26.06.2020
    • 845views
    • 2comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Display the longest stringIn the output window it shows "Grandmother" which is the longest string. I'm not sure why it's not passing the final two verifications. Your help is appreciated.
    • 26.06.2020
    • 1195views
    • 6comments
    0
  • Timothy Strickland
    Level 4
    Fairfax
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    Does not print out the right wordsTried several different variations of the code and I can never get the list.add line to duplicate the word.
    • 25.06.2020
    • 570views
    • 1comment
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Error on last task to display half the arrayI'm stumped. I made the third array to reference the first array + 9. It should have printed each line but didn't. Your help is appreciated.
    • 25.06.2020
    • 531views
    • 5comments
    0
  • Catherine
    Level 23
    London
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Under discussion
    I don't understand the error I am getting.Can someone please explain this error? Based on what I understand of the code, it is correct. com/codegym/task/task07/task0724/Solution.java:10: error: constructor Human in class com.codegym.task.task07.task0724.Solution.Human cannot be applied to given types; Human GF1 = new Human ("Pops"
    • 04.06.2020
    • 648views
    • 2comments
    0
  • Pragati Singh
    Level 7
    Bangalore
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Please helphelp me to resolve it, please
    • 05.11.2019
    • 1754views
    • 6comments
    0
  • Kundatto
    Level 8
    Tokyo
    Question about the task Zombie cats, zombie dogs
    Java Syntax, Level 6, Lesson 5
    Under discussion
    Please Help. Will not print from Finalize() methods.Please Help. Will not print from Finalize() methods. Thank you.
    • 26.06.2020
    • 617views
    • 2comments
    0
  • algO
    Level 18
    Athens
    Question about the task Family census
    Java Syntax, Level 7, Lesson 12
    Resolved
    I can't understand what is wrongI can't understand what is wrong
    • 25.06.2020
    • 616views
    • 3comments
    0
  • Aleksander
    Level 18
    Katowice
    Question about the task A list and some threads
    Java Core, Level 6, Lesson 3
    Resolved
    Where is a mistake?The program works as expected
    • 25.06.2020
    • 630views
    • 2comments
    0
  • Seferi
    Level 22
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Why is !even always evaluates to true? package com.codegym.task.task04.task0427; /* Describing numbers */ import com.sun.deploy.security.SelectableSecurityManager; import java.io.*; public class Solution { public static void main(String[] args) throws Exception { boolean even; BufferedReader reader = new Buffe
    • 12.06.2020
    • 540views
    • 3comments
    0
  • Seferi
    Level 22
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    It working fine but doesn't pass the test..Or I understood the exercise wrong...
    • 18.06.2020
    • 871views
    • 3comments
    0
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Resolved
    Could anyone elaborate this task to understand it better.please, it will mean a lot. All answers are welcomed.
    • 24.06.2020
    • 473views
    • 4comments
    0
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Resolved
    Stuck mind is not working now....!!! where I'm wrong???? Please helppppp😔
    • 17.06.2020
    • 510views
    • 5comments
    0
  • Juan Gallardo
    Level 10
    Edmonton
    Question about the task More Sam-I-Am
    Java Syntax, Level 7, Lesson 9
    Resolved
    I think it displays correctlyHow can I get rid of the last line break in the output? Could that be the problem?
    • 12.11.2018
    • 2499views
    • 8comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Doesn't resolve father objectEverything works except the third call to write out the father's name and grandfather's name. I'm really confused on this one because all the other conditions work. Your help is appreciated.
    • 25.06.2020
    • 530views
    • 4comments
    0
  • MaGaby2280
    Level 41
    Guatemala City
    Question about the task Debug, debug, and again debug
    Java Core, Level 5, Lesson 12
    Resolved
    I cannot pass the test... I have tried changing the access modifier but still won´t pass... could someone help me please! package com.codegym.task.task15.task1526; /* Debug, debug, and again debug */ public class Solution { public static void main(String[] args) { new B(6); } public static class A { private int f1 = 7; private A(int f1) { this.f1 = f1;
    • 16.01.2020
    • 1302views
    • 4comments
    0
  • jclements2
    Level 20
    Rogers
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    Not sure why this won't validate?The output seems correct, and yet it will not validate. Any thoughts on what is wrong here?
    • 02.05.2020
    • 1038views
    • 5comments
    0
  • Michał Pietrus
    Level 33
    Krakow
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    helpHelp please why it doesnt work ?
    • 27.03.2020
    • 1032views
    • 4comments
    0
  • Aleksander
    Level 41
    Question about the task Aggregator (part 6)
    Java Collections, Level 8, Lesson 15
    Under discussion
    Can anyone help me?I have no idea how to solve this... If anyone can help, I'll be grateful :) Thanks
    • 11.04.2020
    • 821views
    • 1comment
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Resolved
    Code not passing last two tasksMy code looks good. I can't figure out what's wrong with it. I returns a string concatenated 5 times, and a string concatenated variable of times. In the main funciton it prints out the results. Your assistance is appreciated.
    • 24.06.2020
    • 473views
    • 2comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    stuck at last conditionplease help the poor guy here
    • 24.06.2020
    • 506views
    • 1comment
    0
  • Robert P
    Level 20
    Nashville
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    What am I doing wrong?I've commented out this code as much a logically possible to make it easier to read. I've polled the array to make sure it takes 10 strings , and that all 10 of them are stored in the array. (line 42) I've tested and retested the build, it works to the requirements stated. I've prodded around the
    • 29.10.2018
    • 1841views
    • 6comments
    1
  • Johannes
    Level 27
    Centurion, Pretoria
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Resolved
    Tested with input file, working, but Codegym validator not happy ?Please have a look ? I debugged it, it works flawlessly. (though I'm sure there are easier and more efficient ways to do it, just don't know the math functions well enough to use it)
    • 11.04.2020
    • 1165views
    • 13comments
    0
  • 1
  • ...
  • 174
  • 175
  • 176
  • 177
  • 178
  • ...
  • 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