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
Carli Eubanks
Level 15
San Diego
Question about the task
Multiplication table
Java Syntax
,
Level 4
,
Lesson 10
Resolved
I can't find the mistake
I've been stuck for a bit now and I don't know where my mistake is. I would really appreciate some advice on what I'm doing wrong.
22.09.2020
828
views
3
comments
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Back to Collection 😅
The right output but no validation! Any hint? Tk you!
10.08.2020
616
views
7
comments
0
hidden #10668264
Level 7
Question about the task
Create a Dog class
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Initialize() vs. Constructor()
Anyone, why would we use initialize() instead of construcor().
22.09.2020
1997
views
6
comments
0
Marvin Ellis
Level 7
Peoria
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Adding Cat classes
I am not sure how were are supposed to add and display the cats we are creating.
23.09.2020
1237
views
1
comment
0
AlfredW
Level 23
Denver
Question about the task
Counting commas
Java Core
,
Level 8
,
Lesson 5
Under discussion
Works Great on IntelliJ but times out every time I try to Verify.
This works perfectly when I test run it. Each time I have tried to verify it I get the Timed Out message. What am I missing?
23.09.2020
427
views
2
comments
0
sourav bamotra
Level 20
jammu
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Under discussion
-_-
I'll not tell anyone that i completed this task after 10 attempts, all because of those silly mistakes, and stupid requirements. -_-
22.09.2020
564
views
3
comments
0
Prashant Vishwakarma
Level 12
Mumbai
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Error
Error: be sure length of the string is calculated correctly at the end of the list
23.09.2020
476
views
1
comment
0
sarthak pawar
Level 19
Nashik
Question about the task
Combining files
Java Core
,
Level 8
,
Lesson 11
Under discussion
Is my way of solving this task is correct
can't verify 3rd and 4th condition, why?
22.09.2020
355
views
2
comments
0
Mason Rake
Level 4
Grand Marsh
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Part of a calculator
Help I am not sure what I am doing wrong? I only see the two "int" variables but it says there is more then that? If you could please help me that would be great!
11.06.2020
526
views
5
comments
0
Stephen Haokip
Level 12
imphal
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Resolved
help
where did i go wrong
29.07.2020
601
views
2
comments
2
Lawrence Babay
Level 6
Rockville
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Guys Need Help with the task in hand
Please assist. I got stock with this task any help is much appreciated. Thanks in advance.
01.05.2020
1174
views
6
comments
0
hu-zza
Level 22
Budapest
Question about the task
Pharmacy
Java Core
,
Level 7
,
Lesson 10
Archived
Do not dig too deep...
You should call buy() in the Pharmacy class and sell() in the Person class. It's quite obvious, if you read only the methods' names. However, if you read this two (or see the output), the other pairing is more logical.
04.07.2020
908
views
6
comments
1
Onur Bal
Level 27
Istanbul
Question about the task
Let's count
Java Core
,
Level 7
,
Lesson 10
Under discussion
Can someone explain the logic of this one
I was able to solve this one correctly but I can't say I understood what I did too well. So each thread is modifying the array, adding plus 1 to the current index, which initially starts out as 0 for each element. Why, then, after 5 threads going over it, is the value equal to 1? Shouldn't each el
21.09.2020
707
views
4
comments
0
Stephen Meyer
Level 16
Fort Collins
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Accepting input forever?
My code just seems to accept input strings forever, and I cannot for the life of me figure out why. Can someone help?
22.09.2020
453
views
1
comment
0
Oliver Heintz
Level 18
Mustang
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Last Requirement not met
Like so many other people, it looks just like it's supposed to. I even tested it with numbers and I still get what appears to be the correct output. I haven't the slightest idea what the hold up is, which sucks as I thought I had this on the first try, and now I've tried it like 4 times.
21.08.2020
658
views
11
comments
0
Chris
Level 19
Newark
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Im unsure of how to finish this.
I have spent over a day on this particular problem and I can't find out what I should do. This is the closest I have gotten to a workable solution. Can someone please help me?
21.09.2020
579
views
2
comments
0
Marvin Ellis
Level 7
Peoria
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Constructor illegal start of the expression? I am not sure what it is telling me here
Its stating that the constructor Man and Woman have an illegal start of the expression. But I am not sure why.
22.09.2020
448
views
1
comment
0
Marvin Ellis
Level 7
Peoria
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Why would it expect a interface?
What is an interface or a enum? I am not there yet. class, interface, or enum expected. file com/codegym/task/task05/task0526/Solution.java, line 43, position 1083
14.07.2020
495
views
5
comments
0
Marvin Ellis
Level 7
Peoria
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Resolved
I don't understand whats wrong
I thought I was getting the hang of this
14.07.2020
515
views
3
comments
2
Cam
Level 15
Bogota
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
I don't understand what is failing.
Hey guys. I'm a little bit confused. In my mind, this program should be working. But it is not passing the last verification. Can someone please tell me what I am doing wrong?? public static String compare (ArrayList original) { ArrayList sorted = sord(original); int min = 0, max
21.09.2020
634
views
6
comments
0
John Raets
Level 3
Not in list
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
What's wrong with this code?
public class Solution { public static double addTenPercent(int i) { double c = 100 * 1.1; return c; } public static void main(String[] args) { System.out.println(addTenPercent(9)); } }
19.09.2020
438
views
2
comments
0
Chris
Level 19
Newark
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Please help.
Can someone help me finish this?
21.09.2020
451
views
2
comments
0
Carli Eubanks
Level 15
San Diego
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I can't find my mistake
I've managed to satisfy all but the last two requirements. I've tried multiple variations and read over my work to try to find my mistake, but whatever it is it's managed to elude me. Any advice would be greatly appreciated.
21.09.2020
511
views
2
comments
0
Youngsan
Level 41
Seoul
Question about the task
Hippodrome (part 10)
Java Multithreading
,
Level 1
,
Lesson 16
Resolved
Pls help
"Oh, and display 10 empty lines after the loop (using System.out.println()) to make it more beautiful.". Seems to be simple, but I seems to misunderstand the problem. Please help me.
22.09.2020
542
views
5
comments
0
Mariam
Level 9
Columbus
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Resolved
The program DOES change the first letter of each word to uppercase but compiler says it does NOT. Please help
The program DOES change the first letter of each word to uppercase but compiler says it does NOT. Please help
16.09.2020
467
views
4
comments
0
Lawson
Level 29
Lagos
Question about the task
Snake (part 12)
Java Multithreading
,
Level 2
,
Lesson 18
Resolved
Help
this isn't supposed to be hard na
17.09.2020
498
views
0
comments
0
Jac
Level 7
Birmingham
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
I'm getting an output of 'NaN'. Can someone clarify?
package com.codegym.task.task05.task0507; /* Arithmetic mean */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.i
22.09.2020
422
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Space Invaders (Part 9/34)
Games
,
Level 0
,
Lesson 6
Resolved
Where is the mistake
Help
10.09.2019
1449
views
9
comments
0
Manish Sinha
Level 1
london
Question about the task
Find a substring
Java Multithreading
,
Level 2
,
Lesson 5
Resolved
not sure what is the issue . very eager to know the issue since output is as per the expectation i believe. there must be something minor i guess. pls. help
not sure what is the issue . very eager to know the issue since output is as per the expectation i believe. there must be something minor i guess. pls. help
21.09.2020
450
views
3
comments
1
143_Ritik Awachat
Level 4
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
help me guys
what is the error here can you guys help me
21.09.2020
557
views
2
comments
0
Show more
1
...
133
134
135
136
137
...
372
Please enable JavaScript to continue using this application.