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
  • chinchillo
    Level 6
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    Doesn't workCan't find any mistake here, any help? Already replaced n and m.
    • 03.12.2019
    • 941views
    • 1comment
    0
  • Connor
    Level 8
    Boston
    Question about the task A programmer creates a person
    Java Syntax, Level 5, Lesson 7
    Resolved
    Not sure why the two conditions that aren't being met... aren't being met!As the title says I'm just unsure about the problem here. EDIT: I just restarted and retyped everything and it went though fine!
    • 26.04.2019
    • 2285views
    • 2comments
    2
  • oli blaustrom
    Level 18
    Luzern
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Resolved
    Can't figure it out. I iterated through, all numbers greater than 10 are gone....Can anyone point me to the error? Thank you!
    • 02.12.2019
    • 1037views
    • 4comments
    0
  • Lelush
    Level 7
    Question about the task Create a Circle class
    Java Syntax, Level 5, Lesson 7
    Resolved
    PLEASE help me)what is wrong?
    • 03.12.2019
    • 1157views
    • 2comments
    0
  • MecoS
    Level 16
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    I made a bouble sort But it fail the test. Why?
    • 03.12.2019
    • 800views
    • 2comments
    0
  • Sokhib
    Level 7
    Makati
    Question about the task Static methods for cats
    Java Syntax, Level 6, Lesson 8
    Under discussion
    what am i supposed to do here?can anyone plz help?
    • 09.01.2019
    • 1703views
    • 3comments
    2
  • chinna gnanesh
    Level 9
    Chennai
    Question about the task Longest sequence
    Java Syntax, Level 8, Lesson 6
    Resolved
    Verification is failinghelp me
    • 03.12.2019
    • 903views
    • 3comments
    0
  • Willard Roseberry
    Level 11
    Brigham City
    Question about the task LinkedList and ArrayList
    Java Syntax, Level 8, Lesson 6
    Under discussion
    how do i return an array and a linked list? public class Solution { public static Object createArrayList() { ArrayList cats = new ArrayList<>(); return ArrayList; } public static Object createLinkedList() { //write your code here } public static void main(String[] args) {
    • 03.12.2019
    • 1068views
    • 1comment
    0
  • Jeff
    Level 6
    Taco Town
    Question about the task Positive and negative numbers
    Java Syntax, Level 4, Lesson 7
    Under discussion
    Cannot meet last condition This for else if stuff makes my brain hurt, have no idea how to make this math stuff chooch, help me brother
    • 22.11.2019
    • 1345views
    • 2comments
    0
  • KIN SOCHEAT
    Level 34
    Phnom Penh
    Under discussion
    hi some one can setScore()hi some one can setScore()
    • 01.09.2019
    • 1036views
    • 4comments
    0
  • John
    Level 27
    Washington DC
    Question about the task Synchronized methods
    Java Core, Level 7, Lesson 10
    Under discussion
    Why does method3 need the synchronized keyword?Since param is ONLY accessed in method3 and nowhere else...
    • 11.11.2019
    • 1117views
    • 2comments
    0
  • Hendra
    Level 8
    Medan
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    I'm stuck with the last requirement...help me please package com.codegym.task.task04.task0409;
    • 02.12.2019
    • 1089views
    • 1comment
    0
  • Felipe Fallas
    Level 3
    San Jose
    Under discussion
    whats wrong with my variables public class Solution { public static void main(String[] args) { int a = 5; int b=7; int sum = a+b; int product=a*b; System.out.println(sum); System.out.println(product); } } so yeah i don't get what do they mean with declare the var
    • 02.12.2019
    • 880views
    • 2comments
    0
  • Willard Roseberry
    Level 11
    Brigham City
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Resolved
    can not figure it out. Any help with n?
    • 02.12.2019
    • 1480views
    • 0comments
    0
  • Robert Constantinescu
    Level 25
    Bucharest
    Question about the task CRUD 2
    Java Core, Level 7, Lesson 10
    Resolved
    Is anyone having a sample input?I think the below code works, but to be fair, i have tested it with the below arguments -c Christian "m" 04 15 1990 is anyoane knowing how the input for this task is? Thanks
    • 01.12.2019
    • 1636views
    • 2comments
    0
  • oli blaustrom
    Level 18
    Luzern
    Question about the task The end
    Java Syntax, Level 7, Lesson 12
    Resolved
    As far as I can tell output is correct but fails // Display the list, each value on a new line.Can't figure it out. Someone earlier had an empty string in the list, I checked for that. This program doesn't. Any insight?
    • 30.11.2019
    • 1583views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Closest to 10
    Java Syntax, Level 4, Lesson 4
    Under discussion
    please helpPlease tell where I am going wrong
    • 02.12.2019
    • 1073views
    • 1comment
    0
  • david
    Level 8
    Edgewater
    Under discussion
    Help!Well, the site keeps showing the message to me that my code do not pass the last two verifications, even when my code works perfectly fine. Does anyone have any idea why my code doesn't work? package com.codegym.task.task07.task0708; import java.io.BufferedReader; import java.io.InputStreamReade
    • 02.12.2019
    • 932views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task This age doesn't work for me…
    Java Syntax, Level 4, Lesson 1
    Under discussion
    lesson unbale to understandplease explain
    • 29.11.2019
    • 969views
    • 2comments
    0
  • Vaibhavi
    Level 5
    Vijayawada
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Under discussion
    unable to understandPlease help
    • 29.11.2019
    • 1140views
    • 2comments
    0
  • jamylam
    Level 26
    Nairobi
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    kindly assist stubborn errorI dont understand the error am getting that each element should be displayed on a new line. That is the result am getting when its displayed so I cant see the mistake i have done..
    • 01.12.2019
    • 1122views
    • 2comments
    0
  • AP
    Level 15
    Bodmin
    Under discussion
    Not able to run the code in intellijI have installed intellij and also the codegym plugin however, when I write the solution, I am not able to run it in intellij. I can only verify it. I want to run the code in intellij similar to what we have in condegym site. Can someone help?
    • 01.12.2019
    • 1165views
    • 1comment
    0
  • yehuda b
    Level 23
    Beersheba
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    Was trying an out of the box solution, and I got: Exception in thread "main" java.lang.StackOverflowError, could someone explain why?package com.codegym.task.task04.task0427; /* Describing numbers */ import java.io.*; import java.util.Scanner; public class Solution { static Scanner scan = new Scanner(System.in); static int number = scan.nextInt(); Solution solu = new Solution(); int newNumber() { numb
    • 28.11.2019
    • 1065views
    • 4comments
    0
  • Nathan
    Level 14
    Question about the task Expressing ourselves more concisely
    Java Syntax, Level 7, Lesson 6
    Archived
    Help On - Expressing ourselves more concisely I don't understand why my variable "len" doesn't take on the shortest string? I don't believe I'm using the length() method incorrectly. Please help. package com.codegym.task.task07.task0709; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Express
    • 01.12.2019
    • 872views
    • 1comment
    0
  • Andres
    Level 4
    Reedley
    Question about the task Currency exchange
    Java Syntax, Level 3, Lesson 3
    Under discussion
    where did i go wrongcan anyone tell me where i went wrong
    • 01.12.2019
    • 924views
    • 1comment
    0
  • Andres
    Level 4
    Reedley
    Question about the task Display right away
    Java Syntax, Level 3, Lesson 3
    Under discussion
    can some one tell me where I went wrongpackage com.codegym.task.task03.task0302; /* Display right away
    • 30.11.2019
    • 885views
    • 2comments
    0
  • Alvin B
    Level 8
    Newark
    Question about the task Crossing the road blindly
    Java Syntax, Level 4, Lesson 4
    Under discussion
    Conditions for not displaying color not met. WHY?Please offer any suggestion why the compiler won't accept this program. Thanks
    • 28.11.2019
    • 1414views
    • 3comments
    0
  • Willard Roseberry
    Level 11
    Brigham City
    Question about the task Maximum in an array
    Java Syntax, Level 7, Lesson 4
    Resolved
    int cannot be converted to int [] this is the error I am getting with my return max value on line 42. Any idea on how to fix this? Thankspackage com.codegym.task.task07.task0701; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; /* Maximum in an array */ public class Solution { public static void main(String[] args) throws Exception { int[] array =
    • 30.11.2019
    • 2891views
    • 2comments
    1
  • Błażej Kuśmirek
    Level 13
    Wroclaw
    Under discussion
    Is it working as it should?I'm only able to proceed with solving tasks which are already translated to my native language (polish). I'm not able to see requirements of tasks in English. I can spent dark matter to unlock further lessons, but without any practice tasks. Is this app designed to work that way?
    • 29.11.2019
    • 992views
    • 1comment
    2
  • James
    Level 5
    Cincinnati
    Question about the task Predictions
    Java Syntax, Level 3, Lesson 8
    Resolved
    I'm getting an error due to a typo.This code works as intended. I've run it multiple times and get the correct text printing to the screen. I've printed out each variable separately to confirm that they contain the correct values and they do. Although my code compiles with no issues, I'm getting an error due to a typo that ISN'T ther
    • 30.11.2019
    • 979views
    • 1comment
    0
  • 1
  • ...
  • 249
  • 250
  • 251
  • 252
  • 253
  • ...
  • 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