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
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    what m i doing wrong here??pleasss help me 😭.
    • 13.06.2020
    • 558views
    • 4comments
    0
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    can anyone tell how can i reverse the sorted array.please help..😔
    • 11.06.2020
    • 568views
    • 3comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task One cat isn't enough
    Java Syntax, Level 2, Lesson 3
    Resolved
    How do i do it...? I'm confused..please help....!! package com.codegym.task.task02.task0208; /* One cat isn't enough */ public class Solution { public static void main(String[] args) { Cat cat; } public static class Cat { Cat kitty = new Cat(); Cat smokey = new Cat(); } }
    • 12.09.2018
    • 2555views
    • 11comments
    0
  • Seferi
    Level 22
    Question about the task The Three "Muscateers"
    Java Syntax, Level 5, Lesson 5
    Resolved
    What am I doing wrong?I appreciate the help...
    • 13.06.2020
    • 710views
    • 2comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    guys help me with the seventh condition
    • 13.06.2020
    • 1147views
    • 2comments
    0
  • Niladri pradhan
    Level 33
    Mumbai
    Question about the task Smallest possible radix
    Java Multithreading, Level 10, Lesson 2
    Under discussion
    Last condition not verifyingOutput match the task condition
    • 09.01.2020
    • 1165views
    • 2comments
    0
  • Marilyn Free
    Level 4
    Pensacola
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Can;t figure this one outHelp
    • 01.02.2019
    • 1994views
    • 6comments
    0
  • Jonathan
    Level 9
    Wakiso
    Question about the task A name is a name
    Java Syntax, Level 4, Lesson 16
    Under discussion
    What's the issue here?A condition is telling me that I didn't fulfill according to the template.
    • 08.06.2020
    • 426views
    • 5comments
    0
  • Anonymous #10428383
    Level 12
    Seattle
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    what is the trick here ? can someone tell me please? the code works fine on notepad public class Solution { //main method public static void main(String[] args) throws Exception { //declare local variables int n1=0; int nNeg=0; int nPos=0; int i=0; //prepare keyboard to input BufferedReader br = new BufferedReader(new InputStreamReade
    • 25.03.2019
    • 1563views
    • 5comments
    0
  • Gzzui892
    Level 6
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Resolved
    What am I missing?I have done everything correctly including the else statement at the end..
    • 12.06.2020
    • 579views
    • 2comments
    0
  • Srividya
    Level 3
    Bangalore
    Question about the task Our first converter!
    Java Syntax, Level 2, Lesson 2
    Resolved
    Our first converter!public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { TC = (TF - 32) * 5/9; return 0; } } I have no idea ... !! Please g
    • 27.09.2018
    • 1939views
    • 6comments
    0
  • Manish Sinha
    Level 1
    london
    Question about the task Reading and writing static fields to a file
    Java Core, Level 10, Lesson 2
    Resolved
    not able to what is the issue.could you please help me with the validation error. i could not find one.
    • 12.06.2020
    • 502views
    • 1comment
    0
  • Brandon Leirer
    Level 7
    Keller
    Question about the task Controlling body weight
    Java Syntax, Level 6, Lesson 8
    Under discussion
    Anyone else get the error saying there is an 'else' with no 'if', even if it is an if/else if statement?example: if (bmi < 18.5) { System.out.println("Underweight: BMI < 18.5"); else if ((bmi >= 18.5) && (bmi < 25)) System.out.println("Normal: 18.5 <= BMI < 25");
    • 12.06.2020
    • 1155views
    • 1comment
    0
  • Patson T Lawrence
    Level 8
    Kampala
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Under discussion
    cant think of more ways!!i have surrendered; some one help me cross this StringHelper bridge... thanks
    • 04.02.2019
    • 1408views
    • 3comments
    0
  • Seferi
    Level 22
    Question about the task Adding
    Java Syntax, Level 4, Lesson 16
    Resolved
    Little help please..I don't get why this doesn't work...
    • 12.06.2020
    • 650views
    • 1comment
    0
  • Seferi
    Level 22
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Resolved
    Code works but doesn't pass the test for some reason package com.codegym.task.task04.task0416;
    • 07.06.2020
    • 458views
    • 2comments
    0
  • Nithin
    Level 35
    Hyderabad
    Question about the task Don't take the car to the shop!
    Java Multithreading, Level 5, Lesson 2
    Under discussion
    what is wrong here ?last condition is not passing
    • 01.07.2019
    • 1361views
    • 6comments
    0
  • Catherine
    Level 23
    London
    Question about the task Only for the rich
    Java Syntax, Level 8, Lesson 8
    Under discussion
    I seem to be making the same errorsI have the suspicion that I am making the same error that is preventing me from passing several tasks. Can someone help me out? If I can understand why this last task won't validate, then I may be able to complete other tasks as well.
    • 12.06.2020
    • 364views
    • 1comment
    0
  • sean huang
    Level 15
    New York City
    Question about the task Month number
    Java Syntax, Level 8, Lesson 11
    Resolved
    What's wrong?I can's seem to pass verification, but when I run this code, it works fine. Can anyone help me find the error?
    • 11.06.2020
    • 660views
    • 1comment
    0
  • David
    Level 26
    Bucharest
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Resolved
    I dont understand what is wrongIt even doesn't print anything
    • 11.06.2020
    • 663views
    • 3comments
    0
  • Catherine
    Level 23
    London
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Under discussion
    I am having trouble with the logicI can't figure out the logic to get the answer to 3 and still have the loop output 1 if all the numbers are non-sequential.
    • 11.06.2020
    • 396views
    • 1comment
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Number of days in the year
    Java Syntax, Level 4, Lesson 4
    Resolved
    plis helpwhere did i go wrong
    • 29.05.2020
    • 583views
    • 1comment
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task StringHelper class
    Java Syntax, Level 6, Lesson 8
    Resolved
    guys i cannot get any further than thisbesides i dont get the empty string.... does this means that we are expected to provide the string. the problem with codegym is they give u the work/practical and then teach you/theory
    • 11.06.2020
    • 433views
    • 2comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    guys plis look at my code...and tell me where did i go wrong i would be most grateful
    • 11.06.2020
    • 790views
    • 0comments
    0
  • Stephen Haokip
    Level 8
    imphal
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    last two conditions are not metit works well for negative numbers... but the it did not pass the test. and how to not display anything when n<=0 plis help
    • 10.06.2020
    • 604views
    • 2comments
    0
  • Naina Rawat
    Level 2
    Question about the task Where does a Person come from?
    Java Syntax, Level 2, Lesson 2
    Under discussion
    why am i getting it wrong?package com.codegym.task.task02.task0202;
    • 11.06.2020
    • 540views
    • 1comment
    0
  • CHIKEZIE PROMISE
    Level 3
    Lagos
    Question about the task Family relations
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I am not getting this right please help In the main method, create a Man object and save a reference to it in the variable man. Also, create a Woman object and save a reference to it in the variable woman. Hint: Use the following construct to create a Woman object and assign a refere
    • 01.06.2020
    • 601views
    • 2comments
    0
  • Michael
    Level 10
    Dresden
    Question about the task Parenthetical brainteaser
    Java Syntax, Level 3, Lesson 4
    Resolved
    Just a statement about the taskThis is for math freaks, but not every developer is a math freak. Only frustrating and time consuming, no gain! A hint to all fellow students: the first and the last parentheses do not count. Feel free to experiment with the inside parentheses like this: (a*(b+c*(d+e*f)))
    • 07.09.2019
    • 1626views
    • 3comments
    9
  • Tata
    Level 16
    Hisar, Haryana
    Question about the task Min and max in arrays
    Java Syntax, Level 7, Lesson 12
    Resolved
    task is not getting pass.please help and show me a right way.
    • 09.06.2020
    • 907views
    • 1comment
    0
  • Rabindra
    Level 5
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Under discussion
    pls help?pls help..why doesnt it get through?
    • 11.06.2020
    • 471views
    • 2comments
    0
  • 1
  • ...
  • 180
  • 181
  • 182
  • 183
  • 184
  • ...
  • 372
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