CodeGym
Promotion
CodeGym University
Java FullStack
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
  • Swati
    Level 8
    Pune
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    not understand this programHow to print required output for the program? not getting Hint provided....what does it mean?
    • 10/22/18
    • 1615views
    • 2comments
    0
  • Shahanshah Alam
    Level 9
    Mohali
    Question about the task Notepad for new ideas
    Java Syntax, Level 6, Lesson 11
    Under discussion
    help please...what causing error?public class Solution { public static void main(String[] args) { printIdea(new Idea()); idea.getDescription("name"); } public static void printIdea(Idea idea){ System.out.println(getDescription()); } public static class Idea{ String s;
    • 9/25/18
    • 1633views
    • 3comments
    0
  • Kabeer Rajoria
    Level 5
    Gwalior
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    What is wrong with this code?package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int m = 0; if (a<=b && b<=c) m = a; if (a<=b && b>= c) m = a; if (b<=a &
    • 10/21/18
    • 1611views
    • 1comment
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task More Sam-I-Am
    Java Syntax, Level 7, Lesson 9
    Resolved
    WHAT'S THE PROBLEM?How to suffice the fourth requirement? What's the error in my code?
    • 10/21/18
    • 2276views
    • 2comments
    0
  • rsingh04
    Level 6
    Mumbai
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    java.lang.NumberFormatException: Solution.java, method main, line: 17 what is wrong in my code 17 line
    • 10/19/18
    • 1677views
    • 4comments
    0
  • Sheetal Neeraj
    Level 2
    Bangalore
    Under discussion
    What is the error??package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { //write your code here Man man=new Man(); Woman woman=new Woman(); man.wife()=Man; woman.husband()=Woman; } public
    • 10/21/18
    • 1389views
    • 1comment
    0
  • Sindhura
    Level 15
    Delhi
    Question about the task User, loser, coder and programmer
    Java Core, Level 4, Lesson 8
    Resolved
    not verifying ..Pleasee helppackage com.codegym.task.task14.task1411; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; /* User, loser, coder and programmer */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new Bu
    • 10/14/18
    • 1622views
    • 2comments
    0
  • Kim Lai
    Level 4
    Arlington
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Help!!! Does anyone know why this isn't working? package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { int min1; if (a <= b && a <= c) { min1 = a;
    • 10/17/18
    • 1997views
    • 8comments
    0
  • Juan Gallardo
    Level 10
    Edmonton
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    My program works! So what if I'm not using modulo!Arrgh!
    • 10/21/18
    • 2263views
    • 2comments
    0
  • Sargam
    Level 3
    Aligarh
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    can' t find the errorIt says min() must return the minimum value and my code is returning it. help me resolve it.
    • 10/20/18
    • 1342views
    • 2comments
    0
  • Christopher Wager
    Level 12
    Westland
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Resolved
    Cannot pass the task, but ouput looks correctHere is another one that seems easy enough, but I can not complete the task. I don't have a clue whats wrong.... any advice,
    • 10/20/18
    • 1381views
    • 1comment
    0
  • Christopher Wager
    Level 12
    Westland
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    No matter what I try, the last task fails everytime. Please helpHere is my code for Plan to conquer the world 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 { //write your code BufferedReader reader = new Buff
    • 10/6/18
    • 1800views
    • 3comments
    0
  • Christopher Wager
    Level 12
    Westland
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    Now the website is just messing with meThis program seem easy enough. But once again, I cannot pass the task. I don't see what the problem could be.
    • 10/20/18
    • 1741views
    • 1comment
    0
  • mayuri
    Level 3
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Resolved
    HelpHELP
    • 8/31/18
    • 2041views
    • 5comments
    0
  • Skylar
    Level 2
    Flint
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived
    I've tried a few things can't figure out what it means to do?Basically above says everything I tried defining sqr even though it looks like its defined just in a weird way and then I tried without and just calling it and I also tried defining "a"
    • 10/10/18
    • 1544views
    • 3comments
    0
  • ShirAz SiddiQui
    Level 8
    Karachi
    Question about the task I'm 15 again!
    Java Syntax, Level 1, Lesson 4
    Under discussion
    This error appears when i run my code. The value assigned to the variable age must be 15.This error appears when i run my code. The value assigned to the variable age must be 15.
    • 9/19/18
    • 1402views
    • 5comments
    0
  • kirti
    Level 8
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Under discussion
    helpp...there is problem with remove statement but i can't able to find out. please help
    • 10/19/18
    • 1629views
    • 2comments
    0
  • sriharsha
    Level 1
    Hyderabad
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Resolved
    pls helpIt's show's some error ...
    • 10/19/18
    • 1428views
    • 3comments
    0
  • DuesVultKek
    Level 7
    Jacksonville
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion
    Help me please!My program works fine, in fact, it correctly converts euros to US dollars. However, I didn't pass the requirements which is when I analyze my code, it does what the it does. If there's a minor error, please let me know.
    • 8/26/18
    • 2333views
    • 4comments
    0
  • Rad
    Level 8
    Maidstone
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    check my codeI gave input numbers it working properly, but showing error as not satisfied all conditions
    • 10/18/18
    • 1786views
    • 2comments
    0
  • Rocky Redjie Quimado
    Level 1
    Question about the task Display the square of a number
    Java Syntax, Level 1, Lesson 3
    Resolved
    Guys help me how to display square of a numberGuys can you help me with this i cant understand!! package com.codegym.task.task01.task0140; /* Display the square of a number */ public class Solution { public static int number = 5; public static void main(String[] args) { //write your code her ... } }
    • 8/7/18
    • 1950views
    • 3comments
    4
  • Memoona Arif
    Level 1
    Karachi
    Under discussion
    what is worng with this code ?String name="I'm diego"; system.out.println(name); what is wrong with this code ?
    • 10/18/18
    • 1402views
    • 1comment
    0
  • Vijay Rangan
    Level 5
    Jakarta
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Resolved
    what's the link between s and Solutioncan anyone explain why something in main function "Solution" display when I print s....while there is no assign operation like s = Solution in the program
    • 9/16/18
    • 1951views
    • 5comments
    0
  • imran khan
    Level 6
    islamabad
    Question about the task 18+
    Java Syntax, Level 4, Lesson 6
    Under discussion
    helppublic class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String s = br.readLine(); int n = Integer.parseInt(s); int age = br.
    • 10/18/18
    • 1431views
    • 2comments
    0
  • anotherLearner
    Level 18
    Barcelona
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Resolved
    Whats wrong here? i think problem resides in line 24 but i cant solve it. Some help would be apreciated. package com.codegym.task.task05.task0529; import java.io.BufferedReader; import java.io.InputStreamReader; /* Console-based piggy bank */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(S
    • 10/18/18
    • 1822views
    • 1comment
    0
  • Parmeshwar Kumar Sahu
    Level 1
    Wani
    Under discussion
    ErrorWhat's meaning of error: "package system does not exist"
    • 10/17/18
    • 1401views
    • 1comment
    0
  • Tofuu
    Level 4
    Wilmington
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved
    Else Without IfSo i tried after line 25: else if (month > 8 && month < 12) System.out.println("autumn"); But it wouldn't work... I also tried: else System.out.println("autumn"); Error: 'else' without 'if': Solution.java, line: 26, column: 9 // com/codegym/task/task04/task
    • 10/17/18
    • 3016views
    • 4comments
    2
  • Eduardo
    Level 23
    Coyoacan
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Not sure why it won't runHi, not sure why i get an error in line 16 if I run it without verification. If i try to verify it the first two conditions are met, but not the other two. Any pointers? Thanks
    • 10/17/18
    • 1942views
    • 1comment
    0
  • kapil
    Level 12
    delhi
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    i have checked the code is running in intellij ide but not in codegym.....i have tried a lot please help what is the problemimport java.io.*; public class Solution { public static void main(String[] args) throws IOException { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.println("enter your name"); String name = br.readLine
    • 10/16/18
    • 1859views
    • 4comments
    0
  • Shahanshah Alam
    Level 9
    Mohali
    Question about the task Changing functionality
    Java Syntax, Level 7, Lesson 12
    Resolved
    what should i have to do in __ position to print string three and two time as per given condition public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayList<String> list = new ArrayList<String>(); while (true) { String s = reader.r
    • 10/1/18
    • 1961views
    • 8comments
    0
  • 1
  • ...
  • 363
  • 364
  • 365
  • 366
  • 367
  • ...
  • 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