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
  • Ornela
    Level 11
    Tirana
    Question about the task Mercantile intentions
    Java Syntax, Level 3, Lesson 12
    Under discussion
    Problems with IntelliJ IdeaI want to run this code in IntelliJ Idea, and it keeps giving me an error, and directly another task that i didn't finish appears. What can i do to run just this code and ignore the other task? On the codegym compiler this works fine, but i wanted to become used to IntelliJ idea.
    • 2/6/19
    • 2206views
    • 9comments
    1
  • Denis
    Level 22
    Kharkiv
    Question about the task A big fox is still a fox
    Java Core, Level 3, Lesson 4
    Under discussion
    help me pls with thisa cant understand what is wrong
    • 6/24/19
    • 1696views
    • 1comment
    0
  • Andrea
    Level 20
    Question about the task Catching unchecked exceptions
    Java Syntax, Level 9, Lesson 8
    Resolved
    Seeing a similar as the previous taskThe way the code is written I thought I was meeting the requirements: -calling all three methods in the handleExceptions method -using only one try catch block -printout out of the exceptions Not sure what else could I am missing. Please advise.
    • 8/11/19
    • 1660views
    • 1comment
    0
  • Anthony Chalk
    Level 30
    London
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    Completed but still don't undersatndSo the code worked but I don't understand why. There are two lines of input so how does the program know which line I'm referring to?
    • 8/8/19
    • 1305views
    • 2comments
    0
  • SefoBe
    Level 16
    Paris
    Question about the task HashMap of 10 pairs
    Java Syntax, Level 8, Lesson 3
    Under discussion
    Correct output but not acceptedWhy is my output correct but the solution is not accepted ?
    • 8/8/19
    • 1371views
    • 3comments
    0
  • Okabe Rintarou
    Level 4
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    Please help! I can't find my error."The program should display the number of positive numbers in the original set." This is the condition I did not met. Can someone point out to me where is the error in my code?
    • 8/11/19
    • 1304views
    • 1comment
    0
  • Voris
    Level 10
    Tashkent
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Resolved
    Why father isn't displaying correctly ?public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandFatherName = reader.readLine(); Cat grandFather = new Cat(grandFatherName); Stri
    • 7/17/19
    • 1899views
    • 3comments
    1
  • Jen P
    Level 26
    Question about the task Introducing properties
    Java Core, Level 10, Lesson 2
    Resolved
    I am not sure what I need to do in this question at all.So problem file requests to "populate the properties map with data from the file. You can read about .properties here: http://en.wikipedia.org/wiki/.properties". However, after done reading wiki page, all I know is that `.properties` is a file suffix .properties with key, value pairs, and even the
    • 8/10/19
    • 1511views
    • 1comment
    0
  • vladimir.plamadeala@endava.com
    Level 10
    Chisinau
    Question about the task Rule of the triangle
    Java Syntax, Level 4, Lesson 4
    Resolved
    Why the last condition is not satisfied? In IntelliJ seems to work fine.?
    • 6/10/19
    • 1703views
    • 3comments
    1
  • hidden #10468516
    Level 5
    Question about the task Arithmetic mean
    Java Syntax, Level 5, Lesson 5
    Under discussion
    not able to understand help!!I am stuck that why it is not picking up the value what's wrong in my code
    • 8/8/19
    • 1492views
    • 7comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Triangle of eights
    Java Syntax, Level 4, Lesson 13
    Under discussion
    I DONT UNDERSTAND( for(int i = 0; i < 10; i++) { for(int j = 0; j <= i; j++) { System.out.print("8"); } System.out.print("\n"); } In connection with what the program displays on the new line a number with one more additional digit 8? Please explain. I'm confused in this thread.
    • 6/5/19
    • 1582views
    • 4comments
    0
  • Nitin raj
    Level 12
    Mumbai
    Question about the task Logging stack traces
    Java Syntax, Level 9, Lesson 2
    Resolved
    Can anyone please debug my codeWhy it is giving com.javaarush in class Name. Please correct it
    • 8/5/19
    • 1866views
    • 1comment
    0
  • Thebe
    Level 7
    Benares
    Question about the task R or L
    Java Syntax, Level 7, Lesson 9
    Under discussion
    R or Lwhy these tasks are not being fulfilled.
    • 3/19/19
    • 2191views
    • 2comments
    0
  • Zahadym Zahadum
    Level 15
    Moscow
    Question about the task Duplicating words
    Java Syntax, Level 7, Lesson 9
    Under discussion
    helphelp ArrayList result = doubleValues(list); for (int i = 0; i < result.size(); i++){ System.out.println(result.get(i)); }
    • 4/18/19
    • 1651views
    • 3comments
    0
  • khushbu Nirmal
    Level 7
    Mumbai
    Question about the task Calling a constructor from a constructor
    Java Syntax, Level 5, Lesson 9
    Under discussion
    what's wrong in my codehelp
    • 11/18/18
    • 2028views
    • 7comments
    0
  • Savannah
    Level 4
    Memphis
    Question about the task Escaping characters
    Java Syntax, Level 3, Lesson 6
    Under discussion
    Hello. What is wrong with my code please??package com.codegym.task.task03.task0316; /* Escaping characters */ public class Solution { public static void main(String[] args) { System.out.println("This"+" "+"is"+" "+"a"+" "+"Windows"+" " +"path:" +" "+"\"C"+":"+"\\"+"ProgramFiles"+"\\"+"Java"+"\\"+"jdk1.8.0_172"+"\\"
    • 8/9/19
    • 1417views
    • 2comments
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Static modifiers: part 1
    Java Core, Level 5, Lesson 9
    Under discussion
    can anyone tell me where i commited mistakehelp me with this
    • 8/10/19
    • 1298views
    • 1comment
    0
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    please..please give me ans ???
    • 8/8/19
    • 2030views
    • 7comments
    0
  • abhijith arjun
    Level 12
    DeKalb
    Question about the task Cat relations
    Java Syntax, Level 6, Lesson 11
    Under discussion
    private Cat mother; private Cat father; can anyone explain these two lines. although i solved this problem. i have a bit confusion.public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandfathername = reader.readLine(); Cat catGrandfather = new Cat(grandfathername); String gra
    • 8/9/19
    • 1228views
    • 1comment
    1
  • KARAN BHOITE
    Level 15
    Nagpur
    Question about the task Census
    Java Syntax, Level 8, Lesson 8
    Under discussion
    please help.what happend i dont know
    • 8/10/19
    • 1308views
    • 1comment
    0
  • Jacqueline Lim
    Level 9
    Makati
    Question about the task In the blue depths of the stack trace…
    Java Syntax, Level 9, Lesson 2
    Under discussion
    Why?How can I fulfill the 2nd requirement? Is there any problem with my code?
    • 11/13/18
    • 1875views
    • 4comments
    1
  • hidden #10361881
    Level 19
    Question about the task Stack trace with 10 calls
    Java Syntax, Level 9, Lesson 2
    Resolved
    closing the circleAm I getting error because method10 is not calling another method? How do I close the circle?
    • 3/27/19
    • 1763views
    • 4comments
    1
  • Cristian
    Level 16
    Bucharest
    Question about the task Somehow average
    Java Syntax, Level 4, Lesson 16
    Under discussion
    What is wrong in my code?package com.codegym.task.task04.task0441; /* Somehow average */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); System.out.println("Enter the three numbers: "); int
    • 8/9/19
    • 1471views
    • 4comments
    0
  • MICHAEL DUNLAP
    Level 20
    Bellevue
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Under discussion
    What case is causing this to fail?I know my solution is a little convoluted, but I'm failing the requirement of words in ascending order, even though this solution works for all the cases I've tried and I am calling the isGreater method. Any nuggets of wisdom?
    • 8/8/19
    • 1682views
    • 3comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Pharmacy
    Java Core, Level 7, Lesson 10
    Archived
    help me plsfour condition
    • 6/28/19
    • 1871views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Exceptions. Just exceptions.
    Java Syntax, Level 9, Lesson 8
    Under discussion
    give me the solution plshelp me pllsssssss
    • 6/20/19
    • 1581views
    • 2comments
    0
  • David
    Level 14
    New York City
    Question about the task Shortest or longest
    Java Syntax, Level 7, Lesson 6
    Under discussion
    Program runs correct output for all test cases but is somehow failing 3 and 4. Detailed verification doesn't explain how it's failing. All test cases should pass. I've noticed sometimes their verification fails if you write the code in a certain format. Not sure what else to say as I'm getting the right answers when running the program no matter what I put in.
    • 1/23/19
    • 1885views
    • 2comments
    0
  • Zubin Nair
    Level 7
    New Delhi
    Question about the task Longest string
    Java Syntax, Level 7, Lesson 6
    Archived
    3 requirement problem3 requirement is not satisfied?? What is the problem in this code?? Pls reply asap
    • 9/27/18
    • 2000views
    • 5comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Fix four mistakes
    Java Core, Level 4, Lesson 8
    Under discussion
    give me solution plshelp pls
    • 6/25/19
    • 1439views
    • 3comments
    0
  • Monisha
    Level 19
    Hyderabad
    Question about the task Zombie cats, zombie dogs
    Java Syntax, Level 6, Lesson 5
    Resolved
    m getting task requirements not met whereas all conditions are met.please help public class Cat { public static void main(String[] args) { } protected void finalize() throws Throwable { System.out.println("A Cat was destroyed"); }// cat } class Dog { protected void finalize() throws Throwable { System.out.println(""); } }
    • 8/5/19
    • 1967views
    • 3comments
    0
  • 1
  • ...
  • 291
  • 292
  • 293
  • 294
  • 295
  • ...
  • 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