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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
matemate123
Level 50
Kraków
Question about the task
StringTokenizer
Java Syntax
,
Level 10
,
Lesson 6
Resolved
What's wrong?
I have read that in this exersise may be bug. I don't know what to do, because everything in this program do it's funkction.
11/6/22
376
views
2
comments
0
Vadim “迪姆哥”
Level 35
Question about the task
Buy an elephant
Java Syntax
,
Level 15
,
Lesson 3
Resolved
My code are identical to correct solution, but validator didnt let it pass
WHY?
11/1/22
491
views
3
comments
0
Vadim “迪姆哥”
Level 35
Question about the task
Filling an array
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
code meets requirenment of task
So, according to Console output, if array size is 20(even), it fills with : [10,10,10,10,10,10,10,10,10,10,13,13,13,13,13,13,13,13,13,13] Then if array size is 21(odd), it fills as [10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,13,13,13,13,13] According to console output, my code met the requirem
10/12/22
716
views
10
comments
0
GioGTelian
Level 10
Question about the task
Minimum of N numbers
Java Syntax
,
Level 6
,
Lesson 3
Resolved
why it doesnt work?
i need to know i spent too much time on this!!
10/26/22
508
views
1
comment
2
Anonymous #11149234
Level 6
United States of America
Question about the task
Comparing strings by reference
Java Syntax
,
Level 3
,
Lesson 9
Under discussion
why not equals?
why not equals() ? i tried so manny times thinking I was supposed to use equals to compare?? please
10/27/22
513
views
2
comments
0
Weichen Ouyang
Level 25
San Jose
Question about the task
Cache based on SoftReference
Java Collections
,
Level 4
,
Lesson 6
Under discussion
Please help me out: I don't understand the requirement for the put method
I can get it right for the put method of the SoftCache. I will really appreciate anyone could offer some help.
9/26/19
1435
views
5
comments
0
Deepanshu Pathak
Level 3
Jakarta
Question about the task
How to take over the world
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
how to input the scanner class
how to input the scanner class
10/18/22
535
views
2
comments
0
Dawn( #11020889)
Level 37
Toronto
Question about the task
Shall we play?
Java Core
,
Level 6
,
Lesson 13
Under discussion
what's wrong with my code? Please help!
Why the code can not fit the third require? Someone give a hint? Thanks a lot!
10/29/22
610
views
1
comment
0
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
General query about adding things in ArrayList
If I do this, for(int i = 0; i < 10; i++) { list.add(0, r.readLine()); } So, list is an ArrayList, I thought it will add the element on the first position, then, when It will add the second time at the same place, the previous element should've disappeared, but it didn't. Instead, it kept
10/27/22
422
views
0
comments
0
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Regarding an loop syntax in the solution
For syntax is weird. for(string element : strings) { ... }
10/25/22
448
views
3
comments
0
Dedcom
Level 19
Lahore
Question about the task
Clew
Java Core
,
Level 6
,
Lesson 13
Under discussion
Whats the problem here
.
3/2/19
1939
views
10
comments
0
Raj Mishra
Level 2
India
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Dont understand why my code is failing
I don't understand why my 2 validations are failing if I already have used 2 methods in solution class and its returning true for odd number odd days. Could you please help?
5/19/20
768
views
5
comments
0
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
Come on....
Out of Bounds?! What is out of bounds? lol
10/23/22
592
views
1
comment
0
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
General Query
In the Cat constructor, I thought somethng should be here when the class is called, but in the original solution, it added nothing. I was creating the objects like this, Cat cat1 = new Cat(); Cat cat2 = ' ' ' ' '' '' '' That's why there should have been something in the construc
10/22/22
468
views
4
comments
0
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
Calculator
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Why is this not working?
public static double percent(double a, double b) { return (a * b) / 100; * I changed parameters from int to double, expecting to return a decimal type number. This test only accepts parameter multiplied by 1.0, I understand this forces the compiler, but former should have worked.....
10/22/22
446
views
3
comments
0
Maravelias Giorgos
Level 2
Heraklion
Question about the task
Cutting down the middle
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Always failed , why ?
The results of my code are the expected . But task always failed . I have try two approaches
10/21/22
438
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Airport
Java Core
,
Level 6
,
Lesson 7
Under discussion
One condition. Pls me pls
give me a code pls
6/27/19
1318
views
4
comments
0
Nicu Bubuioc
Level 6
Question about the task
Executing a snippet of code
Java Syntax
,
Level 5
,
Lesson 7
Archived
"Cannot find local variable "loop"
after i press alt + f8 and try to execute the code i get the "Cannot find local variable "loop"
7/6/22
1154
views
3
comments
0
AG09Mex
Level 28
Question about the task
Path update
Java Syntax
,
Level 9
,
Lesson 5
Resolved
I'm not sure what the the issue with my code is.
The output seems to be fine.
10/19/22
573
views
2
comments
0
hanshith
Level 2
guntur
Question about the task
Amigo is very smart
Java Syntax
,
Level 1
,
Lesson 1
Under discussion
why you don't telling "how to do coding" ?
I want to learn about coding perfectly?
10/1/22
603
views
1
comment
0
Martin
Level 31
Roden
Question about the task
Snake (Part 1/20)
Games
,
Level 0
,
Lesson 1
Under discussion
Create a new project for the Snake game or not?
How to start in IDEA the development of the Snake game?
10/19/22
495
views
1
comment
0
Vadim “迪姆哥”
Level 35
Question about the task
StringTokenizer
Java Syntax
,
Level 10
,
Lesson 6
Under discussion
PLEASE, correct the task or validator
In the task, you mentioned that maximum count of tokens must be 6. So I implemented my code within that restriction, also returned array of strings without "null" elements, but validator didn't let it pass
10/19/22
474
views
1
comment
0
DemonzDoesCoding
Level 1
Jakarta
Question about the task
Amigo is very smart
Java Syntax
,
Level 1
,
Lesson 1
Under discussion
i don't see anything wrong
i made it right but what's the position mean?
9/29/22
744
views
3
comments
0
SRINIVASAN MUKUNDH
Level 16
Chennai
Question about the task
Second smallest number entered
Java Syntax
,
Level 4
,
Lesson 5
Under discussion
About smallest integer
Why in this task the smallest integer is 5? Because why I am asking the question, the input 4 is smaller then input 5.....
10/18/22
490
views
1
comment
0
William Wallace
Level 3
Bielsko-Biala
New
At which stage it will be explained how to instal Intelij and CodeGym plugin for it?
Hi, As in the subject of this question: At which stage it will be explained how to instal Intelij and CodeGym plugin for it? Thanks, W.W.
10/18/22
412
views
0
comments
0
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
Seeing dollars in your future
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
Query
I can't multiply String like this, ''S'' * 10. Why does it give error?
10/11/22
571
views
4
comments
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 10
Resolved
what's wrong with my code? please help
I'm still stuck with this
10/18/22
773
views
3
comments
0
mr batman
Level 0
Kuala Lumpur
Under discussion
(Using the FactorialCalculator): Modify the program to allow input on what factorial is required instead of 10.
// Iterative factorial method. public class FactorialCalculator { // recursive declaration of method factorial public long factorial( long number ) { long result = 1; // iterative declaration of method factorial for ( long i = number; i >= 1; i-- ) result *= i; return result; } // end me
10/17/22
512
views
0
comments
0
Anitamalina
Level 18
København
Question about the task
Horse racing
Java Core
,
Level 6
,
Lesson 5
Under discussion
I don't fulfull the requirements ?
I don't understand why I don't pass the requirements ?
10/17/22
469
views
1
comment
0
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Query about inputs
I thought, for every input, I have to type ''BufferedReader xyz = new BufferedReader..., so typed it two times. Then I compared it with the codegym solution, it created only one. I wonder what was happening when I created Two BufferedReader objects
10/9/22
913
views
3
comments
0
Show more
1
...
39
40
41
42
43
...
374
Please enable JavaScript to continue using this application.