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
  • gery
    Level 9
    Islamabad
    Question about the task 18+
    Java Syntax, Level 4, Lesson 6
    Under discussion
    identify correction public static void main(String[] args) throws Exception { //write your code here BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String s = bufferedReader.readLine(); int i = Integer.parseInt(bufferedReader.readLine());
    • 9/14/18
    • 2106views
    • 6comments
    0
  • Ahamed Ramirez Saaid
    Level 4
    San Antonio
    Question about the task Minimum of three numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    I need help, I don't know what's wrong with my code, as it is displaying the correct answer but not accepting it???public class Solution { public static int min(int a, int b, int c) { int m = 0; if (a <= b) m = a; else m = b; if (a <= c) m = a; else m = c; if (b <= c) m = b;
    • 6/13/19
    • 1645views
    • 2comments
    0
  • Zbigniew
    Level 23
    Dabrowa Tarnowska
    Question about the task Iterating through a file tree
    Java Collections, Level 1, Lesson 2
    Archived
    I don't know which part of code is wrongHi, I think that my logic is close to being correct, but I can't get this to pass verification. I don't know if I've used the renameFile() method in proper way. Next thing that may not be working is getFilePaths- should i check (in the body of loop) if a file is directory, and if it is, call the met
    • 4/19/19
    • 1624views
    • 2comments
    0
  • Emanuele Gurini
    Level 18
    Porto Recanati
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Could someone let me understand the exercise?Hey guys, i don't want the solution, but i would like to understand with some explanation. Someone could help me? Love ya <3
    • 4/5/19
    • 1412views
    • 3comments
    1
  • Yuan
    Level 3
    Beijing
    Question about the task Calculate the circumference of a circle
    Java Syntax, Level 2, Lesson 2
    Under discussion
    Why my result is 31.400000000000002 ? public static void printCircleCircumference(int radius) { double pi = 3.14; double c = 2 * pi * radius; System.out.print(c); } }
    • 6/16/19
    • 2196views
    • 1comment
    0
  • Iftime Alin
    Level 8
    Timisoara
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    what is wrong with my codwhat is wrong with my cod
    • 6/13/19
    • 1742views
    • 2comments
    0
  • Павел Артеменко
    Level 41
    Krasnodar
    Question about the task Log parser (part 1)
    Java Collections, Level 7, Lesson 15
    Resolved
    Bugged?Or am I missed something or I can't use streams?
    • 6/16/19
    • 1382views
    • 1comment
    0
  • Abhinav Ch
    Level 4
    Charlotte
    Question about the task Crazy eights
    Java Syntax, Level 2, Lesson 5
    Under discussion
    Doesnt pass the test cases, any help with debugging is appreciated.package com.codegym.task.task02.task0212; /* Crazy eights */ public class Solution { public static void main(String[] args) { //write your code here Cat cat1 = new Cat(); Cat cat2 = new Cat(); Cat cat3 = new Cat(); Cat cat4 = new Cat(); Cat cat5
    • 5/25/19
    • 1625views
    • 3comments
    0
  • kiwii
    Level 37
    Question about the task What's in the folder?
    Java Collections, Level 1, Lesson 4
    Resolved
    Unknown error during task verificationHello, all I've got "Unknown error during task verification" after submitting my solution. Any suggestion? Thanks!
    • 6/13/19
    • 1946views
    • 2comments
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task No goofing off
    Java Multithreading, Level 5, Lesson 7
    Resolved
    HelpPlease
    • 6/16/19
    • 1420views
    • 6comments
    0
  • Darko Jakimovski
    Level 18
    Kriva Palanka
    Question about the task Countdown at the races
    Java Core, Level 6, Lesson 10
    Resolved
    I have no idea what I'm doingWorks fine with numSeconds = 3; but otherwise it does the same thing. What am I missing? Also each time I run the code i get an IllegalThreadStateException :/ I'm completely lost and hopeless
    • 5/22/19
    • 1955views
    • 3comments
    0
  • Dan
    Level 1
    Omaha
    Question about the task As simple as 2+2
    Java Syntax, Level 1, Lesson 8
    Under discussion
    Void type not allowed here?Not sure why this isn't working. I am having the main method call the sum functions with the parameters (2,2) but it is saying the 'void' type is not allowed here. I don't even know what that means as the 'void' java keyword isn't something we have gone over. Thanks for any help! Love the site! Dan
    • 6/4/19
    • 4755views
    • 8comments
    0
  • Raisa Toscano
    Level 27
    Tepic
    Question about the task We don't need repeats
    Java Syntax, Level 8, Lesson 8
    Under discussion
    how could i print the map in the main mehod so i could have a better idea of whats wrong?public static void main(String[] args) { }
    • 1/2/19
    • 1577views
    • 3comments
    0
  • Anand Sharma
    Level 6
    Mumbai
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Resolved
    Please Help Me For This codeWhy Code is Not Geting Verify Please Help Me
    • 6/16/19
    • 1400views
    • 2comments
    0
  • past cham
    Level 6
    Delhi
    Question about the task Pets need people
    Java Syntax, Level 2, Lesson 5
    Resolved
    How Assign the Woman object as the dog's owner.public class Solution { public static void main(String[] args) { //write your code Woman woman = new Woman(); Cat cat = new Cat(); Dog dog = new Dog(); Fish fish = new Fish(); cat.owner = woman; woman = dog.owner; woman
    • 3/8/19
    • 2423views
    • 4comments
    1
  • hardik
    Level 6
    Delhi
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Under discussion
    What's wrong here?I am pretty sure my code is right in terms of formulas and logic
    • 6/15/19
    • 1301views
    • 1comment
    0
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task A switch for threads
    Java Multithreading, Level 5, Lesson 5
    Resolved
    Cant Understand itPlease Help
    • 6/15/19
    • 1330views
    • 3comments
    0
  • Kron1K
    Level 26
    AUS
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Resolved
    Cant see why this wont workAny help would be amazing
    • 6/15/19
    • 1771views
    • 3comments
    0
  • R S ROHITH KRISHNAN
    Level 6
    Chennai
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Under discussion
    i m in dire need of helpthis program doesnt satisfy my last task condition
    • 6/15/19
    • 1574views
    • 2comments
    0
  • Naina Gupta
    Level 20
    Kulu
    Question about the task CRUD
    Java Core, Level 7, Lesson 10
    Under discussion
    dont know what m doing wrong. please helpplease help, cant figure out whats wrong
    • 5/20/19
    • 1524views
    • 1comment
    0
  • Pawan Harde
    Level 4
    Mumbai
    Question about the task Roy G. Biv…
    Java Syntax, Level 3, Lesson 6
    Under discussion
    can u share how exactly to solve it!!!!!!!!!!!!!!!!!!!!!!!can u share how exactly u solved it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    • 9/24/18
    • 1995views
    • 5comments
    0
  • Serg
    Level 23
    Tyumen
    Question about the task Three static name variables
    Java Syntax, Level 6, Lesson 11
    Resolved
    Help solve package com.codegym.task.task06.task0619; public class Solution { public static String solution; public static class Cat { public static String cat; } public static class Dog { public static String dog; } public static void main(String[] args) {
    • 5/22/19
    • 1898views
    • 4comments
    0
  • past cham
    Level 6
    Delhi
    Question about the task Multiplication table
    Java Syntax, Level 3, Lesson 6
    Resolved
    how to add 10. no. stringHow to add 10 no. string
    • 3/14/19
    • 1663views
    • 3comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Under discussion
    I think my code is write But all conditions are not met.It gives typo errorfds
    • 6/13/19
    • 1681views
    • 6comments
    0
  • Rathika
    Level 5
    Chennai
    Question about the task Three numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Can anyone help me???Hopefully I attached my code snippet, Whats wrong in my code. Can anyone please give a solution with explanation ?
    • 1/7/19
    • 2417views
    • 10comments
    0
  • harshshah
    Level 9
    Gandhinagar
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    having 1 errornot able to pass several time logic
    • 6/5/19
    • 1317views
    • 3comments
    0
  • hacks patel
    Level 20
    Ahmedabad
    Question about the task OOP: Books
    Java Core, Level 5, Lesson 2
    Under discussion
    why i get errors.....???output is seems correct then why i get errors
    • 5/25/19
    • 1520views
    • 2comments
    0
  • Niranjan Soni
    Level 15
    Bangalore
    Question about the task OOP: Books
    Java Core, Level 5, Lesson 2
    Under discussion
    conditions 12 and 13 not validating.What's wrong in my code?
    • 11/5/18
    • 2227views
    • 3comments
    0
  • JeRiF94
    Level 22
    Baku
    Question about the task OOP: Books
    Java Core, Level 5, Lesson 2
    Under discussion
    I don't understand complier really((Waiting for help
    • 5/1/19
    • 1393views
    • 3comments
    0
  • D13angos
    Level 3
    Bydgoszcz
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    all is correct but doesn't matchWhere is problem? Be sure that you haven't mixed up the order of reading in the name and number from the keyboard. Check the conditions. public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedR
    • 6/14/19
    • 1591views
    • 2comments
    0
  • 1
  • ...
  • 311
  • 312
  • 313
  • 314
  • 315
  • ...
  • 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