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
  • catalinene
    Level 29
    Greven
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Output looks good only if the 10 numbers match the task descriptionHello there, If i input the numbers as in the task description the output is right (3) , but if I enter: 1,2,3,4,5,6,7,7,7,7 the "sequences" list only has [1,1,1,1,1,1] in it so the output is is going to be wrong. Don't see where my mistake is. Thanks in advance!
    • 25.11.2019
    • 917views
    • 1comment
    0
  • krystian
    Level 9
    Kozle
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Can someone help?? import java.io.*;
    • 24.11.2019
    • 790views
    • 5comments
    0
  • Adam S
    Level 22
    Gliwice
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    Can anyone have a look, pls?I've tried to do it in InteliJ and the program is not printing the output at all, the program is running but shows nothing...:/ What's wrong?
    • 24.11.2019
    • 1031views
    • 1comment
    0
  • Nitin raj
    Level 12
    Mumbai
    Under discussion
    As i m confused How a non-static variable C can access static variable A in it. this is a task from level 6 lesson 11 task 3. please help me out I m confusedpublic class Solution { public static int A = 5; public int B = 2; public static int C = A * B; public static void main(String[] args) { A = 15; } }
    • 03.07.2019
    • 860views
    • 1comment
    0
  • jawad
    Level 10
    Lahore
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Whats the problemIt says cannot find arr class location
    • 24.11.2019
    • 780views
    • 2comments
    0
  • chinna gnanesh
    Level 9
    Chennai
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Help meI don't know what's wrong Even it is working for negative numbers too but still 4th req is not paasing
    • 11.11.2019
    • 977views
    • 6comments
    0
  • Amadeo Findlay
    Level 4
    Naperville
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    My code works but not sure why it syas its wrong??requirements 2 - 5 all come up as wrong, but I'm not sure why. I've tested the code for each condition and it works properly but its still saying that im not printing the result to the screen and that I'm not showing the right answer?
    • 23.11.2019
    • 908views
    • 2comments
    0
  • towelie8
    Level 16
    Darmstadt
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Why?-.-
    • 15.11.2019
    • 1412views
    • 5comments
    0
  • ~mK
    Level 7
    Princeton, NJ
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Same problemI think it is a problem at their end. My output is identical to the required output. They charge $ 30 /month. But why should I waste my time for a back end error?
    • 18.11.2019
    • 1012views
    • 4comments
    0
  • Yash
    Level 15
    Sugar Hill
    Question about the task 2048 (Part 6/18)
    Games, Level 0, Lesson 2
    Resolved
    Verification not helping"Be sure that the values of the tiles on the game board correspond to the values in the matrix." but they do
    • 23.11.2019
    • 1526views
    • 3comments
    0
  • kirti
    Level 8
    Question about the task This age doesn't work for me…
    Java Syntax, Level 4, Lesson 1
    Resolved
    helpppp....although i am getting the correct result but why is it not fulfilling the last requirement....please help
    • 02.09.2018
    • 2618views
    • 4comments
    0
  • pierre
    Level 9
    Beijing
    Under discussion
    Part of a calculator: I get the result but apparently i don't respect a requirement => "The program should have two int variables a and b." package fr.codegym.task.task02.task0207; /* Part of a calculator */ public class Solution { public static void main(String[] args) { int a = 3,b = 7; su
    • 24.11.2019
    • 946views
    • 2comments
    0
  • hidden #10559307
    Level 8
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Not accepting. what is the issue with my code?thanks in advance.
    • 23.11.2019
    • 833views
    • 4comments
    0
  • Luyi
    Level 31
    Kosice
    Question about the task Reversing a file
    Java Core, Level 8, Lesson 5
    Resolved
    !code spoiler! why empty lines -> code was properly validated" public class Solution { public static void main(String[] args) throws FileNotFoundException,IOException { BufferedReader bufferedReader1 = new BufferedReader(new InputStreamReader(System.in)); BufferedReader bufferedReader2 = new BufferedReader(new InputStreamReader(System.in)
    • 28.07.2019
    • 1299views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task OOP: Method overloading
    Java Core, Level 5, Lesson 12
    Under discussion
    help me pls with thisi would like to think this
    • 26.06.2019
    • 1127views
    • 2comments
    0
  • TARAS
    Level 22
    Lviv
    Question about the task Minimum number of statics
    Java Syntax, Level 6, Lesson 11
    Resolved
    What it does? new Solution().method3(); Does it create a new Object? But any object need to have a reference ... Have we study it yet? googled so its the same as Solution refname = new Solution(); refname.method3(); but it runs only once and dies after?
    • 22.11.2019
    • 1112views
    • 1comment
    0
  • Clarendon lee
    Level 8
    Baltimore
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Task requirements are not metWhat's wrong with my code? Should be use "ArrayList " ? Why? Thanks you very much.
    • 14.11.2019
    • 1036views
    • 4comments
    0
  • Clarendon lee
    Level 8
    Baltimore
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    I think my code is good. What's wrong?Output is good. Verify say : task no met.? Thanks for your help!
    • 23.11.2019
    • 1094views
    • 4comments
    0
  • Alex
    Level 24
    Sibiu
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Under discussion
    Failed to 5 - 8 requirements. Works on the IDEHi. Can anyone help me please ? It works fine on IDE, but it fails at 5 - 8 package com.codegym.task.task17.task1721; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.io.*; /* Transactional
    • 16.11.2019
    • 1267views
    • 6comments
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Help needed! Why is the output this: [Name: jose, sex: male, age: 55, children: jose, maria, Name: maria, sex: female, age: 56, children: jose, maria] [Name: mario, sex: male, age: 57, children: jose, maria, Name: ze, sex: female, age: 54, children: jose, maria] [Name: gaspar, sex: male, age: 35, children: mari
    • 08.07.2019
    • 1416views
    • 1comment
    0
  • Maciej Kowalik
    Level 23
    Sławno
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    What is wrong?What is wrong?
    • 16.07.2019
    • 942views
    • 1comment
    0
  • JeRiF94
    Level 22
    Baku
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Under discussion
    Problem fix;I understand the ASCII sort order is included in TreeMap , but something is wrong with it . The problem is , that program running in IDE , and everything is right , I check it 10 times; But compile say me that I am stupid , help me to understand what I am doing wrong;
    • 25.07.2019
    • 1163views
    • 2comments
    0
  • ali moussavi
    Level 0
    Under discussion
    amigoje sais pas quoi écrire !!!!!!!!!!!!!!!!!!!!!! ??????
    • 22.11.2019
    • 994views
    • 1comment
    0
  • ali moussavi
    Level 0
    Under discussion
    amigo est très ingeniosoje sais pas quoi écrire !!!!???????
    • 22.11.2019
    • 1158views
    • 1comment
    0
  • Sarah Suß
    Level 25
    Hamburg
    Under discussion
    Empty Tasks without Class and Requirements, how to solve?I've come across an empty task several times now. How do I get it to display properly? The first time I had this, I just created a class by hand, put in main method and my code, but when I want to hand it in or run the code it just becomes grey and nothing happens. What do I do? System: MacBook Air
    • 22.11.2019
    • 869views
    • 3comments
    1
  • hidden #10559160
    Level 3
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    what's wrong?public class Solution {
    • 23.11.2019
    • 971views
    • 2comments
    0
  • Yash
    Level 15
    Sugar Hill
    Question about the task Deep and pure love
    Java Syntax, Level 3, Lesson 8
    Resolved
    Says I made a typo, can't find it.My mentor says I made a typo but I cant find it help.
    • 14.05.2019
    • 1353views
    • 4comments
    0
  • Lynsay
    Level 3
    Woolmer Green
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Where am I going wrong compile errorpublic class Solution { public static void mai
    • 23.11.2019
    • 1112views
    • 1comment
    0
  • Keith Emery
    Level 17
    Saint Louis
    Question about the task Clew
    Java Core, Level 6, Lesson 13
    Resolved
    Why is thread four failing validation?I have looked at the answers here and none of them make sense to me. It seems like they all say not to explicitly call showWarning(). My code fails saying I have not implemented the message interface. Thread four isAlive when I start it in main() but isAlive is never true when tested within the thre
    • 05.11.2019
    • 1504views
    • 6comments
    0
  • Nico
    Level 17
    Tyrol
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    First, i check the output with "run" and everything is normal, but when i press "verify", 3 of ten "8" disappear.Everytime i run the code, the output is: 8888888888 8 8 8 8 8 8 8 8 8 But when i press verify, 3 eights of the vertical line disappear. (sry for my bad english)
    • 22.11.2019
    • 1128views
    • 2comments
    0
  • 1
  • ...
  • 252
  • 253
  • 254
  • 255
  • 256
  • ...
  • 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