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
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Help here plzpublic class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double result = 0.0f; int sum = 0; int i = 0; while(true)
    • 18.09.2018
    • 1738views
    • 2comments
    0
  • Antonia
    Level 10
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    What problem???What problem???
    • 05.07.2019
    • 1097views
    • 2comments
    0
  • Andrea
    Level 20
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    What Am I Missing? In reviewing the code and the output it seems the output is correct however per the verification feedback: -First requirement says the program should only print text - but the feedback I'm getting I should only print numbers -Last three requirements the code seems to meet, but it's not passing veri
    • 04.07.2019
    • 1464views
    • 2comments
    0
  • ProgrammerNewbie
    Level 14
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Last condition fails even when I trim the string.Hi there, The last condition fails. I tried it with several inputs and it runs well but it will not verify. The mentor recommended: "Consider the fact that words might be separated by more than one space." That is why I trim the string after reading it. However, it will not verify.
    • 03.07.2019
    • 1633views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Factory method pattern
    Java Core, Level 6, Lesson 13
    Under discussion
    Pls give me a answerHelp me pls guys(
    • 27.06.2019
    • 1586views
    • 3comments
    0
  • Aswini
    Level 4
    Chennai
    Question about the task Name register
    Java Syntax, Level 4, Lesson 2
    Under discussion
    verified successfully but showing empty while clicking Runpackage com.codegym.task.task04.task0406; /* Name register */ public class Cat { private String fullName; public void setName(String firstName, String lastName) { String fullName = firstName + " " + lastName; this.fullName=fullName; } public static void main(String
    • 06.12.2018
    • 2093views
    • 8comments
    0
  • Earil
    Level 25
    Paris
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Resolved
    The code seems to be working fine when I test it, and I get a weird validation error : "The file output stream was not closed", while I'm quite sure I properly closed it. Does anyone understand ?Hello everyone, I think the code is working properly (at least I think my testing went fine according to the specs in condition.tcs, however the task is to being validated and I get the following error : The file streams must be closed. (Recommendation from your mentor : the file output stream was
    • 02.07.2019
    • 1522views
    • 2comments
    0
  • Topor Dániel Bálint
    Level 9
    Targu-Mures
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    Hello, I need helpMy result keeps being in integer, can anybody help me ?
    • 27.06.2019
    • 1413views
    • 4comments
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Under discussion
    why am i not able to pass 3rd and 4th test caseswhats the problem in my code
    • 03.07.2019
    • 1339views
    • 1comment
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Hippodrome (part 11)
    Java Multithreading, Level 1, Lesson 16
    Under discussion
    Why I have a mistake on the lineWhy I have a mistake on the line game = new Hippodrome();
    • 26.06.2019
    • 1033views
    • 1comment
    0
  • Iasu
    Level 18
    Question about the task Exception invasion
    Java Core, Level 4, Lesson 8
    Under discussion
    I don't understand the requirement 3 her....What the problem here, I don´t see any exceptions twice in the list..
    • 03.07.2019
    • 1539views
    • 1comment
    0
  • Vaishnavi
    Level 8
    Waukesha
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Why is this not working?Whenever I try to run this code, I get this: java.lang.NullPointerException at com.codegym.task.task07.task0716.Solution.main(Solution.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.r
    • 03.07.2019
    • 1260views
    • 1comment
    0
  • Pragati Singh
    Level 7
    Bangalore
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved
    Why doesn't the last condition get fulfilled.Explain?
    • 29.06.2019
    • 1334views
    • 2comments
    0
  • Deep Maheshwari
    Level 10
    Nanded
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    What's wrong with my code it's running finely?I have run this code for custom test cases but while verifying it fails to even detect error.... Someone please help...
    • 03.07.2019
    • 1155views
    • 1comment
    0
  • jothilearner
    Level 7
    Chennai
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What is the problem in my code ? I can't met the requirements of the task package com.codegym.task.task04.task0415; /* Rule of the triangle */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner scanner = new Scanner(System.in); int a
    • 05.06.2019
    • 1329views
    • 5comments
    0
  • Nithin
    Level 35
    Hyderabad
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Resolved
    anyone pls help me with date formatlast condition is not verifying
    • 24.06.2019
    • 1462views
    • 2comments
    0
  • Online Learner
    Level 6
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    can someone explain me about this taskwhat is in the task ??
    • 03.07.2019
    • 960views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Correct the bug. Classes and interfaces
    Java Core, Level 9, Lesson 11
    Under discussion
    Help me plsNeed help
    • 29.06.2019
    • 1207views
    • 1comment
    0
  • Stefan Craia
    Level 15
    Bucharest
    Question about the task Even numbers
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Compilation problemAny clues why is that ? in intelij works ... package com.codegym.task.task04.task0435; /* Even numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here for(int i = 0; i <= 100; i++){
    • 02.07.2019
    • 1281views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Mirror image
    Java Core, Level 9, Lesson 11
    Under discussion
    I need helpPls give me a code for my full understanding. My code is empty, because i tired and delete her
    • 29.06.2019
    • 1152views
    • 2comments
    0
  • Nobody
    Level 37
    Seattle
    Question about the task Build a tree (part 5)
    Java Collections, Level 1, Lesson 15
    Under discussion
    I'm stuckdon't have any clue
    • 10.06.2019
    • 1575views
    • 1comment
    0
  • Anonymous
    Level 18
    Question about the task Finding data inside a file
    Java Core, Level 8, Lesson 11
    Resolved
    Can someone explain this task to me?maybe just give me an output example, I can't exactly comprehend ,what we have to do
    • 27.06.2019
    • 1237views
    • 2comments
    0
  • Anonymous
    Level 18
    Question about the task Spaces
    Java Core, Level 8, Lesson 11
    Resolved
    what's wrong?.
    • 24.06.2019
    • 1427views
    • 6comments
    0
  • Chinwe Ibegbu
    Level 8
    Accra
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    HELPI have been stuck here for many a day. I keep getting Null Point Errors or something of the sort and I understand ish why I do but I cannot see a way out of it.
    • 03.07.2019
    • 1271views
    • 7comments
    0
  • Mukesh Vudayagiri
    Level 10
    Ferokh
    Question about the task Feng Shui and statics
    Java Syntax, Level 6, Lesson 11
    Under discussion
    What's wrong.Please explain what's mistake.
    • 01.09.2018
    • 1959views
    • 8comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Trouble with Multiplication Table I'm failing on the requirement of each line displaying 10 numbers with spaces in between. What am I missing? Your feedback is much appreciated.
    • 02.07.2019
    • 1379views
    • 6comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Failing on last requirement. What am I missing? The output seems to match the program requirements. Can anyone offer assistance? Thanks in advance.
    • 03.07.2019
    • 1175views
    • 4comments
    0
  • Ankita Patra
    Level 5
    Bhubaneshwar
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Resolved
    Plzz help me out. Actually I'm not getting the question!!
    • 02.07.2019
    • 1459views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    Help me pls,guysWhat i can do this?
    • 28.06.2019
    • 1436views
    • 1comment
    0
  • Ankita Patra
    Level 5
    Bhubaneshwar
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    What's wrong in this code?
    • 02.07.2019
    • 1309views
    • 2comments
    0
  • 1
  • ...
  • 302
  • 303
  • 304
  • 305
  • 306
  • ...
  • 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