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
  • Vasiliy Nikityuk
    Level 6
    Kiev
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    what is wrong?My code is work, but i have error
    • 4/15/19
    • 1188views
    • 2comments
    0
  • Arjun Kiruthivasan
    Level 14
    Chennai
    Question about the task Logging stack traces
    Java Syntax, Level 9, Lesson 2
    Resolved
    where am i wrong??the output shows: com.javarush.task.task09.task0906.Solution: main: In main method
    • 9/22/18
    • 2125views
    • 5comments
    0
  • Andrii
    Level 19
    KRK
    Question about the task OOP: Cars
    Java Core, Level 5, Lesson 2
    Resolved
    printlnDesire result in CheapCar & LuxuryCar classes Hi, can't pass below requirements: The printlnDesire method in the CheapCar class should display "I want to drive a cheap car". The printlnDesire method in the LuxuryCar class should display "I want to drive a luxury car". However in console I see result accordingly to main method method's calls:
    • 4/15/19
    • 2014views
    • 2comments
    0
  • Vaishnavi
    Level 8
    Waukesha
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    What should I do after this?public class Solution { public static void main(String[] args) { //write your code here int i = 1; while (i<11){ System.out.print(i); i++; System.out.print(" "); } } } I have this much, but I don't know how to multiply t
    • 4/12/19
    • 1851views
    • 5comments
    0
  • MakinTosH
    Level 20
    Vilnius
    Resolved
    Java Syntax, Level 7, Lesson 4 Maximum in an array.This code doesn't pass and displays following message Be sure that the max method works correctly with negative numbers. public class Solution { public static void main(String[] args) throws Exception { int[] array = initializeArray(); int max = max(array); System.out.p
    • 4/15/19
    • 1400views
    • 3comments
    0
  • Mathyn Keus
    Level 7
    Enschede
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    What is wrong here?What is wrong here?
    • 4/15/19
    • 1555views
    • 3comments
    0
  • Jason Ahn
    Level 5
    Calgary
    Question about the task Let's put together a rectangle
    Java Syntax, Level 5, Lesson 7
    Under discussion
    Please helppCan someone please help me.. I'm stuck creating a copy of another rectangle passed as an argument :(
    • 12/28/18
    • 2216views
    • 8comments
    0
  • Brian Parks
    Level 9
    Victoria
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Resolved
    not displaying right?Just missing the last set of verification.
    • 4/14/19
    • 1576views
    • 2comments
    0
  • Seventh Heaven
    Level 4
    Kuala Lumpur
    Question about the task Print three times
    Java Syntax, Level 2, Lesson 8
    Under discussion
    My answer is correct, but instead i need to remove the space on the last sentenceSometimes i can be a bit perfectionist, take a look at my code: public static void print3(String s) { System.out.print(s + " " + s); System.out.print(" " + s + " "); } The output => [window window window file file file ] Yes there is a single space at the end, although
    • 2/10/19
    • 1460views
    • 5comments
    0
  • Anoop Negi
    Level 15
    Meerut
    Question about the task Cats should not be abstract!
    Java Core, Level 2, Lesson 6
    Resolved
    Please helpHow i use getChild method in dog class
    • 11/11/18
    • 1495views
    • 1comment
    0
  • Sung Ju No
    Level 7
    Sao Paulo
    Question about the task One cat isn't enough
    Java Syntax, Level 2, Lesson 3
    Under discussion
    Hi community :), why if i declare different names dont work? i dont see any requirements about that!package com.codegym.task.task02.task0208; /* One cat isn't enough */ public class Solution { public static void main(String[] args) { Car kitty = new Cat(); Cer limo = new Cat();//write your code here } public static class Cat { } }
    • 4/10/19
    • 1697views
    • 7comments
    0
  • Hashirama
    Level 26
    Port-Harcourt
    Question about the task Problem solving
    Java Core, Level 9, Lesson 8
    Under discussion
    Hi guys...The last condition fails verification. Recommendation from the mentor is: Addition problems are not solved correctly. See screenshot below How do I fix this?
    • 3/5/19
    • 1707views
    • 2comments
    0
  • Abdur Rehman
    Level 7
    Faisalabad
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    what is wrong with my last conditionwhat is wrong with last condition
    • 4/13/19
    • 1692views
    • 6comments
    0
  • ousi4ous
    Level 2
    Douala
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    i have difficulties finding my errorcan someone please help me find the error
    • 4/11/19
    • 1219views
    • 4comments
    0
  • Yuva
    Level 3
    Karnal
    Under discussion
    what does this mean.. i did all as said by the instructions..Carefully check the displayed text. It looks like you made a typo. public class Solution { public static void main(String[] args) { System.out.println("CodeGym.Learn once-use anywhere"); System.out.println("CodeGym.Learn once-use anywhere"); System.out.println("
    • 4/12/19
    • 1179views
    • 1comment
    0
  • Guadalupe Gagnon
    Level 37
    Tampa
    Question about the task No goofing off
    Java Multithreading, Level 5, Lesson 7
    Resolved
    Cant passrecommendation from mentor: "make sure that the start method saves the created thread to a field"
    • 4/12/19
    • 1585views
    • 5comments
    0
  • ASHUTOSH SHUKLA
    Level 3
    Katni
    Resolved
    Verification errorCoding was right and I tried with it two method it run without error ,output was same as condition tab but then also it was showing in verification it show with red exclamation mark that 'program should consist of 9 with empty line'. Any body can tell me what can I do?
    • 4/12/19
    • 1066views
    • 2comments
    0
  • C. Chiang
    Level 18
    Bryan
    Question about the task Chicken factory
    Java Core, Level 4, Lesson 6
    Under discussion
    What's wrong with my code? Stuck with run time errors: non-static variable this cannot be referenced from a static context. Nee some help!
    • 2/19/19
    • 1457views
    • 4comments
    0
  • Za Surpex
    Level 2
    Ocala
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    What is the "Converter" question asking for? I have no idea what this is asking for. It gives an example, but it doesn't state a question clearly. What am I supposed to be accomplishing here? The convertCelsiusToFahrenheit(int celsius) method accepts a value in degrees Celsius. The method should convert the temperature and return the value in
    • 4/3/19
    • 1937views
    • 3comments
    0
  • Hephzibah Jeyashankar
    Level 4
    Tuticorin
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Farenheit Coverter? How to sove this? Anybody there?Our first converter! The convertCelsiusToFahrenheit(int celsius) method accepts a value in degrees Celsius. The method should convert the temperature and return the value in degrees Fahrenheit. The Celsius temperature (TC) and the Fahrenheit temperature (TF) are related by the following relationship
    • 10/5/18
    • 2809views
    • 9comments
    0
  • Nabin Thapa
    Level 6
    Richardson
    Under discussion
    why BufferedReader and Scanner is not working on the code editor its throwing the eroor But its working on my eclipse idepackage com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader buffer = new
    • 4/11/19
    • 1259views
    • 1comment
    0
  • Ritesh Kumar Mandal
    Level 9
    Delhi
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Resolved
    Don't able to understand what is asked in the third requirement...?I had tried every date it's working alright and returning value. Sill not able to pass the third requirement which says try other dates.
    • 1/6/19
    • 1939views
    • 3comments
    0
  • alpha_centauri
    Level 3
    Question about the task Time conversion
    Java Syntax, Level 3, Lesson 5
    Under discussion
    why isn't correct? public class Solution { //write your code here public static void main(String[] args) { //write your code here int hour = 1; System.out.println( convertToSeconds( hour ) + " hour " + Integer.toString( convertToSeconds( hour ) ) + " seconds"
    • 4/11/19
    • 1557views
    • 2comments
    0
  • inessa smets
    Level 3
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Resolved
    plz help: why is this not correct.package com.codegym.task.task02.task0213; /* Pets need people */ public class Solution { public static void main(String[] args) { //write your code here Woman woman = new woman(); Cat cat = new cat(); Dog dog = new dog(); Fish fish = new fish();
    • 4/11/19
    • 1886views
    • 3comments
    0
  • Nabin Thapa
    Level 6
    Richardson
    Under discussion
    how to read the input from the keyboard in codegym editor i'm getting pissed off Scanner and BufferedReader is not working hereimport java.util.Scanner Scanner scan = new Scanner(System.in);//This is throwing the error
    • 4/11/19
    • 1434views
    • 1comment
    0
  • ARIJIT MONDAL
    Level 1
    Kolkata
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Getting correct result , but verification fail as "The min method must return the minimum of the numbers a, b, and c."
    • 4/11/19
    • 1537views
    • 7comments
    0
  • kunal yerunkar
    Level 0
    Mumbai
    Question about the task My young friend
    Java Syntax, Level 0, Lesson 4
    Resolved
    only one requirement are pending ?
    • 4/8/19
    • 1508views
    • 3comments
    0
  • Connor
    Level 8
    Boston
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    Question about print in the main method.What is print in the main method? I just don't quite understand how we go from public static void main(String[] args) { print("Java is easy to learn!"); print("Java opens many opportunities!"); } to public static void print(String s) { //My code goes here. } I
    • 4/10/19
    • 2038views
    • 3comments
    0
  • Willie Mangram
    Level 19
    Pensacola
    Question about the task Method in a try-catch
    Java Syntax, Level 9, Lesson 11
    Resolved
    If the user enters text rather than a number, the program should display all previously entered numbers.Functions perfectly when I run it and when I enter a text it catches and displays the previous numbers entered and added into the ArrayList. I appreciate the assistance guys!
    • 1/18/19
    • 1949views
    • 4comments
    0
  • Pratik Jain
    Level 2
    mumbai
    Question about the task Implement the print method
    Java Syntax, Level 2, Lesson 1
    Under discussion
    print methodcan any help me with this
    • 8/12/18
    • 1655views
    • 10comments
    0
  • 1
  • ...
  • 334
  • 335
  • 336
  • 337
  • 338
  • ...
  • 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