CodeGym University
Learning
Course
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
Denis
Level 22
Kharkiv
Question about the task
Replacing numbers
Java Core
,
Level 9
,
Lesson 11
Archived
Need help
Pls guys
29.06.2019
943
views
2
comments
0
Rishabh Joshi
Level 9
Indore
Under discussion
I got an error in this solution. Is something wrong here?
package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { //write your code here Person person = new Person();; person.name = "Rishabh"; person.age = 22; person.weigh
20.11.2020
440
views
1
comment
0
Lex Icon
Level 17
Sofia
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Resolved
The code seems correct, but...
Any ideas why it doesn't work?
19.11.2020
430
views
3
comments
0
Jyothi
Level 20
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Resolved
Not passing write exit to file
Not passing write exit to file
13.01.2019
1968
views
10
comments
0
Michael
Level 10
Dresden
Question about the task
Words in reverse
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Again also in this task, the code produces the correct result but does not validate
Does anyone see, why the second and third condition do not validate? Thanks for your suggestions!
26.09.2020
528
views
4
comments
0
Cam
Level 15
Bogota
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
I can't verify the last task
after cracking my head open I finally managed a way out of the while loop, yet I'm still unable to "not lose the last number" and I don't understand why... please help
19.11.2020
351
views
2
comments
0
Rajni Agrawal
Level 12
Bangalore
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Validation 3 is not successful.
Working fine in both conditions but validation not going thru.
19.11.2020
375
views
4
comments
0
Шарох
Level 10
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Hi Coders!
What should I do ? It's hard .
18.11.2020
550
views
4
comments
0
Himanshu Pal
Level 3
Delhi
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
don't know where is mistake
package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { Man men = new Man(); Woman woman = new Woman(); man.wife = woman; woman.husband = man;} //man.wife=woman; woman.husband = man;
31.08.2018
2199
views
23
comments
0
Albert
Level 6
Hong Kong
Question about the task
Product of 10 numbers
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Is there anyway that I could further simplify the code? Thanks
public class Solution { public static void main(String[] args) { //write your code here int d = 1; for (int i=1; i<=9; i++){ d= d*(i+1); } System.out.println(d); } }
19.11.2020
365
views
1
comment
0
Maryem Vickers
Level 7
HT...
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Hey again, I tried to initialize, but-- WHY WON'T IT WORK...?!
I tried to initialize... but look...!!!?!?!?!!!!!!!!!!
18.11.2020
319
views
3
comments
0
Robert
Level 27
Lombard
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Resolved
Same problem as everybody else...
I have gone through and tried all the different matrix options that other people have suggested. Heck, I've even tried with an unbalanced matrix and that seems to work when I run it, but I still can't seem to pass the final requirement. Any ideas on what is wrong?
13.11.2020
330
views
2
comments
0
Seferi
Level 22
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
I can't seem to find the right regex for the hypen..
I tried so many of them. A little help is appreciated.. Thanks..
17.11.2020
519
views
11
comments
0
JT
Level 6
Baton Rouge
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
How is this not right?
I'm confused. I get the correct output but it doesn't pass the test. Can anyone help me with this?
18.11.2020
541
views
2
comments
0
chinchillo
Level 6
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Any idea why this won't work?
Can't finde the issue.
17.11.2019
1574
views
5
comments
0
Gil Allen
Level 8
Johnstown
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Order of Declarations?
No one has said WHY it is so important to order the declarations just so. I don't see why it has anything to do with the outcome - does the memory assign memory locations in the order they come in? I tried a couple different orders of declarations and got the same result each time ( which is corre
10.08.2020
538
views
3
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Four mistakes
Java Core
,
Level 3
,
Lesson 2
Under discussion
com.codegym.task.task13.task1305.Solution.Dream is abstract; cannot be instantiated. file com/codegym/task/task13/task1305/Solution.java, line 12, position 165
cannot be instantiated because it is abstract but it's not abstract. public class Solution { public static void main(String[] args) { System.out.println(new Dream().HOBBY.toString()); System.out.println(new Hobby().toString()); } interface Desire { } public
03.11.2019
1278
views
2
comments
0
Guanting Liu
Level 0
Springfield
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
no idea how to continue
I don't know how to continue very well,very appreciate if someone can point out what's wrong and how the code works especially how to use Human constructor and to string method to create the required variables.
17.11.2020
450
views
1
comment
0
Premachandran
Level 35
Ernakulam
Question about the task
Archiver (part 1)
Java Multithreading
,
Level 7
,
Lesson 15
Under discussion
Where am I wrong?
I tried different ways but one condition fails.
07.02.2020
948
views
2
comments
2
Guanting Liu
Level 0
Springfield
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Resolved
What's wrong?
dk what's wrong to this simple task...
17.11.2020
459
views
2
comments
0
Maciej Sokołowski
Level 41
Warsaw
Question about the task
Moon Lander (Part 6/23)
Games
,
Level 0
,
Lesson 4
Resolved
landscape field initializing failed
I don't see LANDSCAPE in the ShapeMatrix class. Where can I find it? Should I create it?
17.11.2020
301
views
1
comment
0
Lgd
Level 20
London
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
my "lines" list looks good as per requirements so I just cannot see what is wrong here ? help would be v. gratefully received
my "lines" list looks good as per requirements so I just cannot see what is wrong here ? help would be v. gratefully received
06.11.2020
402
views
2
comments
0
Cristian
Level 13
Ploiesti
Question about the task
Lonely arrays interact
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
The last requirement is not verified
Hi guys! This requirement is not verified: The program must record the lengths of the strings in the number array, and then display them on the screen. Why? Thanks a lot! package com.codegym.task.task07.task0703; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arr
17.11.2020
496
views
5
comments
0
Usman Jutt
Level 4
Pir Mahal
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
What is wrong with this did not understand? plz help me
What i do/
03.11.2018
2365
views
4
comments
0
Martin Evtimov
Level 22
Chicago
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Under discussion
Help a brother out.
The error "The initList method must fill the resulting list with random values". Any hints?
04.11.2018
1863
views
5
comments
0
lukesky
Level 11
Zurich
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
No idea why it doesn't pass he last condition
No idea why it doesn't pass he last condition
16.11.2020
359
views
2
comments
0
Shadow
Level 7
Hogsmead
Question about the task
ConsoleReader class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Having a problem :(
console is showing: " class, interface , enum missing ........ ...................... line 47" Its showing the sign : " ^ " after the word * void " in line 47 help.....
15.11.2020
447
views
3
comments
0
Cristian
Level 13
Ploiesti
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Father and Mother print failing validation. Why?
Hi guys! Help me, please! Thank you in advance! Father and Mother print failing validation. Why? package com.codegym.task.task06.task0621; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Cat relations */ public class Solution { public stati
14.11.2020
328
views
2
comments
0
Gellert Varga
Level 23
Szekesfehervar
Question about the task
Task No. 1 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
If (int)(Infinity)==Integer.MAX_VALUE, then (short)(Infinity) why doesn't equal to Short.MAX_VALUE?
The result of the (1.0 / 0) division is: "Infinity". If we do the "type cast" operation on the above expression, to "byte" or to "short", then the result is -1. Why? And if we do cast it to "int" or to "long", then the result is their MAX_VALUE. OK, it has sense. But why is this difference? In o
26.06.2020
482
views
1
comment
1
Emre Erkaslan
Level 0
Istanbul
Question about the task
Space Invaders (Part 18/34)
Games
,
Level 0
,
Lesson 6
Under discussion
Help please
I am at the point where I am losing grasp of what is being accomplished with what code. However this code gives error: com/codegym/games/spaceinvaders/part18/gameobjects/Ship.java:27: error: incompatible types: int[] cannot be converted to int[][] setMatrix(viewFrames[0]);
15.11.2020
689
views
1
comment
0
Show more
1
...
106
107
108
109
110
...
366
Please enable JavaScript to continue using this application.