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
  • kastam
    Level 11
    Question about the task Stack trace revisited
    Java Syntax, Level 9, Lesson 2
    Resolved
    Not validWhy "Each method must return the name of the method that called it" not valid??????
    • 8/1/19
    • 1874views
    • 2comments
    0
  • Savannah
    Level 4
    Memphis
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion
    Hello. I did my code over in a simpler way. Is this code right?package com.codegym.task.task03.task0303; /* Currency exchange */ public class Solution { public static void main(String[] args) { System.out.println(convertEurToUsd(10,5.50)); System.out.println(convertEurToUsd(5,25.50)); } public static double convertEurToUsd(int eur
    • 8/1/19
    • 1284views
    • 1comment
    0
  • Leena Sharma
    Level 2
    Mumbai
    Question about the task CodeGym. Learn once - use anywhere
    Java Syntax, Level 1, Lesson 4
    Resolved
    typo errorwhy the typo error is not being solved?
    • 6/3/19
    • 1418views
    • 2comments
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Currencies
    Java Core, Level 4, Lesson 8
    Under discussion
    Now where do you find all these errorsCan anybody justify ?
    • 7/29/19
    • 1387views
    • 2comments
    0
  • Lukas Smetana
    Level 10
    London
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    I am printing longest string, if there are several strings as longest i am printing all of them on the new line but it is not passing. Help please.Code here
    • 7/28/19
    • 1682views
    • 1comment
    0
  • R3fiX
    Level 12
    Tarnow
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    Last to conditionsCan anybody tell me what's wrong with my code? Everythings seems to be fine, program displays the longest string or many of them, but it failes last two conditions.
    • 7/30/19
    • 1144views
    • 0comments
    0
  • past cham
    Level 6
    Delhi
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    HELP MEEEWhat is wrong with my code? :'(
    • 4/12/19
    • 2443views
    • 12comments
    0
  • Lex Medeiros
    Level 18
    San Jose
    Question about the task HashMap of cats
    Java Syntax, Level 8, Lesson 3
    Resolved
    Stuck adding strings to HashmapsI am stuck on line 39 map.put(key, new cats(i)); I do not know what to add as a value. Anyone could explain please.
    • 4/7/19
    • 3135views
    • 4comments
    1
  • SefoBe
    Level 16
    Paris
    Question about the task Flip the array
    Java Syntax, Level 7, Lesson 4
    Resolved
    What's wrong here ?Please help
    • 7/11/19
    • 1582views
    • 3comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Can anyone please explain what happening here.Please help me out with complete explanation
    • 7/30/19
    • 1227views
    • 2comments
    0
  • Jyothi
    Level 20
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    Checking the orderNot clear why Verify failing validation. Please advise.
    • 12/27/18
    • 2104views
    • 4comments
    0
  • Bhavishya Samriya
    Level 8
    Jaipur
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    last condition terminatingwhy the last condition isn't verifying
    • 7/25/19
    • 1093views
    • 3comments
    0
  • Ritesh Kumar Mandal
    Level 9
    Delhi
    Question about the task Catching custom exceptions
    Java Syntax, Level 9, Lesson 8
    Resolved
    What is the mistake in my code...?I'm trying to rethrow the exception but it doesn't compile by saying exception must be caught or declared to be thrown.
    • 1/20/19
    • 2630views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Whales, the descendants of cows
    Java Core, Level 2, Lesson 2
    Under discussion
    WHAT IS WRONG?Help me pls with this(
    • 6/22/19
    • 1045views
    • 1comment
    0
  • Ravien Sewpal
    Level 9
    Paramaribo
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Resolved
    What's wrong?package com.codegym.task.task04.task0443; /* A name is a name */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Stri
    • 6/2/19
    • 1810views
    • 4comments
    0
  • R3fiX
    Level 12
    Tarnow
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Resolved
    Typo errorCan anybody explain to me, where is this typo? I've check order of input data, full stop after name and I still receive error. Thanks for help.
    • 5/30/19
    • 1442views
    • 4comments
    0
  • dibidebe
    Level 7
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    helpi try solve this with arrays, but i'm doing something wrong all the time, can someone tell me what should i do?
    • 7/29/19
    • 1085views
    • 1comment
    0
  • Ronaldo M
    Level 2
    Chennai
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    help me debug this ! im not getting it rightpackage com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { if (a>b) { if (c>b) { return b; } else if(c
    • 7/25/19
    • 1234views
    • 2comments
    0
  • hidden #10468516
    Level 5
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    Help me out I am totally confused in this task.
    • 7/12/19
    • 1616views
    • 5comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task MVC (part 3)
    Java Multithreading, Level 4, Lesson 14
    Resolved
    Please HelpWhere is the Mistake
    • 5/24/19
    • 1353views
    • 3comments
    2
  • Bazsó Benjámin
    Level 20
    Szombathely
    Question about the task Stack trace revisited
    Java Syntax, Level 9, Lesson 2
    Resolved
    cant find the correct patterni kept trying to change the number patterns but i just cant get the correct output =/
    • 4/5/19
    • 2386views
    • 7comments
    3
  • hidden #10444738
    Level 16
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Resolved
    One fails one doesn'tWhy does the top code work and the bottom one not? They are the same code after all.......... public static int getSameLastNameCount(HashMap map, String lastName) { //write your code here int counter = 0; // counter for same first name for (HashMap.Entry pair : map.entr
    • 6/27/19
    • 1339views
    • 2comments
    0
  • Rupa Joshi
    Level 29
    Tokyo
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Under discussion
    Whats wrong with the first condition?Whats wrong with the first condition? It's the only one which is not getting verified. Can you point out what am i missing?
    • 7/29/19
    • 1146views
    • 1comment
    0
  • Kayla Tounalom
    Level 2
    Redmond
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    I don't understand this taskI don't understand this task can someone please explain this to me?
    • 7/27/19
    • 1222views
    • 2comments
    0
  • Ovo Leslie
    Level 26
    Lagos
    Question about the task Lonely arrays interact
    Java Syntax, Level 7, Lesson 4
    Archived
    My code compiles correctly but wont meet the last condition. Pls advice! package com.codegym.task.task07.task0703; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; /* Lonely arrays interact */ public class Solution { public static void main(String[] args) throws Exception { //write your code here String[]
    • 7/26/19
    • 1773views
    • 2comments
    0
  • Joyonta Saha
    Level 31
    Question about the task Chat (part 22)
    Java Multithreading, Level 6, Lesson 15
    Under discussion
    How to test the chat bot?Give a sample? Help!
    • 7/27/19
    • 1619views
    • 7comments
    0
  • Antonia
    Level 10
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Under discussion
    ?help
    • 7/29/19
    • 1287views
    • 1comment
    0
  • Aakash potepalli
    Level 22
    Bangalore
    Question about the task Bingo!
    Java Core, Level 4, Lesson 2
    Under discussion
    please help me with thisi am not able to pass this task
    • 4/5/19
    • 1473views
    • 2comments
    0
  • hidden #10473715
    Level 13
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    What's the problem?The output is right
    • 7/27/19
    • 1527views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task 20 words that start with the letter "L"
    Java Syntax, Level 8, Lesson 8
    Resolved
    Why doesn´t this work? What am i missing? The loop is created, 20 times with the letter L. why doesn´t he recognize it?
    • 6/27/19
    • 2366views
    • 3comments
    0
  • 1
  • ...
  • 294
  • 295
  • 296
  • 297
  • 298
  • ...
  • 374
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 © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym