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
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    I am confusedWhy task Codition is not met
    • 18.07.2019
    • 1141views
    • 3comments
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    can anyone explain me whats wrong with the codewhat mistake am i done
    • 07.07.2019
    • 1183views
    • 5comments
    1
  • Riya
    Level 8
    Karnal
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    the program running properly and showing desired outputthe 3rd requirement is also done. Still not verifying.
    • 16.10.2018
    • 2179views
    • 4comments
    1
  • hidden #10480161
    Level 8
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Is this an error?I can't find the problem here, when I Verify, it says "Be sure that the program works correctly with negative numbers." and it does.
    • 03.07.2019
    • 1226views
    • 3comments
    0
  • Laurap5
    Level 9
    Vilnius
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Please help I'm receiving the correct answer, but verification unsuccessful.
    • 04.12.2018
    • 2275views
    • 9comments
    2
  • Voris
    Level 10
    Tashkent
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    I can't find my mistake. Error : reached end of file while parsingpublic class Solution { public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); int[] house = new int[15]; int even = 0; int odd = 0; for(int i = 0; i < 15; i++)
    • 23.06.2019
    • 1761views
    • 2comments
    2
  • Dona
    Level 7
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Under discussion
    not workingplease someone help me to solve this code.
    • 11.07.2019
    • 1087views
    • 1comment
    1
  • Mike McKenna
    Level 25
    Wilmington
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    i can not get by last condition . please help#'s i used are 5,5,2,8 Thanks
    • 22.07.2019
    • 1268views
    • 3comments
    0
  • Anonymous #10438472
    Level 40
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    Which test scenario am I missing?Could you please help me to find which scenario I am missing here? It seems to work wit different number of spaces but still it doesn't pass.
    • 11.06.2019
    • 1635views
    • 8comments
    0
  • SefoBe
    Level 16
    Paris
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    What is missing ?Please tell me what is missing
    • 11.07.2019
    • 996views
    • 4comments
    0
  • José Francisco Aranda
    Level 8
    Question about the task Minesweeper (Part 4/16)
    Games, Level 0, Lesson 0
    Resolved
    Help with the taskHelp with my task
    • 22.07.2019
    • 1483views
    • 1comment
    0
  • Christian Djanea
    Level 7
    Mount Laurel
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What do I do wrong?I have tried this code into IntelliJ Idea with several inputs and it seems to be working well, but here I am getting Green and Yellow don't work. You could see my thought process in the code below. Thanks for your help
    • 15.07.2019
    • 1169views
    • 3comments
    0
  • hidden #10484120
    Level 13
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Resolved
    Does it matter the order of the lines? Hi, I just had a question regarding this task: I had an error when I was posting the solution like this: public class Solution { public static void main(String[] args) { Cat cat = new Cat(); cat.owner = woman; Dog dog = new Dog(); dog.owner = woman;
    • 13.07.2019
    • 1725views
    • 6comments
    2
  • Nitin raj
    Level 12
    Mumbai
    Question about the task HashMap of cats
    Java Syntax, Level 8, Lesson 3
    Under discussion
    What the problem here please helpGuyzz check whats the problem is
    • 20.07.2019
    • 1240views
    • 1comment
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Correct answer: d = 2.941
    Java Syntax, Level 10, Lesson 11
    Under discussion
    i am able to get the output correctly but not satisying the conditionwhere am i done wrong
    • 22.07.2019
    • 996views
    • 2comments
    0
  • Jen P
    Level 26
    Question about the task Task No. 1 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Resolved
    Why there is no "Arithmetic Error" when calculating d = (a + f/c +b) where byte c is actually 0 ?I specifically print out the result : System.out.println("f/c = " + f/c); //f/c = Infinity , where f is double but this will get ArithmeticException : System.out.println("d/c = " + d/c); // ArithmeticException : / by zero , where d is long Why there is a difference? Why both of them throw Arithmet
    • 22.07.2019
    • 1163views
    • 1comment
    1
  • Denis
    Level 22
    Kharkiv
    Question about the task Deserialization
    Java Core, Level 10, Lesson 10
    Under discussion
    What is wrong guysNeed help
    • 30.06.2019
    • 1291views
    • 1comment
    0
  • Nithin
    Level 35
    Hyderabad
    Question about the task Deserialization
    Java Core, Level 10, Lesson 10
    Resolved
    what is wrong hereplease help
    • 04.06.2019
    • 1388views
    • 5comments
    0
  • captain jack
    Level 9
    Mumbai
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    help me pleasewhat should I do to duplicate it
    • 13.07.2019
    • 1497views
    • 2comments
    0
  • sowmya
    Level 6
    Chennai
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    whats wrong with below code?package com.codegym.task.task04.task0414; /* Number of days in the year */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { InputStream inputStream= System.in; Reader inputStreamReader = new InputStreamReader(inputStream);
    • 16.10.2018
    • 2173views
    • 5comments
    0
  • Anita Pal
    Level 14
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    Plzz help me,what is wrong in String s2package com.codegym.task.task03.task0316; /* Escaping characters */ public class Solution { public static void main(String[] args) { String s1 = "This is a Windows path: "; String s2 = "C:\\Program Files\\Java\\jdk1.8.0_172\\bin"; String s3 = "This is a Java string: "
    • 19.07.2019
    • 1299views
    • 2comments
    0
  • dean
    Level 8
    Deutschland
    Question about the task More Sam-I-Am
    Java Syntax, Level 7, Lesson 9
    Under discussion
    memory heap errorwhy?
    • 22.05.2019
    • 1299views
    • 7comments
    0
  • Husain Kothari
    Level 20
    Mumbai
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Resolved
    My program outputs the most frequently used bytes but does not verifyresult = result.substring(0,result.length()-1); is used just to remove the last trailing space.
    • 21.07.2019
    • 1537views
    • 2comments
    0
  • Nishant Bhatia
    Level 13
    Navi Mumbai
    Question about the task Snake (Part 17/20)
    Games, Level 0, Lesson 1
    Resolved
    What is the bug?Problems with createNewApple() method.
    • 20.07.2019
    • 1126views
    • 3comments
    0
  • fran
    Level 14
    Cordoba
    Question about the task The isomorphs are coming
    Java Core, Level 2, Lesson 12
    Resolved
    I really don't know how to verify the fourth conditionI complete the task but i can't verify the specific condition and get an error when validate the code.
    • 13.02.2019
    • 1736views
    • 4comments
    1
  • Yash
    Level 15
    Sugar Hill
    Question about the task What sort of list is that?
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Right output not acceptedMy output is correct but is not accepted.
    • 29.05.2019
    • 1652views
    • 3comments
    0
  • Steve
    Level 9
    Denver
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    My "love" is not getting printed twice??? else if(x.indexOf('l')!=-1){ list.add(i, x); i++; }
    • 20.07.2019
    • 1306views
    • 2comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Move one static modifier
    Java Syntax, Level 7, Lesson 12
    Under discussion
    Help with access modifiers I solved the task relatively easily; however, I feel that my understanding of access modifiers is pretty fuzzy. If anyone can suggest any resources with a clear explanation of this concept, i'd appreciate it.
    • 20.07.2019
    • 1382views
    • 2comments
    0
  • Jay
    Level 17
    Washington
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Struggling with this one When I run my program, it's not duplicating the word "love" even though I added to the list(at least that's what I thought I did). What is the problem? Thanks in advance.
    • 19.07.2019
    • 1134views
    • 2comments
    0
  • vish
    Level 3
    Bangalore
    Question about the task Calculate the circumference of a circle
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Can anyone help with code? public class Solution { public static void main(String[] args) { printCircleCircumference(5); } public static void printCircleCircumference(int radius) { radius = 5; double pi = 3.14; double C = 2*pi*radius; System.out.println(C);
    • 12.07.2019
    • 2170views
    • 3comments
    0
  • 1
  • ...
  • 295
  • 296
  • 297
  • 298
  • 299
  • ...
  • 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