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
  • Sawankumar
    Level 1
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved
    what's wrong in this code..?System.out.println("Your salary is: "+a+" dollars per month");
    • 8/1/18
    • 1915views
    • 5comments
    0
  • Arjun Kiruthivasan
    Level 14
    Chennai
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    HELP ME??GIVE ME A SOLUTION
    • 9/20/18
    • 2204views
    • 1comment
    0
  • saiteja velagandula
    Level 2
    Hyderabad
    Under discussion
    Can anyone explain this elaboratelySave a reference to the previously created Woman object in man.wife. Save a reference to the previously created Man object in a woman. husband (Hint: woman.husband = man). I didn't understand this.
    • 9/20/18
    • 1586views
    • 1comment
    0
  • Arjun Kiruthivasan
    Level 14
    Chennai
    Question about the task Make a family
    Java Syntax, Level 8, Lesson 11
    Under discussion
    any one help me?where am i mistaken?? pls show me a solution
    • 9/20/18
    • 1941views
    • 1comment
    0
  • Arjun Kiruthivasan
    Level 14
    Chennai
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    How to solve this?How to solve this?
    • 9/15/18
    • 2112views
    • 1comment
    0
  • Arjun Kiruthivasan
    Level 14
    Chennai
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Resolved
    how to overcome this problem?how to overcome this problem?
    • 9/15/18
    • 2702views
    • 1comment
    0
  • DuesVultKek
    Level 7
    Jacksonville
    Question about the task Let's put together a rectangle
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Little help..."- create a copy of another rectangle passed as an argument" - This is what I don't understand here so please kindly help me This statement applies to 4th initialize method only. Thanks.
    • 9/18/18
    • 2418views
    • 2comments
    0
  • WonderWoman
    Level 8
    Bangalore
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    All conditions except - "3. After entering -1, the program must correctly terminate."The code apparently satisfies all conditions except "3. After entering -1, the program must correctly terminate." Though with "Run (without verification)", I get the required results for all the combinations listed..
    • 9/17/18
    • 1894views
    • 4comments
    0
  • Shahanshah Alam
    Level 9
    Mohali
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    helpwhat is wrong in this? help please
    • 9/18/18
    • 1587views
    • 4comments
    0
  • Khurram
    Level 16
    Lahore
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Resolved
    Last condition is not verified. Can anyone please check what's wrong with the codepackage com.codegym.task.task07.task0718; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Checking the order */ public class Solution { public static void main(String[] args) throws IOException { //write your
    • 9/15/18
    • 1667views
    • 2comments
    0
  • Khurram
    Level 16
    Lahore
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    what seems to be the problem here?i have copied the exact code and it runs perfectly fine in IntelliJ, but here it is not accepting the solution, can anyone suggest what the problem might be
    • 9/8/18
    • 2187views
    • 2comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Resolved
    Help please...public class Cat { public String name; public int age; public int weight; public int strength; public static void main(String[] args) { Cat cat1 = new Cat(); cat1.age = 4; cat1.strength = 20; cat1.weight = 20; cat1.name = "Cat1";
    • 9/18/18
    • 2579views
    • 4comments
    0
  • DuesVultKek
    Level 7
    Jacksonville
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    Help me pleaseThe code is perfect except the lines printed are 11. Give my code a try (Don't verify it, instead run it) and you'll see what I mean. And if you do, there's a space above the 1 2 3 ... 9 10 which is somehow I don't know how to remove that one. Please let us help each other.
    • 8/26/18
    • 2079views
    • 4comments
    0
  • Sandeep
    Level 3
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Resolved
    can anybody help me ! Am getting output as 539 package com.codegym.task.task03.task0306; /* Parenthetical brainteaser */ public class Solution { public static void main(String[] args) { System.out.println((1+(2*3+4))*5+6*(7+8*9)+10); } }
    • 8/15/18
    • 2559views
    • 3comments
    0
  • Chinmay Sawant
    Level 0
    Mumbai
    Question about the task Bugs and features
    Java Syntax, Level 0, Lesson 8
    Resolved
    How to solve these?PLEASE help me out
    • 8/13/18
    • 2061views
    • 9comments
    0
  • Anonymous #297745
    Level 3
    Jaurian
    Question about the task Choose healthy food! Choose fruit!
    Java Syntax, Level 1, Lesson 8
    Archived
    Need helpPlease help me to solve this code System.out.println("Two roads diverged in a yellow wood,"); System.out.println("And sorry I could not travel both"); System.out.println("And be one traveler, long I stood"); System.out.print(" ");
    • 9/14/18
    • 1654views
    • 4comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    Why am i getting this error import java.io.*; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(bufferedReader.readLine()); int b = Integer.parseInt(buffer
    • 9/17/18
    • 2049views
    • 9comments
    0
  • Manimegalai
    Level 3
    Kanchipuram
    Question about the task Hello, StarCraft!
    Java Syntax, Level 3, Lesson 4
    Under discussion
    Whats wrong in my codepublic class Solution { public static void main(String[] args) { Zerg z1=new Zerg(); z1.name="aa"; Zerg z2=new Zerg(); z2.name="aa"; Zerg z3=new Zerg(); z3.name="aa"; Zerg z4=new Zerg(); z4.name="aa"; Zerg z5=new Zerg();
    • 9/17/18
    • 2299views
    • 3comments
    0
  • sohaila
    Level 2
    Karachi
    Under discussion
    i cant find the error although the output text is same but cant meet the last condition. recommendation is typo error. conditions are:Write a program that displays "It's not a bug—it's a feature." Example output: It's not a bug—it's a feature. Requirements: 1. The program should output text. 2. Tpackage com.codegym.task.task01.task0106; /* Bugs and features */ public class Solution { public static void main(String[] args) { System.out.print("It's not a bug"-it's a feature."); } }
    • 9/17/18
    • 1590views
    • 3comments
    0
  • Anonymous #220266
    Level 0
    Hyderabad
    Question about the task No comments needed
    Java Syntax, Level 0, Lesson 8
    Under discussion
    Help me to solveIt is right or wrong
    • 8/27/18
    • 1624views
    • 6comments
    0
  • Anonymous #260075
    Level 2
    Mumbai
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    i didn't get it plz help.public class Solution { public static void main(String[] args){ Person Person = new Person();//write your code here } public static class Person { String name; int age; int weight; int money;//write your code here
    • 9/16/18
    • 2166views
    • 1comment
    0
  • Anonymous #260075
    Level 2
    Mumbai
    Question about the task Display the square of a number
    Java Syntax, Level 1, Lesson 3
    Under discussion
    how to solve this code.i didn't get output.plz reply.public class Solution { public static int number = 25; public static void main(String[] args) { int number = (25); System.out.print(number*number); } }
    • 9/7/18
    • 1659views
    • 3comments
    0
  • Shahanshah Alam
    Level 9
    Mohali
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    helpwhat is wrong in this code
    • 9/16/18
    • 1751views
    • 4comments
    0
  • Madhu Prabha
    Level 7
    Gurgaon
    Question about the task Deep and pure love
    Java Syntax, Level 3, Lesson 8
    Resolved
    Missing spacesI'm not getting the output.Help please?
    • 8/15/18
    • 5324views
    • 2comments
    0
  • Ryon
    Level 9
    Manila
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Resolved
    Not showing any output package com.codegym.task.task07.task0712; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Shortest or longest */ public class Solution { public static void main(String[] args) throws Exception { //write you
    • 9/16/18
    • 1618views
    • 1comment
    0
  • gery
    Level 9
    Islamabad
    Under discussion
    verfication failed but runs fine BufferedReader b = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(b.readLine()); int b1 = Integer.parseInt(b.readLine()); if (a
    • 9/14/18
    • 1569views
    • 3comments
    0
  • Navaneeth H
    Level 4
    Canton
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Can we create two public class in the same Solution.java file.!!!Can we create two public class in the same Solution.java file.!!!
    • 9/12/18
    • 1679views
    • 3comments
    0
  • Zubin Nair
    Level 7
    New Delhi
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Fourth requirement is not satisfiedFourth requirement is not satisfied here What is the problem here ?? And the recommendation from the mentor was that I have used too many methods in the class but i have used only one method that is max What is the problem here ?? Pls reply asap
    • 9/14/18
    • 1781views
    • 3comments
    0
  • Vikas
    Level 3
    Delhi
    Question about the task As simple as 2+2
    Java Syntax, Level 1, Lesson 8
    Resolved
    Java Syntax, Level 1, Lesson 8now what i have 2 do i tried all methods but i'm not able to get answer plz help me to get answer.
    • 7/31/18
    • 2401views
    • 7comments
    0
  • mane
    Level 2
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived
    how to solvehow to solve
    • 8/1/18
    • 2074views
    • 12comments
    0
  • 1
  • ...
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 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