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
Yash
Level 15
Sugar Hill
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
I don't understand
Validation says this : The Hen class must have a getMonthlyEggCount method. The Hen class must have a getDescription method. The AsianHen class must be in a separate file. The AfricanHen class's getMonthlyEggCount method must return an int. The description of an AfricanHen should have the following
17.11.2019
1181
views
5
comments
1
Elsilaves
Level 4
Üllő
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Please help. what's up with this solution?
The program should output text. - it outputs text The program must read data from the keyboard. - it reads The displayed text must contain the entered name. - it contains the name The displayed text must contain the entered number1. -it contains the number1 The displayed text must contain the enter
25.05.2020
348
views
0
comments
0
Jack
Level 4
Yerevan
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
help
tell me whats wrong
25.05.2020
375
views
1
comment
0
Laurence
Level 10
Question about the task
Shared last names and first names
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Hi guys, quick question about duplicate keys
I thought hashmaps couldn't have duplicate keys, but isn't that what is happening here when adding pairs with the same last name? Thanks!
24.05.2020
448
views
1
comment
0
SAYAN SAMANTA
Level 10
Bangalore
Question about the task
The Three "Muscateers"
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
how to solve?
public class Solution { public static void main(String[] args) { Cat cat1 = new Cat(); Cat cat2 = new Cat(); Cat Cat3 = new Cat(); cat1.Cat("Kitty",6,12,13); cat2.Cat("Mary",7,13,14); cat3.Cat("Sany",8,14,15); } public static cla
18.08.2018
2126
views
6
comments
0
Talia Mullen-Humphreys
Level 11
Radcliffe
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
What Is Wrong with my code?
I can't figure out why the last condition is not met.
25.05.2020
452
views
1
comment
0
JeRiF94
Level 22
Baku
Question about the task
Number of letters
Java Syntax
,
Level 10
,
Lesson 11
Resolved
What's wrong?
I do not really get what problem is , that's looks like solution , but I think something wrong with my understanding exactly to conditions.
11.04.2019
1619
views
11
comments
1
Belinda
Level 4
Portland
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I passed this after trying different things, but the output for the third println statement is wrong....so not sure how I got it right?
System.out.println(min(-20, -10, -30, 40)); Minimum for this line is -30 but the output says 40?
13.05.2020
532
views
7
comments
0
HaeWon Chung
Level 17
Boston
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
Cannot close InputStreamReader
Since I didn't directly assign InputStreamReader to variable, I don't know how I can close it. I thought InputStreamReader is wrapped in BufferedReader, it would be closed when I close BufferedReader. Any help?
13.05.2020
1274
views
8
comments
0
Daniel
Level 9
Vienna
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Please look at this.
What's going on here?
25.05.2020
785
views
1
comment
0
satya vath
Level 9
Mumbai
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
A hint please
package com.codegym.task.task07.task0705; import java.io.BufferedReader; import java.io.InputStreamReader; /* One large array and two small ones */ public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader buf =
21.11.2018
2357
views
5
comments
0
Ewerton
Level 30
Belo Horizonte
Question about the task
Reading from a stream
Java Collections
,
Level 2
,
Lesson 4
Under discussion
How can this return null?
sw.append("1") was just a debugging thing
08.07.2019
1596
views
5
comments
0
Harika Yantrapragada
Level 7
Hyderabad
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Can you help me out with the logic
How to convert double into int
01.11.2018
1813
views
10
comments
0
PEgaz
Level 40
Katowice
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Good result when code is running, but failure in veryfication. Please, help.
Hi, everyone, Unfortunately I don;t get it why the task still shows me an error during confirmation. Whatever input I enter - I also seem to have correct result in output - please help. code: package com.codegym.task.task01.task0131; import java.io.*; /* More conversions */ public class Solut
26.03.2020
966
views
2
comments
0
hanumohan
Level 25
San Jose
Question about the task
Arkanoid (part 11)
Java Multithreading
,
Level 3
,
Lesson 13
Resolved
Print method failing, any know i what i did mistake
package com.codegym.task.task24.task2413; public class Canvas { private int width; private int height; private char[][] matrix; public int getWidth() { return width; } public int getHeight() { return height; } public char[][] getMatrix() {
25.05.2020
594
views
3
comments
0
Talia Mullen-Humphreys
Level 11
Radcliffe
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Why does my code not work for the following sequence: 1, 1, 1, 2, 2, 2, 1, 1, 2, 2. Expected output: 3
I can't figure it out!
24.05.2020
520
views
1
comment
0
moseka
Level 23
Nairobi
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Correct output but not verifying
Kindly, someone help me to know what is the problem with the code
25.05.2020
830
views
2
comments
0
Adnan Razzaq
Level 15
Bamberg
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
can someone identify an issue why it is not verfiying?
package com.codegym.task.task07.task0706; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Streets and houses */ public class Solution { public static void main(String[] args) throws Exception { //write your code here int[]array
27.06.2019
1448
views
6
comments
0
Jason Good
Level 22
Leeds
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Gives correct output but doesn't pass final criterion.
Please help.
24.05.2020
458
views
2
comments
0
Jonas
Level 41
Vilnius
Question about the task
Find the class by its description
Java Collections
,
Level 6
,
Lesson 10
Resolved
How to do this task? Can you explain the logic, please?
Thank you very much
25.03.2020
1246
views
6
comments
0
Lisha .
Level 0
chennai
Under discussion
will i get certificate for this
23.05.2020
519
views
1
comment
0
JianQiu Hwang
Level 35
Washington
Question about the task
CashMachine (part 8)
Java Collections
,
Level 9
,
Lesson 15
Under discussion
I Get Wrong For LowerCase with currencyCode
Why do I Get Wrong For LowerCase with currencyCode?
21.05.2020
501
views
3
comments
0
Kaushik Ashutosh Raj
Level 8
Bangalore
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
There is no way to enter input through the keyboard
..
22.08.2018
2194
views
8
comments
0
Connor
Level 8
Boston
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Isn't printing and I don't know why.
At this point I feel like it's something stupid that I'm overlooking but I've been working on this one almost since I woke up. Now I have to go to work so I'm like smacking myself because I can't figure out WHAT I'm doing wrong. Very frustrating for me right now. package com.codegym.task.task03.ta
12.04.2019
1599
views
10
comments
0
Odhran
Level 18
Sheffield
Question about the task
Time conversion
Java Syntax
,
Level 3
,
Lesson 5
Resolved
No task conditions are met - I dont get why, calls the method twice onto new lines, takes and receives the int value from the main, target result is achieved - how is it completely wrong?
package com.codegym.task.task03.task0312; /* Time conversion */ public class Solution { public static void main(String[] args) { System.out.println(convertToseconds(15)); System.out.println(convertToseconds(20));//write your code here } public static int co
24.11.2019
1382
views
4
comments
0
Henry
Level 6
Stuttgart
Question about the task
Walking in circles
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
hi
Pls i would like someone to hint me how to correct my mistake at the last constructor
24.05.2020
604
views
1
comment
0
hidden #10426237
Level 7
Question about the task
Financial expectations
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Can,t find the typo.
Can,t find the typo.
22.02.2019
1751
views
5
comments
0
Van Ha
Level 41
Bodegraven
Question about the task
Archiver (part 9)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
What's wrong with the relative path?
Hi, Getting this from the validator: When the collectFileList(Path path) method receives a regular file, the method must add its path relative to rootPath to the fileList field. As far as I can see I'm getting the relative path from the path object. I also already have tried it the other way around
11.03.2020
1031
views
3
comments
0
dhanush
Level 30
Chennai
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
help me out
every thing is fine but the last two conditions is not getting verified help me out! :(
23.05.2020
550
views
2
comments
0
dhanush
Level 30
Chennai
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Resolved
else without if
I don't know why I'm getting this error help me to find my error :(
23.05.2020
1964
views
4
comments
0
Show more
1
...
188
189
190
191
192
...
371
Please enable JavaScript to continue using this application.