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
  • hidden #10424566
    Level 7
    Question about the task Even numbers
    Java Syntax, Level 4, Lesson 13
    Resolved
    My output looks fine but i still get this errorMy output looks fine but i still get this error
    • 07.02.2019
    • 1748views
    • 4comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Resolved
    I have no ideaI just can't get this task Please help
    • 12.01.2020
    • 1638views
    • 8comments
    0
  • Ákos Kovács
    Level 10
    Budapest
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    What should I fix in this code?I tested manually, it seems ok. Validation says: "Be sure that the program displays the maximum number."
    • 13.01.2020
    • 1390views
    • 4comments
    0
  • Ákos Kovács
    Level 10
    Budapest
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Resolved
    Unable to call constructor inside a constructorI am not sure, how to do this call, I just know, that it should be first statement.
    • 13.01.2020
    • 1023views
    • 2comments
    0
  • Jo88
    Level 4
    Boston
    Under discussion
    Discouragement so I came across a task that stumped me today..the one on calling methods..I didn't really see anything bout calling methods in the reading... I HATE using the "hint" button because I want to do it one my own..it didn't make sense but looked up calling methods on youtube..and think I understand now
    • 14.01.2020
    • 794views
    • 1comment
    0
  • Eike Holtzhauer
    Level 22
    Tostedt
    Question about the task Adapting multiple interfaces
    Java Core, Level 9, Lesson 3
    Under discussion
    Last condition(number-format) is not met, but why?Hi, does anyone know why the last condition is not met. Error "The getPhoneNumber() method should return a valid phone number (see the examples), padded with zeros if necessary to get 10 digits. The phone number and its country code should be retrieved using the data field's getPhoneNumber() and ge
    • 26.08.2019
    • 1058views
    • 2comments
    0
  • null
    Level 29
    Poznan
    Question about the task Adapting multiple interfaces
    Java Core, Level 9, Lesson 3
    Under discussion
    Can't meet requirements for phone formatAs topics says, I think it works well, however it can't pass the verification. Thanks for help
    • 21.08.2019
    • 1044views
    • 3comments
    0
  • Ntuthuko Xaba
    Level 18
    Johannesburg
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    After multiple attempts I still can't solve this - please helpAfter multiple attempts I still can't solve this - please help
    • 12.01.2020
    • 1404views
    • 2comments
    0
  • Diana Pettit
    Level 4
    Mobile
    Question about the task Time conversion
    Java Syntax, Level 3, Lesson 5
    Under discussion
    Ive done this 1000 different ways. Why isn't it working???Please help me!
    • 11.01.2020
    • 1026views
    • 5comments
    0
  • John Doe
    Level 18
    london
    Question about the task User, loser, coder and programmer
    Java Core, Level 4, Lesson 8
    Under discussion
    I really have a problem with the concept of inhert and interface if someone have an idea how i can finally understand it it will be very helpful for me I'm not getting how interface is working i don't know why he doesn't like User/Loser/Coder/Programmer when i'm using instance of
    • 11.01.2020
    • 908views
    • 2comments
    0
  • Facundo Villarroel
    Level 20
    Berlin
    Question about the task Food
    Java Core, Level 4, Lesson 4
    Under discussion
    Need some help to clarify conceptsI was able to do the task, but some things are not clear and I'd like if someone can help me clarify: When we declare Selectable selectable = new Food(); What does exactly the created object references to? We cannot instantiate an interface... So, are we actually creating a Food object, but the
    • 06.01.2020
    • 1127views
    • 1comment
    0
  • Daniel W Hair
    Level 8
    Salt Lake City
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Code is compiling and gives required output. However, the final check say's "Check that the program displays only the required string and nothing else."This is my code /* Plan to conquer the world */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { int number; String name; Scanner console = new Scanner(System.in); System.out.print("Enter number: ");
    • 13.01.2020
    • 1185views
    • 2comments
    0
  • Eike Holtzhauer
    Level 22
    Tostedt
    Question about the task Splitting a file
    Java Core, Level 8, Lesson 5
    Under discussion
    Only first requirement are met - but it works in external IDE Hi Does anyone have an idea why codegym doesn´t match the requirements? I have double-checked my code in eclipse and it process files as requested. Cheers Eike
    • 16.08.2019
    • 942views
    • 1comment
    0
  • Ashok Rai
    Level 3
    Kathmandu
    Question about the task Task with percentages
    Java Syntax, Level 3, Lesson 3
    Under discussion
    Can anyone instruct me how to solve it ?
    • 05.12.2018
    • 2537views
    • 4comments
    0
  • hidden #10426208
    Level 11
    Question about the task Array of string lists
    Java Syntax, Level 10, Lesson 11
    Under discussion
    what wrong am I doing? public static ArrayList[] createList() { //write your code here ArrayList[] list = new ArrayList[5]; for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { list[i].add(i + " " + j); } } return list; }
    • 12.01.2020
    • 1145views
    • 4comments
    0
  • Lirca Vlad
    Level 11
    Brasov
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved
    pricemy programm is correct but it s appear an error like i didn t increase with 1000 ? where is the problem ? thanks
    • 07.01.2020
    • 1182views
    • 2comments
    0
  • krystian
    Level 9
    Kozle
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Any hints here? public class ConsoleReader { public static String readString() throws Exception {
    • 12.01.2020
    • 951views
    • 1comment
    0
  • SOUFIANE DAHIMI
    Level 32
    Marrakech
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Under discussion
    Please can someone tell what's wrong with this code ; I think it's correct please help
    • 03.01.2020
    • 1048views
    • 2comments
    0
  • Pedzi
    Level 22
    Cape Town
    Question about the task To the top of the list
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Please help, all my elements are being printed on a new line. I don't get why the last condition is failing package com.codegym.task.task07.task0710; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* To the top of the list */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list= new ArrayList();
    • 12.01.2020
    • 999views
    • 3comments
    0
  • Facundo Villarroel
    Level 20
    Berlin
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Requirements should be passing, it is doing what it's supposed to doEven using the web compiler, and the two long words are displayed, the tasks is still not passing. Any ideas? Thanks
    • 13.10.2019
    • 1747views
    • 7comments
    0
  • krystian
    Level 9
    Kozle
    Question about the task Distance between two points
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Any hints What to add here? public class Util { public static double getDistance(int x1, int y1, int x2, int y2) {
    • 12.01.2020
    • 953views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Bingo!
    Java Core, Level 4, Lesson 2
    Under discussion
    its very easy, but i cant understandcan everybody help me?
    • 25.06.2019
    • 1216views
    • 2comments
    0
  • Creepah
    Level 15
    Question about the task Sorting even numbers from a file
    Java Core, Level 3, Lesson 11
    Archived
    Numbers can be negative errorIt says: recommendation from your mentor Bear in mind that numbers can be negative. But when I test it in IntellIJ IDEA with a file, it gives correct output for negative numbers as well. Input used: 1 2 3 4 5 6 -4 -4 7 7 -2 -7 -1 -46 Output given: 2 4 6 -4 -4 -2 -46
    • 20.11.2019
    • 1167views
    • 2comments
    1
  • max
    Level 8
    livorno
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    where is the mistake?i'm not able to validate my code as the replay from the system is that the green condition is not met and i don't understand the reason. Here below my code:
    • 06.01.2020
    • 1290views
    • 3comments
    0
  • Hendra
    Level 8
    Medan
    Question about the task ConsoleReader class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    help...what wrong with my code,stucked with the last requirementpackage com.codegym.task.task06.task0610; import java.io.BufferedReader;
    • 11.01.2020
    • 1038views
    • 5comments
    0
  • Alexander Shtunder
    Level 41
    San Francisco
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Resolved
    Who will help me?Checked my code on 10 different files. Everything works fine, but the last condition fails.
    • 31.08.2019
    • 1592views
    • 3comments
    0
  • Pippo
    Level 9
    Padova
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    I don't understand why it doesn't accept thisGuys, the output is right, sorry but I can't figure it out where is the mistake.
    • 21.07.2019
    • 1902views
    • 3comments
    0
  • Ice_ Beam
    Level 7
    Resolved
    Math equation with % (modulo) clarification helpint k = 50; int a = (k/5) * k + (k/2) % 2; System.out.print(a); // it prints out 501 // say that I calculated (k/5)*k+(k/2) already together which is 525 so int a = 525 % 2; System.out.print(a); // it prints out 1 Why is the first answer different than my second one?
    • 11.01.2020
    • 991views
    • 2comments
    0
  • John Doe
    Level 18
    london
    Question about the task Wine tasting
    Java Core, Level 4, Lesson 8
    Archived
    I really don't know what I miss on this exam can someone help me please ?
    • 10.01.2020
    • 1217views
    • 4comments
    0
  • John
    Level 27
    Washington DC
    Question about the task Snake (part 13)
    Java Multithreading, Level 2, Lesson 18
    Under discussion
    This is exasperating...I don't know why this isn't validating. I created a separate test with sample "levels" from 0 - 20 and received correct output for each level.
    • 10.01.2020
    • 1154views
    • 1comment
    0
  • 1
  • ...
  • 239
  • 240
  • 241
  • 242
  • 243
  • ...
  • 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