Promotion
CodeGym University
Learning
Course
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
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
1108
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
3630
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
1614
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
961
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
1195
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
1072
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
1292
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
2192
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
1249
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
1252
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
1069
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
954
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
1097
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
1022
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
1088
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
1837
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
1276
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
802
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
1042
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
1482
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
1190
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
1203
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
937
views
2
comments
1
Robert
Level 27
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
1275
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
1474
views
4
comments
0
abhishek karumuri
Level 8
Columbus
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Got the output correct - Still Requirements were not satisfied ??
Hi Folks, I could not figure out whats the problem here in my code. I get the output when I enter same names and different names. However, it states one of the requirement is missing.
26.06.2019
1314
views
2
comments
0
Angeget
Level 22
Potsdam
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Need help!
No idea why the last requirement is still not fufilled. Help please
14.01.2019
2090
views
2
comments
2
Henk
Level 19
Pretoria
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Resolved
Here's a tip: you can add a class wide String variable in the class Read3Strings
They show you where you should add your code, and normally if you code outside of that, this marks the task incorrect. In this case, I couldn't see how I can print a string from one function (the RUN method) in another method (printResult) if it wasn't visible to the whole class.
29.05.2019
1137
views
0
comments
2
Voris
Level 10
Tashkent
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Can't find what's wrong. Error: class, interface, or enum expected
public class Solution { public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList(); ArrayList three = new ArrayList(); ArrayList two = new ArrayList(
24.06.2019
1184
views
3
comments
0
Nehal Abubakar
Level 7
Karachi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Plz help me out
Help me out plzz with the lasr error.
25.08.2018
1240
views
4
comments
0
Show more
1
...
299
300
301
302
303
...
367
Please enable JavaScript to continue using this application.