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
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
Online Learner
Level 6
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
what wrong with this code
explain me
28.06.2019
1446
views
2
comments
0
Andrew
Level 29
Seattle
Question about the task
AmigoOutputStream
Java Core
,
Level 8
,
Lesson 8
Resolved
Stuck at the beginning
After extending FileOutputStream, it won't let me create a constructor that accepts a FileOutputStream object.
19.02.2019
1852
views
6
comments
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
1308
views
2
comments
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
1509
views
2
comments
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
1266
views
2
comments
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
1281
views
2
comments
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
3922
views
10
comments
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
1782
views
2
comments
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
1163
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Under discussion
Help me pls with this
Need help
27.06.2019
1355
views
2
comments
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 advice
help me ls with the solution
27.06.2019
1235
views
2
comments
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
1545
views
3
comments
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 loop
It 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
2463
views
3
comments
0
Profj
Level 20
Lagos
Question about the task
Combining files
Java Core
,
Level 8
,
Lesson 11
Resolved
Please I really need your help
Everything works perfectly fine, but it's not verifying.
28.06.2019
1417
views
1
comment
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? why
I 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
1440
views
1
comment
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 me
SEND me PROPER CODE
27.06.2019
1206
views
3
comments
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
1067
views
2
comments
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 help
I'm entirely lost. Any help would be appreciated
25.06.2019
1281
views
1
comment
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
1144
views
4
comments
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 nothing
So 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
1333
views
1
comment
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 validated
La 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
2070
views
3
comments
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
1452
views
6
comments
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 explanations
package 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
977
views
1
comment
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
1205
views
1
comment
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
1722
views
12
comments
0
JeRiF94
Level 22
Baku
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
Help ME
Discuss please this one , I think I am right conclusion.
03.06.2019
1305
views
3
comments
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
1330
views
1
comment
0
Jacob
Level 6
Warsaw
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Last condition
No idea how to pass the last condition.
26.06.2019
1080
views
2
comments
1
Robert
Level 9
Lombard
Question about the task
Overloading constructors
Java Core
,
Level 5
,
Lesson 12
Resolved
Stuck in a subSolution
I can not figure out why this is not passing any requirements for the subSolution class. Any ideas?
25.06.2019
1407
views
1
comment
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
1643
views
4
comments
0
Show more
1
...
304
305
306
307
308
...
372
Please enable JavaScript to continue using this application.