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
  • Jeanne Vo
    Level 22
    Olympia
    Question about the task Vowels and consonants
    Java Syntax, Level 9, Lesson 11
    Under discussion
    "Just" a little tiny bug!Could you please help me to spot it out? The result was something like this: a I A S m m .
    • 13.07.2020
    • 666views
    • 1comment
    1
  • Mariam
    Level 9
    Columbus
    Question about the task More Sam-I-Am
    Java Syntax, Level 7, Lesson 9
    Resolved
    It Works but Compiler Does Not Excepts. Please HelpIt Works but Compiler Does Not Excepts. Please Help
    • 11.09.2020
    • 682views
    • 3comments
    6
  • An Gelo
    Level 18
    Cebu
    Question about the task Feng Shui and statics
    Java Syntax, Level 6, Lesson 11
    Resolved
    static variablesCan someone help me what do you mean by move. i tried to add make int A a static variable so it can be passed but if i erased the static in int C i wont cause im using static A & B please help me undestand thanks..
    • 16.08.2018
    • 1841views
    • 5comments
    1
  • Santosh Kumar
    Level 19
    Gagret
    Question about the task OOP: Method overloading
    Java Core, Level 5, Lesson 4
    Resolved
    printMatrix method giving ErrorNot verifing the first requirement.
    • 08.03.2019
    • 2238views
    • 4comments
    5
  • Cristian
    Level 16
    Bucharest
    Question about the task OOP: Method overloading
    Java Core, Level 5, Lesson 4
    Under discussion
    What's wrong here? Thank you very much! package com.codegym.task.task15.task1507; import javax.lang.model.type.NullType; /* OOP: Method overloading */ public class Solution { public static void main(String[] args) { printMatrix(2, 3, "8"); printMatrix(2, 3, 5L); printMatrix(2, 3, 6d); printMatrix(2,
    • 26.05.2021
    • 494views
    • 1comment
    1
  • Jyothi
    Level 20
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Resolved
    task08.task0802 - HashMap of 10 pairstask08.task0802 - HashMap of 10 pairs Initialization failing verify. why?
    • 11.12.2018
    • 1884views
    • 3comments
    2
  • catalin1989
    Level 37
    Question about the task Shuffled just in time
    Java Syntax, Level 13, Lesson 7
    Under discussion
    Works fine in IntelliJ but doesn't pass the test. Can someone give me a hint why?public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayListlist=new ArrayList(); System.out.println("Enter the length of the list: "); String s= reader.
    • 19.09.2023
    • 176views
    • 2comments
    0
  • FelixUjo
    Level 35
    Gijón
    Question about the task Fix four mistakes
    Java Core, Level 4, Lesson 8
    Under discussion
    I do not understand the task conditionsI do not understand the task conditions
    • 17.09.2023
    • 179views
    • 1comment
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task Equals and HashCode
    Java Multithreading, Level 1, Lesson 5
    Resolved
    Where is the ErrorPlease Help
    • 23.04.2019
    • 1530views
    • 2comments
    1
  • Arjun Kiruthivasan
    Level 14
    Chennai
    Question about the task Correct answer: d = 1.0
    Java Syntax, Level 10, Lesson 11
    Resolved
    where am i wrong??my o/p is correct not completed the task!!
    • 25.09.2018
    • 1948views
    • 4comments
    1
  • Dipankar Sinha
    Level 22
    United States of America
    Under discussion
    it is asking the ; after while package en.codegym.task.pro.task04.task0406; import java.util.Scanner; /* We show what we get */ public class Solution { public static void main(String[] args) { //write your code here Scanner sc = new Scanner (System.in); while (sc.hasNextLine()) {
    • 17.09.2023
    • 168views
    • 2comments
    0
  • matemate123
    Level 50
    Kraków
    Question about the task 2048 (part 5)
    Java Multithreading, Level 10, Lesson 15
    Under discussion
    Question from category: is any difference?I don't pass last condition like I thought. I suposed that primitives instance variable are initialize to default value (0, false) when object class is created, and because that I don't initialize it in constructor. Is there any difference between initializing them in the constructor or not, or is
    • 11.08.2023
    • 237views
    • 3comments
    0
  • Nitin Saini
    Level 4
    Question about the task We show what we get
    Java Syntax, Level 4, Lesson 4
    Under discussion
    what are the problems here please helphelp
    • 28.03.2023
    • 405views
    • 4comments
    2
  • Hypnotoad
    Level 4
    Manila
    Question about the task To work or not to work? That is the question
    Java Syntax, Level 3, Lesson 6
    Under discussion
    About "inclusive" It stated 60 (inclusive), so as I understand it should be: if(age < 20 || age >=60) but solution is: if(age < 20 || age > 60) - its not inclusive
    • 17.09.2023
    • 163views
    • 1comment
    0
  • Spooky 999
    Level 5
    Zolwer
    Question about the task There's never too much of a good thing
    Java Syntax, Level 4, Lesson 5
    Under discussion
    Why does it not accept?After asking myself sometime, i showed me the solution and it was the same. Can someone help me? Thanks.
    • 01.07.2023
    • 274views
    • 3comments
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Your own enum
    Java Multithreading, Level 5, Lesson 2
    Resolved
    Please HelpI'm not sure how I'm supposed to be implementing the hide() method. The configureColumns() method already marks all hidden columns with "-1" in realOrder[]. In fact, I made use of this fact in the getVisibleColumns() method, and that part is correct. Edit: never mind, misread the main() method an
    • 02.03.2021
    • 677views
    • 1comment
    2
  • Artur Jarosz
    Level 30
    Lublin
    Question about the task Using JSON to convert from one class to another
    Java Collections, Level 3, Lesson 5
    Under discussion
    It works but doesn't pass tests...Well, I think that it does what is should do... Can somebody give me a little hint what's wrong with it?
    • 26.12.2019
    • 1206views
    • 5comments
    0
  • Reyaz Ahmad Bhat
    Level 4
    Anantnag Jammu And Kashmir
    Question about the task Summation
    Java Syntax, Level 4, Lesson 3
    Under discussion
    Solution Scanner scanner = new Scanner(System.in); int sum = 0; boolean done = false; while (!done) { String input = scanner.nextLine(); if (input.equals("ENTER")) { done = true; } else { int nu
    • 07.03.2023
    • 522views
    • 1comment
    4
  • Anonymous #11384347
    Level 32
    Under discussion
    IntelliJ editor crashes when I try to open a new taskHi, Can someone help please. I have up until now used the online editor but now the tasks are moving to IntelliJ code editor. Each time I try and launch a task the ItelliJ editor crashes. I am therefore a little lost as to what I can do to carry on with this course. I am using a MacBook Pro M1. W
    • 31.08.2023
    • 186views
    • 2comments
    0
  • delta
    Level 4
    Question about the task Three numbers
    Java Syntax, Level 3, Lesson 2
    Under discussion
    the output for the solution I wrote should be 6 6 but not 66the output for the solution I wrote should be 6 6 but not 66
    • 08.09.2023
    • 190views
    • 1comment
    0
  • Anonymous #11138917
    Level 2
    China
    Question about the task 2048 (Part 18/18)
    Games, Level 0, Lesson 2
    Under discussion
    I use ↑↓→, the reaction is differentI attempted to run the code, and when I used the "moveUp()" function, the outcomes didn't match my expectations. Consequently, I made some adjustments to my code in an attempt to address the issue correctly. However, even after applying the provided example to solve the problem, the results still
    • 08.09.2023
    • 169views
    • 1comment
    0
  • public enum WaysToDie
    Level 23
    Denver
    Question about the task Integer literals
    Java Syntax, Level 9, Lesson 1
    Under discussion
    I made the minimum changes and still...I made the minimum required changes to the fields by reducing each value by 1. Now all the numbers fit the type but it still doesn't pass. Original code package en.codegym.task.pro.task09.task0901; /* Integer literals */ public class Solution { public byte b = 128; public short s = 32768
    • 18.12.2021
    • 1061views
    • 4comments
    0
  • Jyothi
    Level 20
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    task08.task0814 - Greater than 10? You're not a good fit for ustask08.task0814 - Greater than 10? You're not a good fit for us When I run it has removed elements > 10. But not according to codegym vaerify?
    • 11.12.2018
    • 2004views
    • 5comments
    1
  • Prashant Vishwakarma
    Level 12
    Mumbai
    Question about the task 20 words that start with the letter "L"
    Java Syntax, Level 8, Lesson 8
    Under discussion
    why not working?it seems me fine
    • 23.09.2020
    • 442views
    • 2comments
    1
  • Harshit Garg
    Level 23
    Chandigarh
    Under discussion
    What is a class inside a class?how is that possible?
    • 20.08.2023
    • 174views
    • 1comment
    0
  • Attila Ágoston
    Level 5
    Under discussion
    It's working ;) int a; for(a = 0; a < array.length; a++) { if(array[a]%2 == 0) { array[a]*=-1; } System.out.println(array[a]); } } }
    • 05.09.2023
    • 162views
    • 0comments
    0
  • FelixUjo
    Level 35
    Gijón
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Resolved
    It doesn't seem to print exit. I don't know whyIt doesn't seem to print exit. I don't know why
    • 03.09.2023
    • 204views
    • 2comments
    0
  • Shraddha Lambat
    Level 20
    Mumbai
    Question about the task Binary converter
    Java Syntax, Level 11, Lesson 1
    Resolved
    what's wrong with this, plz help public static int toDecimal(String binaryNumber) { //write your code here if(binaryNumber==null || binaryNumber.isEmpty()) { return 0; } int decNo=0; int temp=0; for(int i=0;i
    • 02.09.2023
    • 238views
    • 1comment
    0
  • Shraddha Lambat
    Level 20
    Mumbai
    Question about the task Binary converter
    Java Syntax, Level 11, Lesson 1
    Resolved
    Wht its fail public static int toDecimal(String binaryNumber) { //write your code here if(binaryNumber==null || binaryNumber.isEmpty()) { return 0; } int decNo=0; int temp=Integer.valueOf(binaryNumber); for(int i=0;i
    • 01.09.2023
    • 207views
    • 1comment
    0
  • Lajos
    Level 1
    Gyula
    Question about the task Creating a proxy object
    Java Collections, Level 2, Lesson 8
    Resolved
    It's working, but I don't know what's wrong.Hello! Any idea what's the problem? It's working, but I don't know what's wrong. thx
    • 21.04.2020
    • 1251views
    • 5comments
    1
  • 1
  • ...
  • 17
  • 18
  • 19
  • 20
  • 21
  • ...
  • 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