Promotion
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
Angel Stefan
Level 23
Sibiu
Question about the task
OOP: Fix inheritance problems
Java Core
,
Level 5
,
Lesson 2
Resolved
I can' t pass the last condition
I need a hint, tk you! What is that i don't see?
03.01.2022
434
views
3
comments
0
Szymon Pawlikowski
Level 19
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
How is it possible that we can create instance of static class?!
Hello, I have done task, but I don't understand how is it possible that we create instance of static class. I thought that static class doesn't allow to create its' instance. Could someone explain it to me?
29.12.2021
394
views
4
comments
0
public enum WaysToDie
Level 23
Denver
Question about the task
Correct order
Java Syntax
,
Level 7
,
Lesson 2
Resolved
What am I missing.
I have completed the requirements, but it still fails. I don't know what I have missed. I would return the new array if the assignment would let me do such a thing but I have to change the original array and that is what I believe I have done. I believe it may be the commas after the last element w
18.12.2021
512
views
4
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Default values
Java Core
,
Level 5
,
Lesson 9
Under discussion
I dont unstand why..
I dont understand why I'm required to create a new solution object. The lesson does not really explain this very well, in my opinion. Can someone please explain this to me?
17.04.2020
945
views
2
comments
0
LucGar
Level 22
Bilbao
Question about the task
OOP: Method overloading - Eliminating the superfluous
Java Core
,
Level 5
,
Lesson 4
Resolved
cuestion
Why the method with byte, not work?
06.04.2020
681
views
3
comments
0
public enum WaysToDie
Level 23
Denver
Question about the task
Let's talk music
Java Core
,
Level 6
,
Lesson 3
Under discussion
Need advice
So I tried using Date.compareTo * 1000 to get the milliseconds. This, my current implementation, also works but continues to fail the test.
31.12.2021
358
views
1
comment
0
Gellert Varga
Level 23
Szekesfehervar
Resolved
What kind of strange class structure is this?
public class MyClass { public static void main(String[] args) { MyClass myC = new MyClass(); innerClass inC = myC.new innerClass("inner"); // innerClass inC2 = new innerClass("in"); = ERROR // innerClass inC3 = MyClass.new innerClass("inner"); = ERROR
23.12.2021
469
views
13
comments
0
public enum WaysToDie
Level 23
Denver
Question about the task
Factorial
Java Core
,
Level 5
,
Lesson 12
Under discussion
I checked the output and everything.
My solution seems to return and print the correct number regardless of test case, yet it still fails testing.
31.12.2021
460
views
3
comments
0
Lawson
Level 29
Lagos
Question about the task
Controlling body weight
Java Syntax
,
Level 6
,
Lesson 8
Resolved
pls help
I'm short of ideas concerning the 3rd and fourth requirements
02.08.2020
703
views
4
comments
0
Gellert Varga
Level 23
Szekesfehervar
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Resolved
Does the Math.pow(x, y) method give an inaccurate result? - and the BigInteger class
public class ArmstsrongNumberExample { public static long sum = 0; //method to check if the number is Armstrong or not static boolean isArmstrong(long n) { long temp, digits=0, last=0; temp = n; /
26.12.2021
627
views
9
comments
0
Jo88
Level 4
Boston
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Over thinking ever single exercise
Will the exercises become second nature after more practice? will this website give me an opportunity for more practice? it seems I need help on every problem...only to find out these should be taking 2 minutes with simple short solutions.. I often find myself seeing the solutions to my problems an
03.06.2020
688
views
6
comments
2
Asia
Level 16
Bydgoszcz
Question about the task
Task No. 6 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
Float f
Wait what? float f = (short) 0.50 f; The result is 0.0 So..... float 0.50 gets casted to short so we cut the fractional part and get 0, and then cast it again to float and get 0.0?? that is crazy
01.06.2021
547
views
2
comments
2
Jason
Level 26
Rancho Cucamonga
Question about the task
New functionality!
Java Multithreading
,
Level 5
,
Lesson 2
Under discussion
it works but not passing last condition
so not sure what I need to do to pass the last condition was hoping someone had some insight on the subject. Thanks in advance : )
16.03.2020
793
views
2
comments
0
Stephen Haokip
Level 13
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
line 57 of the correct solution
how did they find out if the passed string is a number or not from the length. or is there a way to determine whether a string is a number from the length of the string. i m totally confused.
30.12.2021
549
views
1
comment
0
Anonymous #10882853
Level 8
France
New
is 0 the best number :)
hello world !🤣
29.12.2021
253
views
0
comments
0
crispr_cast9
Level 9
Saint Petersburg
Question about the task
Ascending numbers
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Why conditions 2 and 3 are not met?
2 condition: The program should display 5 numbers, each on a new line. 3 condition: The output must contain the same numbers that were entered (order is not important).
26.12.2021
465
views
9
comments
0
Andre M.
Level 4
Glenn Dale
Question about the task
Positive number
Java Syntax
,
Level 3
,
Lesson 10
Under discussion
How to count the number of true results?
The task calls for a number of positive numbers to be returned. I created strings within if statements to answer the problem. It has not worked. Is there a way in Java to count only the number of "true" values? Am I overthinking this task?
29.12.2021
844
views
2
comments
0
Dmitri
Level 22
Seversk
Question about the task
Task No. 3 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Under discussion
Does anybody knows why?
Actually the print out is 0 here, but why!?
15.11.2020
378
views
6
comments
2
shovan
Level 22
Kolkata
Question about the task
Task No. 3 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Resolved
i cant understand what should i do?
package com.codegym.task.task10.task1003; /* Task No. 3 about integer type conversions */ public class Solution { public static void main(String[] args) { int f = (int) 128.50; int i = (int) f; int b = (int) (i + f); System.out.println((float)b); } }
23.05.2019
2047
views
3
comments
0
Gellert Varga
Level 23
Szekesfehervar
Resolved
Merry Christmas to all learners and all voluntary helpers!:)
no question here and no code:)
24.12.2021
253
views
0
comments
0
public enum WaysToDie
Level 23
Denver
Question about the task
Singleton
Java Core
,
Level 4
,
Lesson 8
Under discussion
Where did I go wrong?
I do not know what I did wrong here. Seems simple enough.
27.12.2021
344
views
4
comments
0
Alexandre Desbois
Level 10
Chamarandes-Choignes
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Why the numbers superior to 10 are displayed in my code?
Hello, I don't understand why my method is not working well. public static HashSet removeAllNumbersGreaterThan10(HashSet set) { HashSet set2 = new HashSet<>(); for(Integer element : set){ if(element <= 10){ set2.add(element); }
26.12.2021
425
views
3
comments
0
Alexandre Desbois
Level 10
Chamarandes-Choignes
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Resolved
My program compile but no output
I don't understand why there is no output with my program. Can you help me?
26.12.2021
413
views
5
comments
0
public enum WaysToDie
Level 23
Denver
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
Exception problem
I don't know what I am doing wrong, it seems like if the numbers end up being negative that the program will throw the exception. But I am still failing the tests.
27.12.2021
273
views
1
comment
0
HeavenlyDestroyer
Level 41
Yekaterinburg
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
Any hints?
I don't really understand why it is not verifying anything. It is compiling all right, and the output seems correct.
06.12.2021
355
views
4
comments
0
Yiheng Niu
Level 26
Beijing
Question about the task
Refactoring Rectangle
Java Multithreading
,
Level 4
,
Lesson 4
Resolved
Get right output, but cannot pass the 5th and 6th condition. Need help please.
The 5th and 6th condition got me so confused. Can you help me with this please? Any help will be appreciated!
05.04.2020
892
views
4
comments
1
HeavenlyDestroyer
Level 41
Yekaterinburg
Question about the task
Inverted words
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
Can I have some guidance?
My code seems to work but the last condition is not verifying. Thx in advance!
24.12.2021
371
views
0
comments
0
Liliane Top
Level 24
Amsterdam
Question about the task
Find the bugs
Java Core
,
Level 10
,
Lesson 10
Resolved
Confused the validation confuses me.
My understanding is as follows: 1) If you implement the interface Serializable then there are a couple of things required: a) Override the readObject(ObjectInputStream in) method is this true? I previous tasks this was not the case b) Override the writeObject(ObjectOutputStream out) method is this t
17.01.2021
560
views
4
comments
1
Onar D.
Level 7
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
why task condition not pass maximum from N numbers?
code is working. where in mistake? or what i missed?
05.10.2021
507
views
1
comment
0
BigMan99
Level 15
Jacksonville
Question about the task
Correct class
Java Syntax
,
Level 11
,
Lesson 5
Under discussion
What am I doing wrong? The solutions works fine.
Anyone know what I am doing wrong> The code works fine in eclipse.
24.12.2021
340
views
1
comment
0
Show more
1
...
44
45
46
47
48
...
366
Please enable JavaScript to continue using this application.