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
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Task No. 4 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Under discussion
    What i should to do here?Could you give me other way to change int nine to char?
    • 26.01.2019
    • 1491views
    • 1comment
    2
  • Thomas
    Level 12
    Gent
    Resolved
    Error: The removeAllSummerPeople() method not workingI can't find the problem. Can anyone help me with this one? public static void removeAllSummerPeople(HashMap map) { Iterator> iterator = map.entrySet().iterator(); while (iterator.hasNext()){ Map.Entry pair = iterator.next(); Date birth = pair.getValu
    • 27.03.2019
    • 963views
    • 3comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Under discussion
    i need helpmy code is veryfied but when i execute showing as java.lang.NullPointerException: Solution.java, method main, line: 20 An attempt was made to access an uninitialized object (Null).
    • 13.11.2018
    • 1424views
    • 4comments
    1
  • lordheraldor
    Level 23
    Newark
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Under discussion
    I'm a little lost as to what's wrong with my solution.Is there something I'm not taking into consideration? As far as I can tell the code should work ok.
    • 22.03.2019
    • 1234views
    • 3comments
    0
  • Alex Jones
    Level 4
    Question about the task Kind words for the teacher
    Java Syntax, Level 0, Lesson 4
    Resolved
    Not sure how you can put "clever in the code while matching the displayhow do you do this task and why does the "The text should end in "clever"." show up?
    • 02.04.2019
    • 1379views
    • 4comments
    0
  • jim smith
    Level 22
    Cedar Park
    Question about the task Iterating through a file tree
    Java Collections, Level 1, Lesson 2
    Archived
    Intellij plugin missing new questionsIs the IntelliJ plugin updated? I think I downloaded the updated one 3.27 but I still don't see any projects in the 2 new modules. Do I need to git pull something from somewhere I don't remember exactly if I needed to do anything else when I got this running the first time.
    • 02.04.2019
    • 1254views
    • 1comment
    0
  • Emil Olbinado
    Level 6
    Manila
    Under discussion
    What is the best IDE for Beginners?Intellij vs Eclipse vs Visual Studio Code? Your opinion guys? TIA
    • 01.04.2019
    • 1303views
    • 3comments
    0
  • Stephen D'Acquisto
    Level 5
    Tampa
    Question about the task Contract
    Java Syntax, Level 1, Lesson 6
    Under discussion
    For Loop?This may be skipping way far ahead for this exercise, but what would a general 'for' loop solution look like for this problem? Or would that be super impractical given that everything is technically String instead of integer values? Just curious.
    • 02.04.2019
    • 984views
    • 1comment
    0
  • Zbigniew
    Level 23
    Dabrowa Tarnowska
    Question about the task Reinforce the adapter
    Java Core, Level 9, Lesson 3
    Resolved
    Correct output but it doesn't pass verificationI've tested my getDialString method for the phone numbers from examples and it shows correct output, but it doesn't pass the verification. The recommendation from mentor is: " The getDialString() method should return a String containing "callto://+" and a phone number with all characters removed ex
    • 27.03.2019
    • 2142views
    • 5comments
    0
  • Ahmed Mayan
    Level 4
    New York City
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    How to do the code right? I got every task right except the last requirement.package com.codegym.task.task03.task0314; /* Multiplication table */ public class Solution { public static void main(String[] args) { System.out.println("1 2 3 4 5 6 7 8 9 10"); System.out.println("2 4 6 8 10 12 14 16 18 20"); System.out.println("3 6 9 12 15 18 21 24 27
    • 01.04.2019
    • 1446views
    • 1comment
    0
  • Alexandr Golikov
    Level 5
    Podol'sk
    Under discussion
    Idea capabilityPlease add a capability of plugin to IntelliJ IDEA 2019
    • 31.03.2019
    • 1150views
    • 2comments
    1
  • sean
    Level 8
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Alternative ideaHi, Although I figured it out with the simple logic of how many digits are in a specific number range. I initially thought that we could solve this by dividing the stream by 10 and storing it in a variable which should represent the amount of digits, we should then be able to use this to check the
    • 01.04.2019
    • 1184views
    • 1comment
    0
  • Paweł
    Level 15
    Gromnik
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    Something wrong. Help!package com.codegym.task.task05.task0507; /* Arithmetic mean */ import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //BufferedReader bu = new BufferedReader(new I
    • 30.03.2019
    • 1319views
    • 2comments
    2
  • Nina
    Level 3
    Melbourne
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived
    calling in main methodI failed. I tried much but I can not do it as I don't know how to call somtehing in main method and .. please show me how to do it. I can not find any similar example in the material. There was a similar task before this one that I failed it as well. Thanks this is my solution: package com.codegym.t
    • 31.03.2019
    • 2054views
    • 2comments
    0
  • Jeremiah Samuel Krakowski
    Level 17
    Austin, TX
    Question about the task Default values
    Java Core, Level 5, Lesson 9
    Under discussion
    Code runs perfectly, but does not pass!My code does what is asked, but is not passing for some reason.
    • 31.03.2019
    • 1461views
    • 2comments
    0
  • Khurram
    Level 16
    Lahore
    Question about the task Minimum and Maximum
    Java Core, Level 1, Lesson 11
    Under discussion
    Please HelpThe code seems to be working fine, but the verification system is not accepting the solution: Don't change the main - I haven't The program must return the correct result - It does :\
    • 22.09.2018
    • 2091views
    • 16comments
    0
  • Wilder
    Level 4
    Alajuela
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    whats wrong with my code ??? :(
    • 30.03.2019
    • 1363views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Counting words
    Java Core, Level 9, Lesson 5
    Under discussion
    What is wrong?Output seems to be good
    • 28.03.2019
    • 1672views
    • 12comments
    0
  • Iasu
    Level 18
    Question about the task One large array and two small ones
    Java Syntax, Level 7, Lesson 4
    Under discussion
    System.arraycopy() method dosent work in these one maybe? In IntelliJ, it's running fine, but here it doesn't work! Am I missing something here..?
    • 10.02.2019
    • 1538views
    • 2comments
    0
  • Chitransh Derashri
    Level 1
    Noida
    Question about the task No comments needed
    Java Syntax, Level 0, Lesson 8
    Under discussion
    the last condition is not fulfilled in any case. how to solve this question.
    • 25.10.2018
    • 1443views
    • 4comments
    0
  • Filip
    Level 4
    Karlovac
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Resolved
    2 plus 3 is equal to 5Please help me, i got the problem with this task!
    • 04.11.2018
    • 3441views
    • 8comments
    1
  • cr!ms0nc0d3r
    Level 9
    Primus
    Question about the task Ascending numbers
    Java Syntax, Level 6, Lesson 11
    Resolved
    Verification says I need last two requirements, but they are already metThis code works, however, I receive failures on the last two requirements on the verification.
    • 28.03.2019
    • 1769views
    • 2comments
    0
  • Vatsal Patel
    Level 15
    Naperville
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Resolved
    What am I doing wrong?It does duplicate but it is failing.
    • 28.03.2019
    • 1836views
    • 1comment
    0
  • Thebe
    Level 7
    Benares
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    why itr.hasNext() not workingWhy is it going in infinite loop?
    • 28.03.2019
    • 2895views
    • 3comments
    0
  • T Merkel
    Level 7
    London
    Under discussion
    Task conditions in plain text - IntelliJHey, I've just updated IntelliJ and Conditions.tcs files don't render as they used to - it's in plain text now. Has anybody got the same issue after updating?
    • 29.03.2019
    • 1395views
    • 2comments
    1
  • Andrei Stratu
    Level 18
    Iasi
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    Code runs I get the desired output but i cant pass it. Some help please?
    • 28.03.2019
    • 1242views
    • 2comments
    0
  • Ash Ka
    Level 13
    Calgary
    Question about the task Initializing cats
    Java Syntax, Level 5, Lesson 7
    Resolved
    What's wrong here ?What's wrong here ?
    • 27.03.2019
    • 1941views
    • 3comments
    0
  • gery
    Level 9
    Islamabad
    Question about the task 20 words that start with the letter "L"
    Java Syntax, Level 8, Lesson 8
    Resolved
    Hashset correction for, cannot convert boolean to string line#28i read this article, but its not much help https://stackoverflow.com/questions/12014641/java-retrieving-an-element-from-a-hashset public static Set createSet() { //write your code here Set s = new HashSet(); //s.add s.add("Lsss"); s.add("Lsss"); s.a
    • 30.09.2018
    • 2948views
    • 8comments
    0
  • Nurali Khaydarov
    Level 41
    Tashkent
    Question about the task Reading and writing to a file: CodeGym
    Java Core, Level 10, Lesson 2
    Under discussion
    Need helpWhat's wrong?
    • 28.03.2019
    • 1632views
    • 1comment
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Picking out numbers
    Java Core, Level 9, Lesson 5
    Under discussion
    Next time seems to be good outbutneed hint
    • 28.03.2019
    • 1577views
    • 1comment
    0
  • 1
  • ...
  • 334
  • 335
  • 336
  • 337
  • 338
  • ...
  • 371
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • 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