Promotion
CodeGym University
Java FullStack
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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
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
9/30/19
1389
views
2
comments
0
hidden #10459091
Level 28
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.
7/9/19
1527
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?
7/23/19
1166
views
2
comments
0
Raj Mishra
Level 2
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.
10/1/19
1480
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
5/28/19
1841
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.
9/26/18
1791
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...
9/30/19
1041
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?
9/17/19
1316
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);
9/30/19
1067
views
1
comment
0
rani
Level 7
Bothell
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
task07.task0708 - Longest string program works fine but not getting verified
package com.codegym.task.task07.task0708; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; /* Longest string */ public class Solution { private static List strings; public static String l; public static ArrayList fin = new
9/30/19
1413
views
1
comment
0
Nikolaos
Level 22
Vrontados
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Resolved
What's wrong here? Any suggestion?
"The printListValues method should display the contents of the resulting list." But i don't understand why it doesn't..
9/25/19
1914
views
2
comments
0
Patrick freeman
Level 14
Buffalo
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Hello, Starcraft!
Hello, I feel this task should be really easy, but I can't seem to set a name for each object. This is what I've tried thus far, and it doesn't pass verification. Thank you in advance for your help!
9/21/19
1953
views
7
comments
0
hidden #10462592
Level 8
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
last condition????
It works fine when I enter a positive number, but then there is an unwanted incrementation when the input is negative. How to satisfy the last condition? I even used the letters 'a' & 'b' as depicted in the question. Thanks in advance!
9/5/19
1559
views
5
comments
0
Tara Edwards
Level 6
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Right answer, but failed requirements.
So.. with a little help from @Heavy I got the program to run..but while I'm getting the correct output I'm faiing multiple requirements. Hmmm
9/18/19
1420
views
5
comments
0
Kris
Level 9
Englewood
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
The Code though longer works in IDEA but still I get errors for the last 3 conditions
The Code though longer works in IDEA but still I get errors for the last 3 conditions
9/26/19
1492
views
6
comments
0
Kris
Level 9
Englewood
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Hi,
Hi, Does anyone have an idea why this code is not working ? Btw I also tried with && and still not working -->>> public class Solution { public static void main(String[] args) { checkSeason(12); checkSeason(4); checkSeason(7); checkSeason(10);
9/25/19
1106
views
2
comments
0
Siddharth
Level 14
Seattle
Question about the task
Cat and Dog objects: 50,000 each
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Time out, the program ran too long and was closed?
What have I donewrong?
7/30/19
1342
views
2
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Please help,
Doesn't working when I'm trying to test 1 3 2, receiving 3
11/15/18
1666
views
5
comments
0
carter
Level 8
Middletown
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
getting the desired output under all circumstances yet still not meeting conditions.
Maybe there is a different way to write the code that "meets the requirements" but is there anything fundamentally wrong with the way I am getting the answer ????
9/30/19
1243
views
1
comment
0
fifi deng
Level 22
Paris
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Nothing wrong i think so
cause why it cant fit the lase request~~
9/28/19
1670
views
7
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Am I iterating correctly?
Not sure why my removeFirstNameDuplicates method doesn't remove duplicate values.
9/27/19
1612
views
1
comment
0
Antonia
Level 10
Question about the task
Display today's date
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
help
?
7/15/19
1315
views
4
comments
0
Denis
Level 22
Kharkiv
Question about the task
Sorting bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
give me your help pls
need help
6/28/19
1118
views
1
comment
0
Andriy
Level 22
Toronto
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Under discussion
What is the problem?
The second half of the bytes in the first file must be written to the third file??
9/27/19
1101
views
1
comment
0
Antonio
Level 12
Rotterdam
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Output is correct
Who can help me out????
9/23/19
984
views
1
comment
0
Online Learner
Level 6
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
i don't understand this program
that's llike somthing new for me
7/18/19
1517
views
5
comments
0
Senbaga Rajesh S
Level 4
Chennai
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Error at Green color alone.
Only green color is not displayed. Please guide.
4/23/19
1714
views
3
comments
2
Denis
Level 22
Kharkiv
Question about the task
Robot wars
Java Core
,
Level 3
,
Lesson 11
Under discussion
heeeelp
dont understand
6/25/19
1048
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Turnip
Java Core
,
Level 3
,
Lesson 11
Under discussion
Pls help with this
i cant pass this
6/25/19
1307
views
1
comment
0
Bryce Lindley
Level 9
Olympia
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Difficult Question
I'm trying to figure this one out. Any pointers??
9/5/19
1447
views
3
comments
0
Show more
1
...
277
278
279
280
281
...
374
Please enable JavaScript to continue using this application.