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
  • sourav bamotra
    Level 20
    jammu
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Resolved
    3rd and 4th requirement,sorry about the format. I'm typing it from the phone keyboard only, so ignore the format ^_^ --> Code working fine on ide. But it's 3rd condition indicating me not to repeat displaying same bytes.
    • 07.10.2020
    • 451views
    • 8comments
    0
  • Onur Bal
    Level 27
    Istanbul
    Question about the task Iterating through a file tree
    Java Collections, Level 1, Lesson 2
    Archived
    Condition 3 Passes While Others FailCan anyone tell me what's wrong with my code? Since the third condition ("The contents of every file that is 50 bytes or smaller must be sorted by file name and written to the allFilesContent.txt file.") passes, you would think the first and second condition must pass as well. As for the fourth cond
    • 07.10.2020
    • 547views
    • 6comments
    0
  • Antonio
    Level 6
    Milano
    Question about the task Jen or Jen?
    Java Syntax, Level 4, Lesson 6
    Resolved
    Can anyone help pleaseee package com.codegym.task.task04.task0421; /* Jen or Jen? */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Strin
    • 07.10.2020
    • 738views
    • 1comment
    0
  • Lgd
    Level 20
    London
    Question about the task Encryption
    Java Core, Level 8, Lesson 11
    Resolved
    the program appears to work as per requirements but wont pass the validation (again !!) . any insight please. many thanksthe program appears to work as per requirements but wont pass the validation (again !!) . any insight please. many thanks
    • 06.10.2020
    • 453views
    • 5comments
    0
  • hidden #10670184
    Level 5
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    What am I doing wrong here?I use a counter to give points based on the stats. Why is it not working?
    • 07.10.2020
    • 582views
    • 1comment
    0
  • Ian De Bie
    Level 28
    Austin
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Resolved
    Can someone please help me?I have gone through each and every item and condition to make sure I have implemented correctly, but it fails every test. I feel like there is some type of bug or something or maybe I am just blind. All I know is it passes all the tests I made in my IDE both getEggCount and getDescription works fl
    • 07.10.2020
    • 847views
    • 1comment
    0
  • Shadow
    Level 7
    Hogsmead
    Question about the task Max constructors
    Java Syntax, Level 5, Lesson 9
    Under discussion
    helppThe output is showing that the class is already defined.( explain me why):)
    • 05.10.2020
    • 665views
    • 1comment
    0
  • keely
    Level 3
    Toronto
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    help please my last condition is not met and it is driving me mad
    • 05.10.2020
    • 469views
    • 4comments
    0
  • Yusuf
    Level 3
    Bradford
    Question about the task Repetition is the mother of all learning
    Java Syntax, Level 2, Lesson 8
    Under discussion
    What have I done wrong I tried it with a String it gave the same error.
    • 04.10.2020
    • 844views
    • 7comments
    0
  • Lgd
    Level 20
    London
    Question about the task Building a file
    Java Core, Level 8, Lesson 11
    Under discussion
    Struggling to validate part3. It seems to work, only wont pass validation. Any insight welcome. tksStruggling to validate part3. It seems to work, only wont pass validation. Any insight welcome. tks
    • 06.10.2020
    • 503views
    • 2comments
    0
  • pratyush prakash
    Level 2
    patna
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    helpI'm not able to figure out the output comes sometimes task is yet not passed
    • 29.07.2020
    • 445views
    • 4comments
    0
  • Tamas Horcsak
    Level 18
    Leeds
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Resolved
    please give me a hint to the solution. the last requirement doesn't match import java.util.*; /* One large array and two small ones */ public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] numbers = new int[20]; for(int i = 0; i < numbers.length; i++) { numbers[i] =
    • 06.10.2020
    • 505views
    • 2comments
    2
  • Rich
    Level 23
    San Diego
    Question about the task Moon Lander (Part 23/23)
    Games, Level 0, Lesson 4
    Under discussion
    done but not without bugs task complete, but there is a bug that makes me crash after a few seconds. can someone help me debug?
    • 04.10.2020
    • 473views
    • 1comment
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task Factorization using recursion
    Java Collections, Level 4, Lesson 2
    Resolved
    Stuck on this one!Any hint will be apreciated, tk you! 🙂
    • 06.10.2020
    • 386views
    • 2comments
    0
  • hidden #10502603
    Level 2
    Question about the task Part of a calculator
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Could someone tell me where is my mistake thanks ?public class Solution { public static void main(String[] args) {
    • 28.11.2019
    • 1178views
    • 3comments
    0
  • Lawson
    Level 29
    Lagos
    Question about the task Refactoring (part 9)
    Java Multithreading, Level 5, Lesson 16
    Resolved
    Pls helpI'm pretty sure I created the size class
    • 04.10.2020
    • 513views
    • 1comment
    0
  • sourav bamotra
    Level 20
    jammu
    Question about the task Transactionality
    Java Core, Level 7, Lesson 10
    Under discussion
    am i not reading it line by line ?5 and 6th requirement not passing.
    • 05.10.2020
    • 470views
    • 6comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task Combining files
    Java Core, Level 8, Lesson 11
    Resolved
    How can I indicate to the outputstream to start writing before the first character of file1How can I indicate to the outputstream to start writing before the first character of file1?
    • 22.08.2019
    • 1344views
    • 3comments
    0
  • Anatoly
    Level 17
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Can't pass ValidationWorking fine so far - but not validating :(
    • 06.10.2020
    • 447views
    • 1comment
    0
  • Chigozie
    Level 11
    Lagos
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    need help with my codemy code doesn't fulfill the second to the last requirement
    • 21.06.2020
    • 708views
    • 3comments
    0
  • Anonymous #10410173
    Level 22
    Delhi
    Question about the task Request parser
    Java Core, Level 5, Lesson 12
    Under discussion
    Help Me Out. i Am Stuck in 3rd condition , i can't debug any more , plz help me out.
    • 05.10.2020
    • 668views
    • 5comments
    0
  • Vitalina
    Level 20
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    What's wrong with my code?What's wrong with my code?
    • 04.10.2020
    • 501views
    • 2comments
    0
  • Vitalina
    Level 20
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Please check my codeHi! I think that everything has to work out in my code. But CodeGym doesn't think so...what's wrong? Thanks in advance:)
    • 04.10.2020
    • 401views
    • 4comments
    0
  • Maxine Hammett
    Level 19
    San Diego
    Question about the task Take your turn!
    Java Core, Level 6, Lesson 13
    Resolved
    Cannot pass last taskI'm lost. My output display a, b, c new line a, b, c, d, e, f I played around with the join methods but still don't understand what i'm doing. Your help is appreciated.
    • 28.09.2020
    • 384views
    • 1comment
    0
  • Henrique
    Level 41
    São Paulo
    Question about the task A wise man thinks once before speaking twice
    Java Multithreading, Level 6, Lesson 8
    Under discussion
    Why does it say that "'synchronized(this)' isn't suitable here", if we must use it to pass the task?This code was verified, so what I didn't get? public int getSumOfVar1AndVar2() { synchronized (this) { return var1 + var2; } } public int getSumOfVar3AndVar4() { synchronized (Solution.class) { return var3 + var4; } }
    • 06.08.2020
    • 552views
    • 1comment
    0
  • catalinene
    Level 29
    Greven
    Question about the task Find a substring
    Java Multithreading, Level 2, Lesson 5
    Under discussion
    Why doesn't this solution work?I passed the task using the split() method, but the first solution I had also delivered the same output, but failed the test (code below): public static void main(String[] args) { System.out.println(getPartOfString("Amigo and Diego are best friends!")); } public static String getPa
    • 19.03.2020
    • 1104views
    • 1comment
    2
  • Valuev Nutt
    Level 4
    Chiba
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    How do I get it to print more than just the first inputIt just prints winter and then stops:(((
    • 19.09.2020
    • 535views
    • 4comments
    0
  • Berkay Gültekin
    Level 22
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Resolved
    Help!Can someone explain me what is wrong ?
    • 03.10.2020
    • 377views
    • 4comments
    0
  • andy 6473
    Level 9
    Bangalore
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    can some one help me with what is wrong with the code .jasfaSJbv;sdkjvb;szjbv;sdh pmlsifnvupm uzygpsihg;zs
    • 07.07.2020
    • 812views
    • 4comments
    0
  • Jan Elšík
    Level 41
    Prague
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Resolved
    Where am I wrong?Hi, first I thought that the problem was in not doing the try/catch on converting, but the validator will not accept even the double (I know that some try/catch blocks are missing) and it will not accept "exit". I know that I have some stupid mistake there regarding the understanding of the assign
    • 02.10.2020
    • 487views
    • 2comments
    0
  • 1
  • ...
  • 127
  • 128
  • 129
  • 130
  • 131
  • ...
  • 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