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
  • MOHAMMAD AAZAM
    Level 2
    Mumbai
    Question about the task Square of a number
    Java Syntax, Level 1, Lesson 8
    Archived
    Unable to understand I am unable to understand what's going on and where to declare 5 and what method should be used.
    • 4/25/19
    • 1172views
    • 1comment
    0
  • Evghenii
    Level 13
    Chisinau
    Question about the task 18+
    Java Syntax, Level 4, Lesson 6
    Resolved
    I dont understand what wrong?How can help me. In program everything work. But in CodyGym no. Where is my mistake ?
    • 4/24/19
    • 2152views
    • 3comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    Can you give me some hint how to solve this task?need help
    • 4/8/19
    • 1637views
    • 1comment
    0
  • Naman
    Level 2
    Thana Bhawan
    Question about the task CodeGym. Learn once - use anywhere
    Java Syntax, Level 1, Lesson 4
    Under discussion
    Not able to satisfy text should consist of 10 lines String s = "_____________"; System.out.print(s + s + s + s + s + s + s + s + s + s )
    • 4/25/19
    • 1608views
    • 3comments
    0
  • MOHAMMAD AAZAM
    Level 2
    Mumbai
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I don't understand what's wrong with my code.I don't understand what's wrong with my code.
    • 4/27/19
    • 1091views
    • 1comment
    0
  • dpp
    Level 8
    Colombo
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    Bad operand types??package com.codegym.task.task04.task0416; /* Crossing the road blindly */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { float t; float result; InputStream inputStream=System.in; Reader inputStreamReader=ne
    • 4/26/19
    • 1299views
    • 2comments
    0
  • Riya
    Level 8
    Karnal
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Need helphow to realize 6th requirement.
    • 10/3/18
    • 1540views
    • 3comments
    0
  • David Lavigne
    Level 24
    Lynnwood
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Under discussion
    Unable to pass Validation.My testing seems to pass all validation criteria, however validation fails for: - When the program is run with the arguments "-c productName price quantity", a new line with the corresponding product should be added to the end of the file. - The product must have the next id after the maximum id fo
    • 4/14/19
    • 1512views
    • 2comments
    0
  • WonderWoman
    Level 8
    Bangalore
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Resolved
    Not sure what is wrong with this modified code - this checks for equal conditions as well!Not sure what is wrong with this modified code - this checks for equal conditions as well!
    • 9/14/18
    • 2454views
    • 15comments
    0
  • Godwin
    Level 14
    Sango
    Under discussion
    How is a set method different from an initialize method?what are their similarities and differences?
    • 4/26/19
    • 1232views
    • 2comments
    0
  • Radek
    Level 22
    Warsaw
    Question about the task Encryption
    Java Core, Level 8, Lesson 11
    Resolved
    what's wrongAfter many tests I am sure, the solution run perfectly and match conditions.
    • 11/18/18
    • 1782views
    • 4comments
    0
  • ARIJIT MONDAL
    Level 1
    Kolkata
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Unable to understand the mismatch of the text. Everything is looking fine from my side. But validation failvalidation fails as "The displayed text must fully match the task conditions."
    • 4/26/19
    • 1681views
    • 1comment
    0
  • rey
    Level 6
    Makati
    Question about the task Only 20 will do
    Java Syntax, Level 1, Lesson 4
    Under discussion
    ITS IMPOSSIBLE QUESTIONITS IMPOSSIBLE
    • 4/19/19
    • 1664views
    • 4comments
    0
  • Karan
    Level 0
    Peshawar
    Question about the task Amigo is very smart
    Java Syntax, Level 0, Lesson 2
    Resolved
    "Amigo is very smart"."Amigo is very smart".
    • 4/24/19
    • 2182views
    • 1comment
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Why does not pass validation (check)? package com.codegym.task.task03.task0314; public class Solution { public static void main(String[] args) { for (int i = 1; i <= 10; i++){ System.out.println(' '); for (int y = 1; y <= 10; y++){ if((i*y)<10){ System.ou
    • 4/23/19
    • 1642views
    • 3comments
    0
  • dean
    Level 8
    Deutschland
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Why it doesn't work?Why it doesn't work?
    • 4/25/19
    • 1243views
    • 4comments
    0
  • Marco Tidu
    Level 2
    Iitti
    Under discussion
    Where can I put the codes on Mac?!?!?Hello to everyone, I'm getting crazy about finding the Java Virtual Machine on my Mac. I've installed JDK the last version and something else but I cannot find a way to open a JVM. Please HELP :D
    • 4/25/19
    • 1109views
    • 2comments
    0
  • rishabh parmar
    Level 3
    Jhinjhana
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    What is the problem in this code?I am not able to understand the template mentioned in conditions.
    • 4/21/19
    • 1292views
    • 2comments
    0
  • Steven Mcilhone
    Level 17
    Belfast
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    question3. Displays the maximum of the N entered numbers. does this mean find the largest number from the numbers entered?
    • 4/25/19
    • 1233views
    • 1comment
    0
  • Djole
    Level 41
    Belgrade
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    why is it not working???public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandfatherName = reader.readLine(); Cat catGrandfather = new Cat(grandfatherName);
    • 1/3/19
    • 2011views
    • 3comments
    0
  • Djole
    Level 41
    Belgrade
    Question about the task TableAdapter
    Java Core, Level 9, Lesson 3
    Resolved
    last condition not satisfied??public class Solution { public static void main(String[] args) { ATable aTable = new ATable() { @Override public String getCurrentUserName() { return "Amigo"; } @Override public String getTableName() {
    • 2/2/19
    • 1415views
    • 1comment
    0
  • Jane
    Level 3
    Cape Town
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    Can something like this work?My first thought was to do something like this and it (of course) did not work. The question is... is there a way to make something like this work in a slightly different way? public class Solution { public static int min(int a, int b, int c) { int m1; int m2; if (a &l
    • 1/23/19
    • 2023views
    • 11comments
    0
  • Darko Jakimovski
    Level 18
    Kriva Palanka
    Question about the task Functionality is not enough!
    Java Syntax, Level 10, Lesson 11
    Resolved
    Validation gets frustratingHow in the ungodly crap am I not clearing the last condition? Elaborate please
    • 4/23/19
    • 1747views
    • 3comments
    0
  • Sambit
    Level 8
    Delhi
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    Facing problemThe two conditions aren't satisfied. 1. The line about the father (third line) must match the conditions. 2. The line about the mother (fourth line) must match the conditions. Output: The cat's name is Grandfather Tiger, no mother, no father The cat's name is Grandmother Puss, no mother, no father
    • 4/22/19
    • 1918views
    • 2comments
    0
  • Djole
    Level 41
    Belgrade
    Question about the task No goofing off
    Java Multithreading, Level 5, Lesson 7
    Resolved
    I give up. can't get 2nd requirement to work.public class TaskManipulator implements Runnable, CustomThreadManipulator { private Thread current; @Override public void run() { do{ System.out.println(current.getName()); try { current.sleep(100); } catch (InterruptedException
    • 4/19/19
    • 1654views
    • 3comments
    0
  • Fido Lost
    Level 8
    Timmins
    Under discussion
    How do I import my own class to make answers quicker?I want to import my class from a parent package directory com.codegym.task.MyScanner and use my own methods askInt() and askDbl() inside the IntelliJ IDE. The Verify button will not find MyScanner when I try to import it with import codegym.task.MyScanner; inside the Solution.java class. What can
    • 4/24/19
    • 1368views
    • 2comments
    0
  • Dreni Mujaj
    Level 7
    Peja
    Question about the task Choose healthy food! Choose fruit!
    Java Syntax, Level 1, Lesson 8
    Archived
    What's wrong with this code?public class Solution { public static void main(String[] args) { String apple = "Apple"; String porridge = "Porridge"; String sausage = "Sausage"; String peach = "Peach"; //write your code here System.out.println("apple"); System.out.print
    • 1/5/19
    • 1726views
    • 5comments
    0
  • edis emin
    Level 7
    London
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 4
    Archived
    No idea what im doing wrong with this question does anybody have a solution?package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { InputStream inputStream= System.in; Reader inputStreamReader = new InputStreamReader(inputStream
    • 4/22/19
    • 1703views
    • 6comments
    0
  • Derek
    Level 11
    Apex, NC
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    not reversing ordermy sort method is isn't flipping the order. Any thoughts?
    • 4/4/19
    • 1392views
    • 3comments
    0
  • serhad erol
    Level 4
    Bursa
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    The code works says there is a typo but none whatsoever. I cant find any typo , already restarted and tried but same thing. Can you point it out ?
    • 4/23/19
    • 1360views
    • 2comments
    0
  • 1
  • ...
  • 331
  • 332
  • 333
  • 334
  • 335
  • ...
  • 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