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
  • Antonia
    Level 10
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    help me?wrong
    • 7/12/19
    • 1606views
    • 1comment
    0
  • Prahlad Singh
    Level 6
    Mumbai
    Question about the task Even numbers
    Java Syntax, Level 4, Lesson 13
    Resolved
    qwhat is prblm in this?
    • 9/16/18
    • 2126views
    • 2comments
    0
  • Vijay Rangan
    Level 5
    Jakarta
    Question about the task Cat register
    Java Syntax, Level 4, Lesson 2
    Resolved
    why its not getting increment :( I have no error in this program and i have also did increment operation but it is not working ...if i use Cat.addNewCat its throwing error
    • 10/14/18
    • 2198views
    • 4comments
    1
  • Divyansh
    Level 4
    Mathura
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    HELP PLEASE !Where is the problem? when i change int into double at some places it wont even compile !
    • 7/8/19
    • 1592views
    • 2comments
    0
  • Hrishikesh Kalita
    Level 8
    Guwahati
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Issues with Yellow and Green Green is ok, Issues with Yellow and Green. package com.codegym.task.task04.task0416; /* Crossing the road blindly */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new Buf
    • 7/1/19
    • 1578views
    • 2comments
    0
  • Jacob
    Level 6
    Warsaw
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Last oneHave a problem with the last one, I read something about the "counter" but I dont know how to use that in this code?
    • 7/2/19
    • 1588views
    • 4comments
    0
  • Mateo
    Level 26
    Zagreb
    Question about the task Minesweeper (Part 6/16)
    Games, Level 0, Lesson 0
    Resolved
    Task not verifyingif anybody also has a tip for better way of counting mines around field feel free to share
    • 7/12/19
    • 1877views
    • 2comments
    0
  • Bazsó Benjámin
    Level 20
    Szombathely
    Question about the task What's today's date?
    Java Syntax, Level 9, Lesson 11
    Resolved
    why not validate?i cant find what am i missing here?
    • 4/7/19
    • 1989views
    • 1comment
    1
  • Denis
    Level 22
    Kharkiv
    Question about the task ATM
    Java Core, Level 7, Lesson 10
    Under discussion
    Last condition plsNeed help
    • 6/28/19
    • 1352views
    • 1comment
    0
  • Raj kumar
    Level 10
    Delhi
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    Help!!!What's the error in the code..
    • 7/8/19
    • 1623views
    • 4comments
    0
  • Tangerin
    Level 27
    Chongqing
    Question about the task A scary fairy tale
    Java Syntax, Level 9, Lesson 11
    Under discussion
    That's not fair!Why the woodcutter didn't rescue the grandma and the hood out of the wolf's stomach!
    • 7/6/19
    • 1521views
    • 1comment
    1
  • vish
    Level 3
    Bangalore
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I'm getting last error, i tried couldn't solve./* What's wrong with this */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { a = 7000+1000; System.out.println("your salary is:" + " " + a + " " + "dollars per month."); } }
    • 7/11/19
    • 1793views
    • 2comments
    2
  • Rupa Joshi
    Level 29
    Tokyo
    Question about the task Reading a file
    Java Core, Level 3, Lesson 11
    Archived
    What is wrong with the code? can anyone tell me?I am getting an error as its displays too many line when I try to verify and fails to verify the third condition.
    • 7/11/19
    • 1519views
    • 2comments
    0
  • hidden #10263621
    Level 4
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Help needed on code and logicHelp needed on code and logic
    • 9/19/18
    • 2163views
    • 5comments
    0
  • Mateo
    Level 26
    Zagreb
    Question about the task Minesweeper (Part 5/16)
    Games, Level 0, Lesson 0
    Resolved
    Any Tip? I don't understand why its not validating (Sys.out.print for checking). Can anybody explain please?
    • 7/11/19
    • 2060views
    • 1comment
    0
  • TatiE
    Level 11
    Upland
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Last requirement is not validatingI looked through the discussion and help sections first but I still can't catch the error in my code. I didn't assign maximum to 0 and didn't use arrays. It works great with positive and negative values. Does anyone have an idea why I'm failing the last requirement?
    • 7/11/19
    • 1500views
    • 4comments
    0
  • 季军
    Level 38
    Shanghai
    Question about the task Minesweeper (Part 12/16)
    Games, Level 0, Lesson 0
    Under discussion
    Why my code cannot pass any of the tests?I'm really confused...
    • 7/10/19
    • 1374views
    • 1comment
    0
  • Divyansh
    Level 4
    Mathura
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Under discussion
    Please Help !What's the problem?
    • 7/11/19
    • 1504views
    • 1comment
    0
  • Dilyara
    Level 17
    San Diego
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    What is wrong with this code?import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String ns = bufferedReader.readLine();
    • 7/11/19
    • 1576views
    • 1comment
    0
  • Ankur Khanna
    Level 3
    Delhi
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Under discussion
    whats wrong with my code?help me out here
    • 7/11/19
    • 1706views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Resolved
    Whats wrong with my code?Whats wrong with my code?
    • 7/2/19
    • 2053views
    • 3comments
    1
  • Jay
    Level 17
    Washington
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Explanation Needed I understand that the fight method returns a boolean and takes an object of the Cat class as it's parameter stored in the variable anotherCat. However, what does the this.weight, this.strength refer to? Secondly, why am I unable to call the method in my main? It says it can't be accessed from a st
    • 7/10/19
    • 1695views
    • 4comments
    0
  • qsasdgkl
    Level 17
    San Diego
    Question about the task Interfaces for the Human class
    Java Core, Level 2, Lesson 12
    Under discussion
    Why cant the human be a miner?Why cant the human be a miner here? Also what is meant by: "but be sure that it doesn't become an abstract class." How could one accidentally create an abstract class?
    • 6/13/19
    • 1694views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task LinkedList and ArrayList
    Java Syntax, Level 8, Lesson 6
    Resolved
    Why does he not accept my code??I don´t understand why he is not accepting my code! What is the problem? He says that the } in line 14 is wrong.
    • 6/27/19
    • 1558views
    • 2comments
    1
  • Michał Kwaśny
    Level 22
    Krakow
    Question about the task What's today's date?
    Java Syntax, Level 9, Lesson 11
    Resolved
    No Idea what is incorrect, any ideas?No Idea what is incorrect, any ideas?
    • 7/10/19
    • 1580views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Even and odd digits
    Java Syntax, Level 6, Lesson 5
    Under discussion
    WHAT IS IT "N /= 10;"?Say me pls about "n /= 10;". What is it and what it make in my code? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); while (n > 0) { if (n % 2 == 0) even++; else
    • 6/12/19
    • 1853views
    • 4comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Working with dates
    Java Syntax, Level 8, Lesson 11
    Under discussion
    Help pls( i dont understandgive me the solution pls.
    • 6/20/19
    • 1698views
    • 5comments
    0
  • Erik
    Level 11
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    What's Wrong?Does someone know why it is not working? package com.codegym.task.task08.task0814; import java.util.HashSet; import java.util.Set; /* Greater than 10? You're not a good fit for us */ public class Solution { public static HashSet createSet() { // write your code here Set hs
    • 7/10/19
    • 1150views
    • 2comments
    0
  • Palinkapitany
    Level 4
    Debrecen
    Resolved
    What is wrong with my IntelliJ?Hello, My problem is that whenever I create the programs for the tasks, I get the following when trying to run them: It keeps saying the error written in the console and for some reason it always opens Task0302. This happens also when the program is correct for sure and can be run on the browser
    • 7/9/19
    • 1360views
    • 2comments
    0
  • Alison
    Level 9
    Madison
    Question about the task Checking the order
    Java Syntax, Level 7, Lesson 9
    Under discussion
    What's Wrong?Not sure exactly why this is messing up. Probably something simple? Thank you.
    • 7/9/19
    • 1118views
    • 4comments
    0
  • 1
  • ...
  • 301
  • 302
  • 303
  • 304
  • 305
  • ...
  • 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