CodeGym
Promotion
CodeGym University
Learning
Course
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
All quests Java Syntax Java Core Java Multithreading Java Collections JSP & Servlets Java Syntax Pro Games
All levels Level 0 Level 1 Level 2 Level 3 Level 4 Level 5 Level 6 Level 7 Level 8 Level 9 Level 10 Level 11 Level 12 Level 13 Level 14 Level 15 Level 16 Level 17 Level 18 Level 19 Level 20 Level 21 Level 22 Level 23 Level 24 Level 25 Level 26 Level 27 Level 28
Any status New Discussed Resolved Archived Duplicates
Hot Popular New Old
  • Kalpanasrinivas
    Level 0
    Vijayawada
    Under discussion

    Please tell the solution

    2 + 3 = 5 Comment out a few lines to display 2 plus 3 is equal to 5 on the screen. Note: Don't comment out the lines with variable declarations. Requirements: 1. The program should display "2 plus 3 is equal to 5" on the screen. 2. Don't change the lines that declare variables. 3. You need to com
    • 04.10.2018
    • 1532views
    • 1comment
    0
  • Shahanshah Alam
    Level 9
    Mohali
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion

    help please...what cause wrong output

    wrong output
    • 26.09.2018
    • 1396views
    • 19comments
    0
  • Srividya
    Level 3
    Bangalore
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved

    Minimum of three numbers

    Please help with resolving the ... "The min method must return the minimum of the numbers a, b, and c." error. Thank You.
    • 03.10.2018
    • 1981views
    • 2comments
    0
  • Manjunath Deva
    Level 5
    Bangalore
    Under discussion

    i'm not getting this please help me to overcome.

    package com.codegym.task.task05.task0521; /* Calling a constructor from a constructor */ public class Circle { public double x; public double y; public double radius; public Circle(double x, double y, double radius) { this.x = x; this.y = y; this.radius
    • 04.10.2018
    • 837views
    • 2comments
    0
  • Yusra Ansari
    Level 9
    Karachi
    Question about the task Choose healthy food! Choose fruit!
    Java Syntax, Level 1, Lesson 8
    Archived

    Throwing error Unable to resolve

    Unable to resolve my last error
    • 10.09.2018
    • 841views
    • 5comments
    0
  • chandana
    Level 1
    Southfield
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Under discussion

    No result

    i did not get the result for my first task, its showing some error, please help me understand my mistake
    • 03.10.2018
    • 940views
    • 4comments
    0
  • Nehal Abubakar
    Level 7
    Karachi
    Question about the task Lonely arrays interact
    Java Syntax, Level 7, Lesson 4
    Archived

    it's giving an error in x.length. Help me out plzzzzz

    package com.codegym.task.task07.task0703; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; import java.lang.String; /* Lonely arrays interact */ public class Solution { public static void main(String[] args) throws Exception { //write your c
    • 03.10.2018
    • 1019views
    • 3comments
    0
  • WonderWoman
    Level 8
    Bangalore
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved

    What is wrong with the code?

    What is wrong with the code? Is Java 8 code acceptable here?
    • 10.09.2018
    • 1157views
    • 7comments
    0
  • MARIO
    Level 4
    Rosario
    Under discussion

    I think something is wrong

    John Squirrels told me that I have to leave my question here, so I'm doing that: Hi. I think something is wrong in https://codegym.cc/quests/lectures/questsyntax.level04.lecture04 because I've tried a lot of possibilities and never failed. But when I want to verify, an apparent error happen. Th
    • 02.10.2018
    • 877views
    • 2comments
    0
  • manoj deo
    Level 3
    Jakarta
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion

    ??

    why??
    • 01.10.2018
    • 998views
    • 2comments
    0
  • iqbalhussain
    Level 22
    Peshawar
    Question about the task Let's count
    Java Core, Level 7, Lesson 10
    Under discussion

    Please Help

    I did'nt understand which method should use in Solution class for waiting until the thread ends. Should I use join() method or any other method?
    • 03.10.2018
    • 1070views
    • 1comment
    0
  • Samir
    Level 4
    Mumbai
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved

    Unable to identify the mistake , please help .

    package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new Bu
    • 10.09.2018
    • 1048views
    • 3comments
    0
  • Ankush Rajput
    Level 25
    Bhopal
    Question about the task Counting commas
    Java Core, Level 8, Lesson 5
    Resolved

    help

    Closing all streams still it is showing "The stream used to read the file must be closed".
    • 17.09.2018
    • 1122views
    • 4comments
    0
  • Sindhura
    Level 15
    Delhi
    Question about the task Display numbers in reverse order
    Java Syntax, Level 7, Lesson 12
    Under discussion

    whats wrong with this?

    package com.codegym.task.task07.task0719; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /* Display numbers in reverse order Enter 10 numbers from the keyboard and put them in a list. Display them in reverse order. Each ele
    • 03.10.2018
    • 1169views
    • 2comments
    0
  • Srividya
    Level 3
    Bangalore
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved

    Pay Raise

    Hi, I tried, 1> a=(a+1000); System.out.println("Your salary is: (a) dollars per month."); 2> System.out.println("Your salary is: (a+1000) dollars per month."); 3> a=(a+1000); System.out.println("Your salary is:" +a+ "dollars per month."); it is incorrect, so how shou
    • 28.09.2018
    • 1829views
    • 4comments
    0
  • Mihai Hurezanu
    Level 2
    Venlo
    Under discussion

    Level 2 lesson 1

    Ok, so I get that: public static void print(String s) defines public class Solution { public static void main(String[] args) { print("Java is easy to learn!"); print("Java opens many opportunities!"); } as String s. My question is, how could I without having learned how
    • 02.10.2018
    • 774views
    • 1comment
    0
  • Sam
    Level 2
    Delhi
    Question about the task Crazy eights
    Java Syntax, Level 2, Lesson 5
    Resolved

    This is frustrating ..how do i get over it?

    Still says; You initialized too few variables. What's the problem in this code? i need a hint!
    • 20.08.2018
    • 1572views
    • 4comments
    0
  • Joyonta Saha
    Level 31
    Question about the task Player and Dancer
    Java Core, Level 4, Lesson 4
    Resolved

    haveFun method giving correct output however not passing validation

    need help!
    • 22.09.2018
    • 1603views
    • 10comments
    0
  • Durga Prasad
    Level 3
    Chennai
    Under discussion

    reference variables

    I understand the first sentence. but how the second statment "classes can be created inside other class" are releated
    • 13.08.2018
    • 840views
    • 1comment
    0
  • Pawan Harde
    Level 4
    Mumbai
    Question about the task Cats in the Universe
    Java Syntax, Level 4, Lesson 2
    Under discussion

    this one

    i hope its attached it
    • 02.10.2018
    • 848views
    • 1comment
    0
  • Sindhura
    Level 15
    Delhi
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Resolved

    couldnot get what is the error

    package com.codegym.task.task07.task0711; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Remove and insert */ public class Solution { public static void main(String[] args) throws Exception { //write your code here ArrayList
    • 02.10.2018
    • 1175views
    • 2comments
    0
  • Arko Sarkar
    Level 8
    Mumbai
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion

    man.wife and Woman wife in class Man?

    man.wife means what? If it was Man.wife then it'd have been class Man and variable wife, where this variable wife is of class Woman(as given in predefined code). What does this all mean? Also if the class is static then doesn't that mean that we should access it using class_name.(method_name/var_na
    • 23.08.2018
    • 931views
    • 2comments
    0
  • suhaib
    Level 1
    peshawar
    Question about the task I think being a programmer is cool
    Java Syntax, Level 0, Lesson 3
    Under discussion

    what should i do?

    i didn't understand where i am wrong please help
    • 24.09.2018
    • 856views
    • 10comments
    0
  • Shahanshah Alam
    Level 9
    Mohali
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Under discussion

    help please

    its showing output [ c, d, e, a, c] for 5 2 a b c d e
    • 30.09.2018
    • 876views
    • 2comments
    0
  • Azhar Iqbal
    Level 18
    Multan
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Resolved

    where is problem ???

    A little hint is appreciated
    • 30.09.2018
    • 1358views
    • 2comments
    0
  • Vishal Patil
    Level 5
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Resolved

    Getting the number 537

    I tried many possibilities here. I got numbers close to 537 like 535, 534 but not 537. Been on this problem for two days now. Just how do we get 537 ?
    • 30.07.2018
    • 1517views
    • 9comments
    0
  • kirti
    Level 8
    Question about the task Seasons on Terra
    Java Syntax, Level 4, Lesson 4
    Resolved

    helpp

    what is the problem in my code?
    • 09.09.2018
    • 1505views
    • 3comments
    0
  • code_k
    Level 16
    chennai
    Question about the task Creating cats
    Java Syntax, Level 5, Lesson 9
    Resolved

    doubt

    any thing is wrog in the code
    • 29.09.2018
    • 1242views
    • 1comment
    0
  • tony
    Level 20
    Nis
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived

    Check this code

    What is wrong with this code I got 25 as a result
    • 28.09.2018
    • 825views
    • 5comments
    0
  • gery
    Level 9
    Islamabad
    Question about the task 10 thousand deletions and insertions
    Java Syntax, Level 8, Lesson 6
    Resolved

    unable to start

    level 8, lesson 6, task: 10 thousand deletions and insertions guide the logic, to start the first method public static void main(String[] args) throws Exception { // ArrayList ArrayList arrayList = new ArrayList(); insert10000(arrayList); get10000(arrayList);
    • 29.09.2018
    • 1424views
    • 2comments
    0
  • 1
  • ...
  • 337
  • 338
  • 339
  • 340
  • 341
  • ...
  • 346
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Game Projects
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
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 Java developer’s career.
Follow us
Interface language
Programmers Are Made, Not Born © 2022 CodeGym
Download App
  • Google Play
  • Huawei AppGallery
  • App Store
MastercardVisa
Programmers Are Made, Not Born © 2022 CodeGym
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.