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
  • Denis
    Level 22
    Kharkiv
    Question about the task Different methods for different types
    Java Core, Level 5, Lesson 12
    Under discussion
    what i must changehelp pls with the solution
    • 26.06.2019
    • 1228views
    • 1comment
    0
  • hurzel purzel
    Level 22
    Stuttgart
    Question about the task Externalizable Person
    Java Core, Level 10, Lesson 7
    Resolved
    readExternal and writeExternal apparently not working correctlyI have tried different approaches, with different casts and such. Still not verified, still getting "The server is unable to properly test your solution. Be sure you have all the classes you need. Be sure that your solution doesn't have any infinite loops.". I wonder what is wrong and wish there was
    • 08.07.2019
    • 1613views
    • 1comment
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    i am getting the correct output but test cases are not satisfiedwhats the problem in the code
    • 07.07.2019
    • 1144views
    • 1comment
    0
  • Mohit Dubey
    Level 4
    Mumbai
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Please helpI don't know what's problem in my code i get 2 output
    • 07.07.2019
    • 1106views
    • 1comment
    0
  • karina abad
    Level 11
    Daly City
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Code not meeting conditions for green yellow and red but when ran it works... 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 BufferedReader(new InputStreamReader(System.in))
    • 07.07.2019
    • 1309views
    • 1comment
    0
  • Talha Javed
    Level 4
    sialkot
    Question about the task Name register
    Java Syntax, Level 4, Lesson 2
    Under discussion
    find the errorerror
    • 02.11.2018
    • 1821views
    • 4comments
    0
  • rsingh04
    Level 6
    Mumbai
    Question about the task Setting the number of cats
    Java Syntax, Level 4, Lesson 2
    Under discussion
    please suggest experts please help
    • 27.10.2018
    • 2270views
    • 4comments
    0
  • Peerawas
    Level 18
    Question about the task Notes
    Java Core, Level 7, Lesson 2
    Resolved
    Something wrong with my code ?any ideas ?
    • 06.01.2019
    • 1634views
    • 5comments
    0
  • Voris
    Level 10
    Tashkent
    Question about the task Shuffled just in time
    Java Syntax, Level 7, Lesson 12
    Under discussion
    What's wrong, i don't see anything bad in my codepublic class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int n = 0; int m = 0; //write your code here ArrayList list = new ArrayList(); n = Int
    • 25.06.2019
    • 1512views
    • 2comments
    0
  • Santosh Kumar
    Level 19
    Gagret
    Question about the task Take your turn!
    Java Core, Level 6, Lesson 13
    Resolved
    Task not passed the one condition still output is as desiredTask not passed the one condition still output is as desired
    • 06.07.2019
    • 1572views
    • 2comments
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Streets and houses
    Java Syntax, Level 7, Lesson 4
    Archived
    can ayone tell me whats wrong in my codeam i done right as per provided information
    • 06.07.2019
    • 1333views
    • 2comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Failing on last requirement Not sure why I'm failing on the last requirement: display "The triangle is not possible". I've tried several times and can't seem to figure it out. Any suggestions? Thanks in advance.
    • 05.07.2019
    • 1154views
    • 6comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Counting seconds
    Java Core, Level 6, Lesson 10
    Under discussion
    What i must change?Help me pls
    • 27.06.2019
    • 1128views
    • 1comment
    0
  • Joy Majumdar
    Level 16
    Kolkata
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Resolved
    How to write on new Line ?Help!
    • 06.07.2019
    • 1417views
    • 1comment
    0
  • Jorge Sosa
    Level 20
    Madrid
    Question about the task Rounding numbers
    Java Core, Level 8, Lesson 11
    Resolved
    Correct output, fails almost every conditionOutput is correct no matter the input numbers in file1.txt, but the task fails every condition!
    • 04.07.2019
    • 1657views
    • 2comments
    0
  • Ewerton
    Level 30
    Belo Horizonte
    Question about the task Prices
    Java Core, Level 8, Lesson 11
    Under discussion
    What's the problem??Original: 19847 Swim trunks, blue 159.00 12 198479 Swim trunks, black with printe173.00 17 19847983Snowboard jacket with reflecti10173.991234 Without using "-c": 19847 Swim trunks, blue 159.00 12 198479 Swim trunks, black with printe173.00 17 19847983Sno
    • 04.07.2019
    • 1397views
    • 4comments
    0
  • Mykola
    Level 14
    Toronto
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    Logic ErrorHey guys, I totally understand that the problem is in my while loop. But it looks pretty logical for me. Java compiles everything correctly, but the program doesn't work. Could you please push on the right path. Please do not write the correct code for me, just tell me what to read or where to look,
    • 05.07.2019
    • 1651views
    • 2comments
    0
  • Jay
    Level 17
    Washington
    Question about the task Setting the number of cats
    Java Syntax, Level 4, Lesson 2
    Under discussion
    Failing on last requirement I can't figure out why I'm failing on the last requirement. Your feedback is appreciated.
    • 03.07.2019
    • 1905views
    • 2comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Why does this code work?Why does this code work? if (this.age > anotherCat.age || this.weight > anotherCat.weight || this.strength > anotherCat.strength){ return true;} else return false; } After all, objects were not created. And how will anotherCat.age work if we do not
    • 07.05.2019
    • 1614views
    • 2comments
    0
  • Online Learner
    Level 6
    Question about the task Drawing lines
    Java Syntax, Level 4, Lesson 13
    Under discussion
    can you solve me i don't understand the question
    • 05.07.2019
    • 1166views
    • 1comment
    0
  • Emanuele Gurini
    Level 18
    Porto Recanati
    Question about the task Implement the fight method
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Why we have public Cat() {} empty?Sorry guys, but i am asking to my self why we have this "public Cat( ) { }" empty? Function works also without that. Someone could explain me the reason? <3
    • 23.06.2019
    • 1230views
    • 3comments
    0
  • Nithin
    Level 35
    Hyderabad
    Question about the task A switch for threads
    Java Multithreading, Level 5, Lesson 5
    Resolved
    help me understand itmentor suggestions You aren't interrupting threads in the "TIMED_WAITING" state. You are calling isInterrupted on more than just threads in the "RUNNABLE" state.
    • 02.07.2019
    • 1362views
    • 2comments
    0
  • karina abad
    Level 11
    Daly City
    Under discussion
    Why does name = this.name; not work?Why does name = this.name; not work?
    • 01.07.2019
    • 951views
    • 1comment
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    input issuesI have two different methods here and neither are close. I feel like the input methods are inconsistent...
    • 30.06.2019
    • 1343views
    • 2comments
    0
  • Jeremy Simons
    Level 7
    Peterborough, Cambridgeshire, UK
    Question about the task Jen or Jen?
    Java Syntax, Level 4, Lesson 6
    Resolved
    I can't pass the last conditionMaybe my concept of not displaying anything is different to the site designers?
    • 03.07.2019
    • 1551views
    • 3comments
    0
  • Online Learner
    Level 6
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Under discussion
    solve thisi can't understand
    • 03.07.2019
    • 1957views
    • 2comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Help me out please guyzzzzActually I didn't understand the task conditin.Kindly Please explain the condition.
    • 05.07.2019
    • 1303views
    • 1comment
    0
  • Anatoliy Usachev
    Level 4
    Buzuluk
    Question about the task More conversions
    Java Syntax, Level 3, Lesson 8
    Resolved
    What's wrong?Where is the mistake? When running, the code works fine.
    • 17.06.2019
    • 1322views
    • 3comments
    0
  • Java man
    Level 9
    Ratia
    Question about the task Going national
    Java Syntax, Level 8, Lesson 11
    Archived
    output is correct but last condition not verified!!! pls helppackage com.codegym.task.task08.task0823; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; /* Going national */ public class Solution { public static void main(String[] args) throws IOException { Scanner in = new Scanner
    • 05.07.2019
    • 1237views
    • 1comment
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    Help here plzpublic class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double result = 0.0f; int sum = 0; int i = 0; while(true)
    • 18.09.2018
    • 1736views
    • 2comments
    0
  • 1
  • ...
  • 301
  • 302
  • 303
  • 304
  • 305
  • ...
  • 371
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 © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym