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
Robert P
Level 20
Nashville
Question about the task
Transactionality
Java Core
,
Level 7
,
Lesson 10
Resolved
I don't know what they want
I just need help with the last invalidated condition. "The joinData method must remove from the allLines list all lines in the linesForRemoval list if allLines contains all the lines in the linesForRemoval list." The recommendation from the program: "Be sure that the joinData() method deletes from
14.12.2018
1454
views
4
comments
0
Au Ivan
Level 17
Hong Kong
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Em...why is that lol
plz help...
18.09.2019
1287
views
2
comments
0
Bartek J.
Level 13
Zielona Góra
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Problem witch changing places
Hi I think my program is working fine, but word with letter "r" and "l" is placing to the end of Array. Can sb help ? :)
26.08.2019
1267
views
4
comments
0
luna Zheng
Level 18
Ningbo
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Please help me!!!! The output result seems that my code is right, but i dont't know why it doesn't match the fourth requirement.
finally,Map values : {lao5=zhang, lao3=biao}
21.09.2019
1547
views
1
comment
0
Yvonne
Level 7
Nairobi
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
My Program won't even compile and I don't seem to see the issue. Please Help.
My Program won't even compile and I don't seem to see the issue. Please Help. This is the compiler message: Exception in thread "main" java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:542) at java.lang.Integer.parseInt(Integer.java:615) at Solution.main(Solution.j
21.09.2019
1337
views
2
comments
0
ShirAz SiddiQui
Level 8
Karachi
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What mistake i'm making in my code?
What mistake i'm making in my code?
21.09.2019
1087
views
1
comment
0
kapil
Level 12
delhi
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Resolved
help me in finding error
please help me as i am unable to find error in my code
08.02.2019
1892
views
5
comments
1
Stefan Craia
Level 15
Bucharest
Question about the task
HashMap of cats
Java Syntax
,
Level 8
,
Lesson 3
Resolved
It works-won't pass validation
THE VALIDATIONS that don't pass are: 1. The addCatsToMap() method should add all cats in the String[] cats array to the collection in accordance with the task conditions. recomandation from mentor: Be sure that the addCatsToMap() method adds all cats in the String[] cats array to the collection in a
06.08.2019
1618
views
1
comment
2
Alexandru Ovcinicov
Level 15
London
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Help Please! I get right results, but can not pass though. (check my two versions, both work,but not validate)
You can see two variants using break statement and other using whileController public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); HashMap myMap = new HashMap<>();
21.09.2019
1315
views
3
comments
0
jawad
Level 10
Lahore
Question about the task
Create a Friend class
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
what's wrong in my code
it says ";" expected line 10
20.09.2019
1028
views
2
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
I tried multiple times where I am wrong
How to copy the contents if the file itself is not there ?
30.04.2019
1722
views
4
comments
0
// Java Poser
Level 18
Cincinnati
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Getting this validation error
. Also, What file are we supposed to be reading from? That part is unclear to me
10.04.2019
1101
views
2
comments
0
Francisco González
Level 4
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
I'm stuck. Please help me!
I think I have declared the variable person and with it I have five variables. But no. Why???
10.09.2019
1531
views
2
comments
0
Jayaraj Kamaraj
Level 18
Singapore
Question about the task
Static modifiers and kittens
Java Core
,
Level 5
,
Lesson 9
Under discussion
Can anybody help to solve this problem?
Don't know what is the issue here. Please help on this.
06.08.2019
1276
views
3
comments
0
Lukas Smetana
Level 10
London
Question about the task
10 thousand deletions and insertions
Java Syntax
,
Level 8
,
Lesson 6
Resolved
HELP PLEASE - LIST
Hello, dont know how to finish removing 10000 elements from list :(
03.08.2019
1883
views
2
comments
1
khushbu Nirmal
Level 7
Mumbai
Question about the task
Target locked!
Java Syntax
,
Level 4
,
Lesson 6
Resolved
why it is not passing the test cases
whats the problem in my code
30.10.2018
1894
views
2
comments
2
Ymje Sköld
Level 4
Bjorko
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Why won't it verify?
This computes in eclipse and here, with or without negative numbers. Am I supposed to use double? I start to think my solution might be a little convoluted. Probably don't need the array at all., can just check maxval after each input. Whoops. Either way, why won't this convoluted mess verify?
08.06.2019
1644
views
7
comments
0
theCalculator
Level 3
Warren
Under discussion
I have made adjustments ie followed the instructions to the first condition although I get correct screen output, computer says wrong?
Anyone take a look at this code and help me debug. please.
20.09.2019
1004
views
1
comment
0
Abu Bakker Siddiq H
Level 5
Salem
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Can Anyone please tell me what is the task that is not met here ?
fellow Gymnasts, can anyone explain what requirement is not met here? Thanks in advance
20.09.2019
1352
views
5
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
Mastering the static block
Java Core
,
Level 5
,
Lesson 12
Resolved
condition did not satisfied
help please thanks
18.08.2019
1129
views
3
comments
0
Weichen Ouyang
Level 25
San Jose
Question about the task
Problem solving
Java Core
,
Level 9
,
Lesson 8
Resolved
This problem is driving me nuts. Please help...
How could I pass the final condition?
18.09.2019
1233
views
3
comments
0
Xuecong Liu
Level 7
Australia
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
My code works but doesn't verify, help me please
I've tried several tests on IntelliJ and they all worked as expected: Input: 3, 3, 3; Output: 3 Input: 3, 3, 4; Output: 3 Input: 3, 4, 5; Output: 4 Don't understand what I got wrong :( Any help would be much appreciated!
17.09.2019
1067
views
7
comments
0
Henry
Level 6
Stuttgart
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
Hello
What is the right step to take? I cant think of anything.
07.09.2019
1057
views
2
comments
0
Piotr Wikarski
Level 19
Birmingham
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Flaw in the app?
I'll do exactly what is on the question. Have the correct result, but it won't give me all green. It happened few times already. Is it a flaw in the app? I print exact words to the screen and call the method. Tried many different ways. Never vote all green. I'm not new to java. I do this level to ch
19.09.2019
966
views
2
comments
0
Gábor
Level 14
Budapest
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
I do not understand this error: java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
I think the logic behind the code is good, but I still missing something....
19.09.2019
2230
views
2
comments
0
Brandon Horvatic
Level 27
Johannesburg
Question about the task
File in a static block
Java Core
,
Level 5
,
Lesson 12
Under discussion
Please help with clarity on the program.. Thanks in advance
This code works with the lines uncommented. I just wanted to get some clarity on all these input streams as I am having trouble grasping the concept, so if someone could please help better my below understanding. So what I understand: 1. First, the FileInputStream reads the file in byte form that is
17.09.2019
981
views
1
comment
0
Vartaman Ingole
Level 6
Wardha
Question about the task
Seeing dollars in your future
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
What's wrong with it??
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here int i = 1 ;int j = 1; char c ='$'; while (i <= 10) { { System.out.println(c); } while (j <= i ) { System.out.print(c);
30.11.2018
1828
views
8
comments
0
Jason Macias
Level 16
New Jersey
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Code appears to be working, but is not passing last two tests
I have written this several ways, and each produced the results asked for, but it isn't passing the last two tests. Any feedback on why this is?
19.09.2019
1034
views
2
comments
0
Ahmed
Level 23
Amsterdam
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
It should work correctly but the verifier doesn't agree :/
My code works correctly based on the requirements when I run it. But I got an error when trying to verify it. Anyone has an idea?
23.05.2019
2134
views
11
comments
1
Naveen Muralidoss
Level 9
Newark
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
What is wrong?? output prints as excepcted
Kevin will take over the world in 8 years. Mwa-ha-ha!
18.09.2019
1193
views
5
comments
0
Show more
1
...
276
277
278
279
280
...
372
Please enable JavaScript to continue using this application.