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
Cristian
Level 13
Ploiesti
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
What is wrong here? Thank you so much!
package com.codegym.task.task08.task0824; import java.util.ArrayList; /* Make a family */ public class Solution { public static void main(String[] args) { Human grandf1 = new Human(true, 78, "Gheorghe", new ArrayList()); Human grandf2 = new Human(true, 66, "Marin", new ArrayL
22.12.2020
559
views
4
comments
1
Ramen
Level 23
South Lake Tahoe
Question about the task
What's in the folder?
Java Collections
,
Level 1
,
Lesson 4
Under discussion
Files.walk(path)
How do I solve this problem using Files.walk(path) instead of Files.walkFileTree()? Why isn't this working?
14.09.2023
123
views
1
comment
1
catalin1989
Level 37
Question about the task
Longest sequence
Java Syntax
,
Level 14
,
Lesson 5
Under discussion
Why I can't use "==" operator with ArrayList with list elements larger that 127 and have to use Object.equals(list.get(j), list.get(j+1))?
Create a list of numbers. Use the keyboard to add 10 numbers to the list. Display the length of the longest sequence of repeating numbers in the list. This are the required conditions. This is my code. It works, but I don't understand something. In the while loop, first I tried to compare directly t
21.09.2023
93
views
2
comments
0
Henrique
Level 41
São Paulo
Question about the task
Refactoring (part 8)
Java Multithreading
,
Level 5
,
Lesson 16
Resolved
just give me the code, pls
a
05.08.2020
332
views
3
comments
0
jude nelson
Level 47
United Kingdom
Question about the task
Remove duplicate strings
Java Syntax
,
Level 5
,
Lesson 3
Under discussion
why is this wrong ?task05.task0508;
package en.codegym.task.pro.task05.task0508; import java.util.Scanner; /* Remove duplicate strings */ public class Solution { public static String[] strings; public static void main(String[] args) { //write your code here Scanner console= new Scanner(System.in);
22.09.2023
117
views
1
comment
0
Yug
Level 16
Dehra Dun
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
getDescription() eroor
I spent 10 min in writing the code and then after 90 minutes or so to just remove this getDescription() error but its not going. Please help.
29.08.2020
637
views
3
comments
1
Manish Sinha
Level 26
london
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
Shows no output
Hi team, I have really tried to find the concern in this task. I have already dedicated 210 mins for this task. Still not able to find the concerns with task. could you please help your expertise to know the issue in the code. issue: Below methods call do not show any output. so weird to me, I am
05.04.2020
1115
views
5
comments
2
Aakash potepalli
Level 22
Bangalore
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
please help me with this error
i am not able to pass this task Stuck at getDescription Method someone please help me
04.05.2019
1298
views
5
comments
1
Wojtek
Level 23
Solec-Zdroj
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
What is wrong in my code?
Output is: com.codegym.task.task14.task1408.AfricanHen@1540e19d
14.02.2019
1581
views
5
comments
1
Mareike
Level 4
Question about the task
Eat, fly, and move
Java Core
,
Level 2
,
Lesson 9
Under discussion
Help! What am I doing wrong here?
Hey guys, I don't know what I'm doing wrong here. Am I missing something?
11.06.2019
1390
views
2
comments
3
tony
Level 20
Nis
Question about the task
Catching unchecked exceptions
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
hlp pls
Could someone tell me what is wrong here
12.01.2019
1722
views
8
comments
1
David Haines
Level 13
La Crosse
Question about the task
Catching a group of exceptions
Java Syntax
,
Level 9
,
Lesson 8
Resolved
please explain, please help
I thought I executed previous suggestions correctly but apparently I did not understand. Could somebody please explain to me what is wrong? Where I went wrong? How to fix it?
27.09.2020
574
views
5
comments
1
SAYAN SAMANTA
Level 10
Bangalore
Question about the task
Returning a stack trace
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
see there no problem
see what is he problem
30.08.2018
2078
views
5
comments
2
Azhar Iqbal
Level 18
Multan
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Where the problem is ..
i try my best to understand but ...... :(
07.09.2018
3489
views
11
comments
1
PRIYA MISHRA
Level 9
Bhopal
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
what is problem??
public class Solution { public static void main(String[] args) throws Exception { method1(); } public static String method1() { method2(); //write your code here //System.out.println(Thread.currentThread().getStackTrace()[0].getMethodName()); ret
06.12.2018
2028
views
3
comments
1
Denis
Level 22
Kharkiv
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
GIVE ME THE SOLUTION PLS
HELP PLS SOLUTION((
20.06.2019
1405
views
1
comment
1
Pranit Gade
Level 9
Mumbai
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
HELP!!
Can someone tell me what is wrong..
26.07.2020
537
views
1
comment
1
Ash Ka
Level 13
Calgary
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Resolved
A task is failing and I cannot figure out. Output in the description. Pls help!
My output : a I A S m m .
12.09.2019
1012
views
3
comments
1
Jeanne Vo
Level 22
Olympia
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
"Just" a little tiny bug!
Could you please help me to spot it out? The result was something like this: a I A S m m .
13.07.2020
526
views
1
comment
1
Mariam
Level 9
Columbus
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Resolved
It Works but Compiler Does Not Excepts. Please Help
It Works but Compiler Does Not Excepts. Please Help
11.09.2020
590
views
3
comments
6
An Gelo
Level 18
Cebu
Question about the task
Feng Shui and statics
Java Syntax
,
Level 6
,
Lesson 11
Resolved
static variables
Can someone help me what do you mean by move. i tried to add make int A a static variable so it can be passed but if i erased the static in int C i wont cause im using static A & B please help me undestand thanks..
16.08.2018
1664
views
5
comments
1
Santosh Kumar
Level 19
Gagret
Question about the task
OOP: Method overloading
Java Core
,
Level 5
,
Lesson 4
Resolved
printMatrix method giving Error
Not verifing the first requirement.
08.03.2019
2079
views
4
comments
5
Cristian
Level 16
Bucharest
Question about the task
OOP: Method overloading
Java Core
,
Level 5
,
Lesson 4
Under discussion
What's wrong here? Thank you very much!
package com.codegym.task.task15.task1507; import javax.lang.model.type.NullType; /* OOP: Method overloading */ public class Solution { public static void main(String[] args) { printMatrix(2, 3, "8"); printMatrix(2, 3, 5L); printMatrix(2, 3, 6d); printMatrix(2,
26.05.2021
361
views
1
comment
1
Jyothi
Level 20
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Resolved
task08.task0802 - HashMap of 10 pairs
task08.task0802 - HashMap of 10 pairs Initialization failing verify. why?
11.12.2018
1642
views
3
comments
2
catalin1989
Level 37
Question about the task
Shuffled just in time
Java Syntax
,
Level 13
,
Lesson 7
Under discussion
Works fine in IntelliJ but doesn't pass the test. Can someone give me a hint why?
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayListlist=new ArrayList(); System.out.println("Enter the length of the list: "); String s= reader.
19.09.2023
96
views
2
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Under discussion
I do not understand the task conditions
I do not understand the task conditions
17.09.2023
94
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Equals and HashCode
Java Multithreading
,
Level 1
,
Lesson 5
Resolved
Where is the Error
Please Help
23.04.2019
1373
views
2
comments
1
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Correct answer: d = 1.0
Java Syntax
,
Level 10
,
Lesson 11
Resolved
where am i wrong??
my o/p is correct not completed the task!!
25.09.2018
1753
views
4
comments
1
Dipankar Sinha
Level 22
United States of America
Under discussion
it is asking the ; after while
package en.codegym.task.pro.task04.task0406; import java.util.Scanner; /* We show what we get */ public class Solution { public static void main(String[] args) { //write your code here Scanner sc = new Scanner (System.in); while (sc.hasNextLine()) {
17.09.2023
93
views
2
comments
0
matemate123
Level 50
Kraków
Question about the task
2048 (part 5)
Java Multithreading
,
Level 10
,
Lesson 15
Under discussion
Question from category: is any difference?
I don't pass last condition like I thought. I suposed that primitives instance variable are initialize to default value (0, false) when object class is created, and because that I don't initialize it in constructor. Is there any difference between initializing them in the constructor or not, or is
11.08.2023
132
views
3
comments
0
Show more
1
...
10
11
12
13
14
...
367
Please enable JavaScript to continue using this application.