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
  • Online Learner
    Level 6
    Question about the task Describing numbers
    Java Syntax, Level 4, Lesson 7
    Archived
    what wrong with this codeexplain me
    • 28.06.2019
    • 1446views
    • 2comments
    0
  • Andrew
    Level 29
    Seattle
    Question about the task AmigoOutputStream
    Java Core, Level 8, Lesson 8
    Resolved
    Stuck at the beginningAfter extending FileOutputStream, it won't let me create a constructor that accepts a FileOutputStream object.
    • 19.02.2019
    • 1852views
    • 6comments
    0
  • Java man
    Level 9
    Ratia
    Question about the task Greater than 10? You're not a good fit for us
    Java Syntax, Level 8, Lesson 8
    Under discussion
    LAST CONDITION NOT VERIFIED!!!! PLS HELP!!!!!!!import java.util.HashSet; import java.util.Iterator; import java.util.Set; /* Greater than 10? You're not a good fit for us */ public class Solution { public static HashSet createSet() { //write your code here Set set = new HashSet(); for (int i=0; i< 20; i++){
    • 30.06.2019
    • 1308views
    • 2comments
    0
  • Luyi
    Level 31
    Kosice
    Question about the task Task about algorithms
    Java Syntax, Level 9, Lesson 11
    Resolved
    help with code :) Hi all, my code provide requested results but verification always failed. Any suggestion? At first I got only one isGreaterThan method and use commented out code, then I tried to add another isGreaterThan method. I would really appreciate some help :)
    • 10.06.2019
    • 1509views
    • 2comments
    0
  • Wojtek
    Level 23
    Solec-Zdroj
    Question about the task Iterating through a file tree
    Java Collections, Level 1, Lesson 2
    Archived
    Could you tell me what i am doing wrong?need hint
    • 16.04.2019
    • 1266views
    • 2comments
    0
  • Adnan Razzaq
    Level 15
    Bamberg
    Question about the task Playing Javarella
    Java Syntax, Level 7, Lesson 9
    Resolved
    i tried everything . can someone solve the issue for me for me.package com.codegym.task.task07.task0713; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Playing Javarella 1. Enter 20 numbers from the keyboard, save them in a list, and then sort them to three ot
    • 28.06.2019
    • 1281views
    • 2comments
    0
  • Neha Anjum
    Level 6
    Hyderabad
    Question about the task Price of apples
    Java Syntax, Level 4, Lesson 1
    Resolved
    Help please...package com.codegym.task.task04.task0402; /* Price of apples */ public class Solution { public static void main(String[] args) { Apple.addPrice(50); Apple.addPrice(100); System.out.println("The cost of apples is " + Apple.a); } public static class Apple {
    • 15.09.2018
    • 3922views
    • 10comments
    0
  • RAGHU VAMSI
    Level 17
    HYDERABAD
    Question about the task The code won't compile…
    Java Syntax, Level 9, Lesson 11
    Resolved
    Where's the error? I'm not sure abt this.I removed the semicolon also!xD The program isn't copying the contents of the first file to the second one.
    • 23.06.2019
    • 1782views
    • 2comments
    0
  • captain jack
    Level 9
    Mumbai
    Question about the task Plan to conquer the world
    Java Syntax, Level 3, Lesson 8
    Under discussion
    I I cam't find what is wrong!
    • 27.06.2019
    • 1163views
    • 1comment
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task Sequential file output
    Java Core, Level 6, Lesson 13
    Under discussion
    Help me pls with thisNeed help
    • 27.06.2019
    • 1355views
    • 2comments
    0
  • Denis
    Level 22
    Kharkiv
    Question about the task One for all, all for one
    Java Core, Level 6, Lesson 10
    Under discussion
    Give me pls the advicehelp me ls with the solution
    • 27.06.2019
    • 1235views
    • 2comments
    0
  • James Cooper
    Level 9
    Naperville
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Program seems to work but failing last condition.I am passing all but the last condition. All of my test data that I have tried seems to work. Any ideas?
    • 26.06.2019
    • 1545views
    • 3comments
    0
  • nagabenang
    Level 6
    Bekasi
    Question about the task Let's put together a rectangle
    Java Syntax, Level 5, Lesson 7
    Resolved
    Trying to make a rectangle loopIt says illegal start of expression at Line 20 but I don't know what is wrong with it. Or you just can't make loop at void method? package com.codegym.task.task05.task0513; public class Rectangle { int top; int left; int width = top; int height = left; int i = 0; public void rectloop (){ for (i
    • 27.06.2019
    • 2463views
    • 3comments
    0
  • Profj
    Level 20
    Lagos
    Question about the task Combining files
    Java Core, Level 8, Lesson 11
    Resolved
    Please I really need your helpEverything works perfectly fine, but it's not verifying.
    • 28.06.2019
    • 1417views
    • 1comment
    0
  • x3m
    Level 9
    Lund
    Question about the task Minimum of N numbers
    Java Syntax, Level 8, Lesson 11
    Under discussion
    code works but weird output? whyI finished this task but with this task aswell with some others I get weird output errors such as java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at com.codegym.task.task08.task0822.Solution.getIntegerList(Solut
    • 27.06.2019
    • 1440views
    • 1comment
    0
  • vishal
    Level 2
    Jamshedpur
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Under discussion
    I stuck in 2 days and even can't find answer. Please Help meSEND me PROPER CODE
    • 27.06.2019
    • 1206views
    • 3comments
    0
  • hurzel purzel
    Level 22
    Stuttgart
    Question about the task The code won't compile…
    Java Syntax, Level 9, Lesson 11
    Under discussion
    How to get around the browser not allowing access to files on the computer?How do you solve this if your browser does not allow reading and writing to files on your computer? When running Linux, both "/tmp/file1.txt" or "file:///tmp/file1.txt" with all possible permissions fails with: java.security.AccessControlException: access denied ("java.io.FilePermission" "/tmp/fil
    • 26.06.2019
    • 1067views
    • 2comments
    0
  • Profj
    Level 20
    Lagos
    Question about the task Take your turn!
    Java Core, Level 6, Lesson 13
    Under discussion
    Please I really need your helpI'm entirely lost. Any help would be appreciated
    • 25.06.2019
    • 1281views
    • 1comment
    0
  • Divakar Reddy
    Level 15
    Nandyal
    Question about the task Drawing a rectangle
    Java Syntax, Level 4, Lesson 13
    Under discussion
    whats problem with my code
    • 28.06.2019
    • 1144views
    • 4comments
    0
  • nagabenang
    Level 6
    Bekasi
    Question about the task Positive number
    Java Syntax, Level 4, Lesson 7
    Resolved
    0 0 0 is read as 0 not nothingSo my code is as follows: if (a > 0) a = 1; if (b > 0) b = 1; if (c > 0) c = 1; if (a < 0 && b < 0 && c < 0) System.out.print(0); else System.out.print(a + b + c); The question is, why the program insist that number 0 is there when the code clearly states that the
    • 25.06.2019
    • 1333views
    • 1comment
    0
  • Kisszol
    Level 15
    Toeroekbalint
    Question about the task Catching custom exceptions
    Java Syntax, Level 9, Lesson 8
    Resolved
    Mi ne scias kila mia solvo ne validas, I don't know why my solution is not validatedLa solvo aperas funkcii, sed la sistemo ne akceptas gxin. Kial ? The solution seems to be working, but the system does not accept it. Why ?
    • 26.03.2019
    • 2070views
    • 3comments
    0
  • Mikayla Pace
    Level 27
    Salt Lake City
    Question about the task Task about algorithms
    Java Syntax, Level 5, Lesson 12
    Archived
    Why isn't my code printing?I keep getting a number format exception on my parseInt areas of code, saying that I am trying to convert null to an int. I input number in the input area of the screen, why won't it read my input?
    • 25.06.2019
    • 1452views
    • 6comments
    0
  • Paola Violeta Lopez
    Level 2
    Bethlehem
    Question about the task Pay raise
    Java Syntax, Level 2, Lesson 2
    Under discussion
    I do not know how to solve this, please help me with explanationspackage com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { //write your code here int a = System.out.println(Your salary is: dol
    • 26.06.2019
    • 977views
    • 1comment
    0
  • ddi
    Level 18
    Dortmund
    Question about the task In decreasing order
    Java Syntax, Level 7, Lesson 12
    Under discussion
    How do i use the Arrays.sort?He does not recognize the arrays.sort, what am i missing?
    • 25.06.2019
    • 1205views
    • 1comment
    0
  • JGO
    Level 4
    San Jose
    Question about the task Minimum of four numbers
    Java Syntax, Level 2, Lesson 8
    Resolved
    confused about returning am i using the wrong method in this code or is there a way i can edit the code without clearing the code ?
    • 05.01.2019
    • 1722views
    • 12comments
    0
  • JeRiF94
    Level 22
    Baku
    Question about the task Most frequent bytes
    Java Core, Level 8, Lesson 3
    Under discussion
    Help MEDiscuss please this one , I think I am right conclusion.
    • 03.06.2019
    • 1305views
    • 3comments
    0
  • senthamil
    Level 18
    Korampallam
    Question about the task Writing to a file from the console
    Java Core, Level 3, Lesson 11
    Under discussion
    how to give file name on console how to give file name on console I am giving like "d:\test.txt" but error is coming
    • 27.06.2019
    • 1330views
    • 1comment
    0
  • Jacob
    Level 6
    Warsaw
    Question about the task Maximum of four numbers
    Java Syntax, Level 4, Lesson 6
    Under discussion
    Last conditionNo idea how to pass the last condition.
    • 26.06.2019
    • 1080views
    • 2comments
    1
  • Robert
    Level 9
    Lombard
    Question about the task Overloading constructors
    Java Core, Level 5, Lesson 12
    Resolved
    Stuck in a subSolutionI can not figure out why this is not passing any requirements for the subSolution class. Any ideas?
    • 25.06.2019
    • 1407views
    • 1comment
    0
  • Jacob Warren
    Level 8
    Tampa
    Question about the task Console-based piggy bank
    Java Syntax, Level 5, Lesson 12
    Resolved
    Don't really understand what is wrong with this code.To me, this code looks right, but the checker keeps saying that it's wrong and I have no idea where to go from​ here.
    • 25.05.2019
    • 1643views
    • 4comments
    0
  • 1
  • ...
  • 304
  • 305
  • 306
  • 307
  • 308
  • ...
  • 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