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
  • Hafsah Jilanee
    Level 10
    Karachi
    Resolved
    How do i attach my code in the help section??Hi, I've been trying to attach my code but it keeps showing an error, "No available solution. Try submitting the task for verification." I sent it for verification, but since there is an error in my program it won't compile. Can someone help me out?
    • 12/1/18
    • 1393views
    • 1comment
    0
  • hidden #10410099
    Level 7
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Archived
    why can't compile java.lang.NumberFormatException: Solution.java, method main, line: 14 Error converting a string to a number (invalid format). java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at com.javarush.task.task04.task04
    • 11/30/18
    • 1781views
    • 1comment
    0
  • natthan
    Level 5
    Vancouver
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    Get right answer, but not complete. int m2; if(a < b && a < c ){ m2 = a; } else if (b < a && b < c){ m2 = b; } else{ m2 = c;
    • 11/20/18
    • 1682views
    • 4comments
    0
  • tsering
    Level 2
    Palo Alto
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    I don’t know where I went wrong in this code, although the output is correct. package com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; //System.out.print("two"); System.out.print(b); System.out.print(" plus "); //System.out.print(" minus ");
    • 11/20/18
    • 1468views
    • 3comments
    0
  • Rupal Singh
    Level 0
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    i think below stated code is quite true.....then why 4th condition of the task not getting satisfiedpackage com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; //System.out.print("two"); System.out.print(b); System.out.print(" plus "); //System.out.print(" minus ");
    • 11/25/18
    • 1689views
    • 1comment
    0
  • sathya
    Level 10
    Cedar Park
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    What is wrong here ? Is it a server issue ? CodeGym guys please helppackage com.codegym.task.task01.task0108; /* 2 + 3 = 5 */ public class Solution { public static void main(String[] args) { int a = 3, b = 2; //System.out.print("two"); System.out.print(b); System.out.print(" plus "); //System.out.print(" minus ");
    • 11/14/18
    • 1321views
    • 2comments
    0
  • Shabbir Ahmed
    Level 2
    Dhaka
    Question about the task 2 + 3 = 5
    Java Syntax, Level 0, Lesson 8
    Under discussion
    What's the problem on it?Please identify my problem and help me out
    • 11/13/18
    • 1492views
    • 6comments
    0
  • Mack
    Level 20
    Osiedle-Nowiny
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Resolved
    Where is error?help, please
    • 11/30/18
    • 1681views
    • 2comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task No comments needed
    Java Syntax, Level 0, Lesson 8
    Under discussion
    something wrong with code what is wrong here?
    • 11/30/18
    • 1401views
    • 1comment
    0
  • Sasha
    Level 20
    Novi Sad
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    I can't verify itCode works when I try to run it in all possible variations, just can't verify it. Please help!
    • 11/24/18
    • 1653views
    • 5comments
    0
  • Aditya Srivastava
    Level 4
    Knoxville
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Error in verifying I am getting an error on verifying but when Irun the program,It's running correctly RECOMMENDATION FROM YOUR MENTOR Be sure that you haven't mixed up the order of reading in the name and number from the keyboard. Check the conditions.
    • 11/6/18
    • 2092views
    • 4comments
    0
  • Sabine Meijran-Prins
    Level 7
    Enschede
    Question about the task Minimum of two numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Is this task with an if-statement a mistake of done on purpose?I am wondering... Is a task like this, with an if-statement that was not mentioned before done on purpose (for extra learning experience) or is it a mistake?
    • 11/29/18
    • 2346views
    • 2comments
    0
  • Solanki Dhruv
    Level 18
    Surat
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Resolved
    Where is the problem??
    • 11/29/18
    • 2281views
    • 4comments
    0
  • Sheheryar
    Level 7
    Islamabad
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    my code 100% correct But...Help!My code id giving all the combinations' answers correct, i tried it in eclipse too but it just doesn't get verified, why?
    • 11/23/18
    • 1652views
    • 1comment
    0
  • Jaisingh
    Level 14
    Hyderabad
    Question about the task In the blue depths of the stack trace…
    Java Syntax, Level 9, Lesson 2
    Under discussion
    as i expected that the getStackTrace() gives us the array of stackElements so i used an count variable to count and then display it... but it goes wrong . please do tell me whats wrong with it
    • 10/1/18
    • 2053views
    • 7comments
    0
  • Dirk
    Level 4
    Utrecht
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    display text error.If the light is green, display: "green" If the light is green, display: "yellow" If the light is green, display: "red". These are the errors I get. Somebody can help me please?
    • 11/8/18
    • 1892views
    • 6comments
    0
  • Anatoliy Usachev
    Level 4
    Buzuluk
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    What's the problem in the code?Tell me please, where is my mistake?
    • 11/28/18
    • 1377views
    • 1comment
    0
  • LikoGopi
    Level 3
    Chennai
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    could any one help me whats error in it? please.......... The min(a, b, c, d) method must return the minimum of the numbers a, b, c, and d.(only this error obtaining) no compilation error but error in return funcution package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b
    • 11/28/18
    • 1589views
    • 4comments
    0
  • Brice
    Level 8
    Douala
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    Somehow averageNo matter how I twist this task am still stuck. Have tried more than a dozens of inputs(even negative numbers) which gave me the correct output, but codegym says "NO". Please for help
    • 11/27/18
    • 1669views
    • 4comments
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Another hint for this taskTry using 1.8 instead of 9/5 in the formula. Therefore, the formula for the conversion is: fahrenheit = (celsius*1.8) + 32
    • 9/10/18
    • 1879views
    • 4comments
    2
  • Okabe Rintarou
    Level 4
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    what is wrong with my calculations for the winter months??????I don't understand where I am getting the code wrong... please help.
    • 11/26/18
    • 2041views
    • 2comments
    0
  • Sindhura
    Level 15
    Delhi
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Under discussion
    not sure why its not verifying package com.codegym.task.task08.task0802; /* HashMap of 10 pairs */ import java.util.HashMap; import java.util.Map; public class Solution { public static void main(String[] args) throws Exception { //write your code here HashMap<String, String> h = new HashMap<Stri
    • 10/4/18
    • 1767views
    • 1comment
    0
  • Sabine Meijran-Prins
    Level 7
    Enschede
    Question about the task Max, Bella, and Jack
    Java Syntax, Level 2, Lesson 3
    Under discussion
    What is the difference between a reference, and object and an instance..Goodmorning, I have an idea, but I do not get it 100% yet.. Do I understand it right that: A reference is just a reference to an object (like the box-example, it is just a note with a phone number that refers to the object neighbour?) If this is true, why does the reference has a name, and not the
    • 11/27/18
    • 1520views
    • 4comments
    0
  • Swati
    Level 8
    Pune
    Question about the task The whole duck isn't enough
    Java Syntax, Level 5, Lesson 12
    Resolved
    Please help me to understand this program.I am not able to understand the objects are created in the program,but they are not used to call toString method.Still it is executed.and in System.out.println we are using reference to the same class (or object of that class). Can anyone help me to understand the program.
    • 11/27/18
    • 1660views
    • 2comments
    0
  • Thoenes
    Level 4
    Nairobi
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    can'tt find the errorcan'tt establish the error. please help
    • 11/26/18
    • 1456views
    • 2comments
    0
  • Sabine Meijran-Prins
    Level 7
    Enschede
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I received an typo error, but I don't see anything wrong..Do you know why I am getting a typo error?
    • 11/25/18
    • 1593views
    • 3comments
    0
  • alex
    Level 8
    Dublin
    Under discussion
    java.util.ScannerI'm trying to use java.util.Scanner. Is it not allowed here?
    • 11/14/18
    • 1578views
    • 2comments
    0
  • sathya
    Level 10
    Cedar Park
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Please let me know What is wrong with this code. I am not sure why it fails for " The displayed text must fully match the task conditions."package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { System.out.print("Number: "); BufferedReader read = new BufferedReader(new InputStreamReader(
    • 11/26/18
    • 1791views
    • 3comments
    0
  • Vikrat Rana
    Level 8
    Ludhiana
    Question about the task The end
    Java Syntax, Level 7, Lesson 12
    Resolved
    why am i getting error???hey i'm unable to remove error from this code , So if theres anyone online please help me....
    • 10/4/18
    • 1704views
    • 3comments
    0
  • Sowmya
    Level 3
    San Jose
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    i couldn't resolve the condition in main method? -20 -30 -30 0 this was the output.
    • 11/23/18
    • 1701views
    • 2comments
    0
  • 1
  • ...
  • 357
  • 358
  • 359
  • 360
  • 361
  • ...
  • 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