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
Chanda B Barrick
Level 8
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Why doesn't this pass validation?
I have tested multiple times with differing string lengths and combinations and it always prints the longest string(s) on new lines. I can't understand why it won't pass the last two conditions?
04.10.2019
934
views
1
comment
0
Rupa Joshi
Level 29
Tokyo
Question about the task
Date formatting
Java Multithreading
,
Level 2
,
Lesson 7
Resolved
Last condition is not verified
why it's not passing the last condition?
24.09.2019
1054
views
0
comments
0
Antonia
Level 10
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
??
help
25.07.2019
1001
views
6
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Program works, but does not verify
Not sure why the last 3 conditions don't verify, the output is correct.
27.09.2019
1569
views
5
comments
0
fifi deng
Level 22
Paris
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
nothing wrong ,i think so
Why it cant fit the conditions? Help please
30.09.2019
1112
views
2
comments
0
Lucas
Level 6
Parker
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
HELP
I keep getting "int print might not have been initalized" but I do it on line 17. How can I fix it?
02.10.2019
1001
views
2
comments
0
Robert P
Level 20
Nashville
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Resolved
How do I get the 4th requirement validated?
In it's current form, my program outputs: Gates:won! Smith:lost Jones:lost as the last lines. I guess I need help getting the formatting correct?
01.12.2018
1511
views
3
comments
1
Noam G
Level 15
Tel Aviv
Question about the task
Four mistakes
Java Core
,
Level 3
,
Lesson 2
Under discussion
Got it work but didnt really understand the logic
Hi All, This is the first time that i've encountered in tasks that i cant understand the logic behind it. What was there lesson that this task tried to teach us? that we can use interface as some kind of static content container? one that we dont have to create new object in order to use it?
01.10.2019
1165
views
0
comments
0
Saheb Das
Level 8
Gurgaon
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
What is the problem in the code ?
What is the problem in the code ?
03.10.2019
1006
views
1
comment
0
ddi
Level 18
Dortmund
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Resolved
third requirement error. Can someone help me?
I cant resolve the third requirement. Can someone help with?
29.09.2019
885
views
3
comments
0
Петр Зинченко
Level 19
Kharkiv
Question about the task
Let's hire a translator
Java Core
,
Level 3
,
Lesson 4
Under discussion
Explain please what wrong
help please
30.09.2019
1638
views
5
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Minimum of two numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Getting Errors in this code. Not sure why but the ELSE-IF statements are throwing errors.
21.02.2019
1890
views
8
comments
2
Andrew
Level 29
Seattle
Question about the task
Mastering the static block
Java Core
,
Level 5
,
Lesson 12
Resolved
If the input string is "plane", a Plane object should be stored in the variable result.
I'm stuck here. Not sure why this wouldn't be working.
01.02.2019
1899
views
3
comments
1
karina abad
Level 11
Daly City
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Cannot figure out how to fix the problem
So I think my problem is with the last index. I lowered down the number of words for the checking of the code so I know that's not a ten, but I just need to figure out the logic first and so far this is what I have. I'm not sure if I'm thinking about this right or doing this right. Please help!
29.08.2019
1350
views
1
comment
0
Balen Asangbeh
Level 23
Douala
Question about the task
Reading and writing to a file: Human
Java Core
,
Level 10
,
Lesson 2
Archived
pls for some hints am really confused
pls for some hints am really confused
06.04.2019
1374
views
6
comments
0
Brandon Horvatic
Level 27
Johannesburg
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
How do you test output with args[0]? I get an ArrayOutOfBounds Exception and cannot see my data output
How do you test output with args[0]? I get an ArrayOutOfBounds Exception and cannot see my data output
28.09.2019
1326
views
2
comments
0
hidden #10528391
Level 6
Under discussion
Note that 0 is not a positive or negative number. whats that mean
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader (new InputStreamReader(System.in)); int a = Integer.parseInt(reader.readLine()); int b = Integer
28.09.2019
1332
views
2
comments
0
Henry
Level 6
Stuttgart
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
hello
The output was correct when i tested the code but the verification shows that i didnt meet the third requirement.Please,i would appreciate if anyone can help check where i made error.Thanks.
25.09.2019
1413
views
2
comments
0
季军
Level 38
Shanghai
Question about the task
Aggregator (part 8)
Java Collections
,
Level 8
,
Lesson 15
Under discussion
Which site should i use?
The cached page cannot pass the first requirement, does that mean that i should just use the real page for this task?
29.09.2019
977
views
1
comment
0
Ivan
Level 22
Nope
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Resolved
How to print each number on a different line?
Guys, I've tried with and without loop, with and without print / println. Still can't pass the requirements... Please help me out! ... //printing the Arrays properly for (int a = 0; a < 1;a++) { System.out.println(Arrays.toString(numbers)); } ...
01.10.2019
1778
views
2
comments
0
GCPix
Level 15
Glasgow
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Not sure what I am missing, father will not validate
See code below. Everything apart from the father will validate. My guess was it was a typo in the sentence but I can't see it. The logic works as it prints the correct sentence and the mother prints and validates so why won't the father? TIA
05.09.2019
1332
views
2
comments
0
carter
Level 8
Middletown
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Im getting the right results Ive looked over the for loops and I can't see what situation my code wouldn't maybe Im missing something please help
Tried looking at the other issues people had I am not able to find the issue. Also I am receiving the right output
30.09.2019
1214
views
2
comments
0
Kotlet
Level 28
Wroclaw
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
Fail 4th requirement
Tried to rework this code many times (even changed exception type in try-catch block) without any success. Please help me find the bug. Any help would be greatly appreciated.
09.07.2019
1377
views
3
comments
1
Lukas Smetana
Level 10
London
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Again, doesent work.
It's printing beautiful rectangle but it's not passing your test. why?
23.07.2019
1002
views
2
comments
0
Raj Mishra
Level 15
India
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Why my 4th validation is failing?
Could anyone please tell me why my 4th validation is failing? I have called a constructor with appropriate parameters.
01.10.2019
1290
views
1
comment
0
romeo
Level 5
Paramaribo
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
This Code is CORRECT!?
Why when I try to validate it gives me errors on the last 2 conditions? This code is immaculate!!! Couldn't have been written better than The Creator, James Gosling himself... Yet both on IntelliJ and The webpage IDE I get errors on the last 2 conditions. (When the code is ran it meets all the requi
28.05.2019
1647
views
8
comments
0
Azhar Iqbal
Level 18
Multan
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
What's the Problem ??
A little hint is appreciated.
26.09.2018
1635
views
10
comments
0
John
Level 27
Washington DC
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Not seeing why this is wrong...
Not seeing why this is wrong...
30.09.2019
885
views
1
comment
0
Jeremy Simons
Level 7
Peterborough, Cambridgeshire, UK
Question about the task
Minimum number of statics
Java Syntax
,
Level 6
,
Lesson 11
Resolved
I think my code should pass testing, so why doesn't it?
Looking at my code which condition do I fail to satisfy?
17.09.2019
1187
views
3
comments
0
TONDO YOYA Ariel Christopher
Level 16
Rennes
Under discussion
what is wrong with my code??
package com.codegym.task.task04.task0412; /* Positive and negative numbers */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner myObj = new Scanner(System.in);
30.09.2019
933
views
1
comment
0
Show more
1
...
273
274
275
276
277
...
371
Please enable JavaScript to continue using this application.