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
  • Maxim Raitin
    Level 20
    Tomsk
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    What is wrong?public class Solution { public static void main(String[] args) throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String x =bufferedReader.readLine(); int a = Integer.parseInt(x); int leapyearby400 = a
    • 8/17/20
    • 585views
    • 2comments
    2
  • Derrick Shema
    Level 14
    Bethany
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Under discussion
    This code prints out the right strings but I still can't meet requirements. Where am I going wrong with the logic.if (strings.get(j).length()>=maxLength) { maxLength = strings.get(j).length(); System.out.println(strings.get(j)); }
    • 8/17/20
    • 496views
    • 2comments
    0
  • Angel Stefan Arjoca
    Level 26
    Bucharest
    Question about the task Rarest bytes
    Java Core, Level 8, Lesson 3
    Resolved
    Lost, lost, so lost...I look to help section to but still...
    • 8/12/20
    • 648views
    • 2comments
    0
  • Hari
    Level 8
    Worcester
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    Please help!! I am stuck!!please help solve
    • 8/14/20
    • 526views
    • 5comments
    2
  • Satya Vath
    Level 31
    Vijayawada
    Question about the task HTML Editor (part 4)
    Java Multithreading, Level 8, Lesson 15
    Resolved
    Help MeEverything is Correct but not able to verify
    • 3/26/20
    • 1249views
    • 2comments
    1
  • Ram Panda
    Level 31
    Rockville
    Question about the task Chat (part 18)
    Java Multithreading, Level 6, Lesson 15
    Resolved
    What is the issue with the getUserName methodI tried multiple variations of it but does not work any pointers? I had actually the return as "date_bot_"+X but changed it to new String("date_bot_"+X). Either way it seems to fail. Thanks
    • 8/11/20
    • 668views
    • 1comment
    0
  • Sanjeevkumar
    Level 22
    Mumbai
    Question about the task Tracking changes
    Java Core, Level 9, Lesson 11
    Under discussion
    Logic is correct or not?what i did wrong? or i didnt understand what the program neeeds.
    • 8/15/20
    • 643views
    • 2comments
    0
  • Abir Raihan
    Level 2
    Under discussion
    help me to solve this pleasehelp me to solve this please
    • 8/16/20
    • 577views
    • 1comment
    0
  • sarthak pawar
    Level 19
    Nashik
    Question about the task Shall we play?
    Java Core, Level 6, Lesson 13
    Under discussion
    Can't satisfying the first conditionEverything seems good but than also the first condition is not satisfied.
    • 8/17/20
    • 546views
    • 2comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Splitting a file
    Java Core, Level 8, Lesson 5
    Under discussion
    helpcondition 4 not satisfying
    • 8/25/19
    • 1060views
    • 1comment
    0
  • Chris
    Level 19
    Newark
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Under discussion
    It wont let me solve this. I have tried it multiple ways and I triple checked to make sure I got the order right but it is not letting me pass. I literally did everything it said I even tried (which you will see below) using the \n method instead of printing a separate println statement for the date. Please help!
    • 8/15/20
    • 736views
    • 3comments
    0
  • Kalena
    Level 7
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Resolved
    Why doesn't this work?It turns up the right answer with everything i tried but is still not fulfilling all requirements, help please?
    • 8/9/20
    • 1008views
    • 3comments
    1
  • Velociraptor
    Level 3
    Bangalore
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Resolved
    guys this thing is not accepting ,my last condition is coming wrong pls help as fast as you canguys this thing is not accepting ,my last condition is coming wrong pls help as fast as you can this is my code; package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(8000); } public static void
    • 7/23/20
    • 715views
    • 4comments
    0
  • stanki17
    Level 15
    Question about the task Symbol frequency
    Java Core, Level 8, Lesson 11
    Under discussion
    I am courious why it does not work?:)Seems to be doing the job correctly...
    • 8/16/20
    • 443views
    • 1comment
    0
  • sagar
    Level 7
    Question about the task String array in reverse order
    Java Syntax, Level 7, Lesson 4
    Under discussion
    Help plz, showing variable i is not foundi already declare i in my code but its showing i is not found.
    • 8/16/20
    • 518views
    • 1comment
    0
  • Arturs Teihmanis
    Level 13
    Jurmala
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    getting 71, but doesnt't pass vertification.Hi guys, trying to figure out for couple hours, tried with arrays also, but can't figure out my mistake, read other help section questions, but for now can't figure out. Thanks.
    • 8/16/20
    • 505views
    • 2comments
    2
  • Stephen Haokip
    Level 12
    imphal
    Question about the task Kind Emma and the summer holidays
    Java Syntax, Level 8, Lesson 8
    Under discussion
    need a little helpwhere did i go wrong. the last condition won't met.
    • 8/16/20
    • 489views
    • 2comments
    0
  • Maxb
    Level 7
    Yonkers
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Under discussion
    There is an error in the questionHello, The question shows the below as the correct output, but the validation says 0 shouldn't count and the correct output of 1 passes the test. c) if you enter the numbers 0 1 2 then we display 2
    • 8/16/20
    • 418views
    • 1comment
    0
  • Pedzi
    Level 22
    Cape Town
    Question about the task Task No. 6 about integer type conversions
    Java Syntax, Level 10, Lesson 4
    Under discussion
    Someone help me here. I am getting the correct numerical result but failing the conditions.package com.codegym.task.task10.task1006; /* Task No. 6 about integer type conversions */ public class Solution { public static void main(String[] args) { double d = (short) 2.50256e2d; char c = (short) 'd'; short s = (short) 2.22; int i = (short) 150000;
    • 3/3/20
    • 1231views
    • 4comments
    0
  • Shaik Azharuddin
    Level 20
    Under discussion
    What is the problem?it is working correctly in Eclipse and in my local machine
    • 8/16/20
    • 481views
    • 1comment
    0
  • Shaik Azharuddin
    Level 20
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    Be sure that the program works correctly if the sequence consists of numbers greater than 127.Be sure that the program works correctly if the sequence consists of numbers greater than 127. getting this error
    • 7/15/20
    • 541views
    • 3comments
    1
  • Chase
    Level 17
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Why are we using bufferedReader?This is my code for the solution. I have always used scanner in the passed before I started taking this codeGym course. I understand that it probably wants me to use the bufferedReader, but from what I've seen the bufferedReader can only take a String value. Why do we want to use bufferedReader inst
    • 8/15/20
    • 837views
    • 7comments
    2
  • Stephen Haokip
    Level 12
    imphal
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Resolved
    guys m so lostplease help me
    • 8/15/20
    • 603views
    • 1comment
    0
  • Gokulnath S.K
    Level 10
    Chennai
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Resolved
    last 2 cases failing.can anyone please help.. what am i doing wrrong.
    • 8/14/20
    • 775views
    • 6comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Remove and insert
    Java Syntax, Level 7, Lesson 6
    Resolved
    hey what shall i repeat. i dont even get the question correctly.. need help
    • 6/18/20
    • 501views
    • 1comment
    2
  • Manikandan
    Level 2
    Chennai
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    what is wrong with this?public class Solution { public static void main(String[] args) { //write your code here Man man = new man(); Women women = new women(); women.husband = man; man.wife = women; }
    • 6/10/19
    • 1425views
    • 3comments
    0
  • sagar
    Level 7
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Under discussion
    Last condition doesn't approveplz help me with this I don't know how to do that. Can someone help me with the solution please.
    • 8/3/20
    • 549views
    • 2comments
    0
  • Mnemonic
    Level 9
    london
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Resolved
    The compiler goes crazy and is not loving my Scanner class. And probably my code is bad as well. Could use some help here !
    • 8/11/20
    • 505views
    • 1comment
    0
  • Mnemonic
    Level 9
    london
    Question about the task Sorting three numbers
    Java Syntax, Level 4, Lesson 6
    Resolved
    Losing the will to live !Can't seem to understand why this isn't working.
    • 8/12/20
    • 666views
    • 1comment
    0
  • Ailana
    Level 2
    San Carlos
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    WHATS WRONG IN MY CODE public class Solution { public static void main(String[] args) { Person person = new Person(); }
    • 8/11/20
    • 756views
    • 5comments
    0
  • 1
  • ...
  • 151
  • 152
  • 153
  • 154
  • 155
  • ...
  • 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