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
Serg
Level 23
Tyumen
Question about the task
Zombie cats, zombie dogs
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Can it be done differently?
I did so public static void main(String[] args) { Dog dog = new Dog(); dog = null; } protected void finalize() throws Throwable{ System.out.println("A Dog was destroyed"); } Can it be done differently?
15.05.2019
1309
views
2
comments
0
Jacob Warren
Level 8
Tampa
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I am getting the right output why isn't this verifying?
I don't understand why this isn't correct I am getting the right output.
04.06.2019
1145
views
3
comments
0
Maciej Kowalik
Level 23
Sławno
Question about the task
Table
Java Core
,
Level 8
,
Lesson 8
Resolved
What is wrong?
Everything seem good according to hints.
05.06.2019
1546
views
2
comments
0
Jyoti Maurya
Level 8
Maihar
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
helppppp
Idk what I'm missing here.
05.06.2019
936
views
2
comments
0
aksha
Level 6
pune
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
invalid format .unable to convert string to integer.
int d = Integer.parseInt(s); my program is giving errors in this line. calling it invalid format. import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader r = new BufferedReader(new InputStreamRead
18.05.2019
1197
views
6
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Calling a method whithin a method.
I am missing something but stumped.. package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { //write your code here this.min(a,b); int answer1 = min(a,b); int answer2 = 0;
21.01.2019
1759
views
14
comments
1
harshshah
Level 9
Gandhinagar
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
error
not able to trace the error in fulling the neccassary conditions.
01.06.2019
1269
views
3
comments
0
JeRiF94
Level 22
Baku
Question about the task
Synchronized methods
Java Core
,
Level 7
,
Lesson 10
Under discussion
task
I can't even understand how it works , can you help me?
01.06.2019
1186
views
1
comment
0
Maciej Kowalik
Level 23
Sławno
Question about the task
UnsupportedFileName
Java Core
,
Level 8
,
Lesson 8
Resolved
What is wrong
What is wrong with this?
05.06.2019
1683
views
3
comments
0
Nithin
Level 35
Hyderabad
Question about the task
Externalizable Person
Java Core
,
Level 10
,
Lesson 7
Under discussion
what am i missing?
second condition is missing
04.06.2019
1160
views
3
comments
0
Neha Anjum
Level 6
Hyderabad
Question about the task
More conversions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
What is the issue with this code...Please help..?
package com.codegym.task.task01.task0131; /* More conversions */ import java.io.InputStreamReader; import java.io.BufferedReader; public class Solution { public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in))
14.09.2018
1946
views
3
comments
0
Vineet Yadav
Level 16
Mumbai
Question about the task
All that moves
Java Core
,
Level 3
,
Lesson 2
Under discussion
How to return double in CanFly speed(CanFly fly)?
public class Solution { public static void main(String[] args) { } interface CanMove{ Double spd = 1.1; default Double speed() { return spd; } } interface CanFly extends CanMove { default CanFly speed(CanFly fly){
04.06.2019
1278
views
5
comments
0
Amine
Level 5
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
guys , for who found problem verifing this task!
hey, you just need to verifiy the name of classe if it is similare to the declared in main methods or not and probably the majus thing verifiy the name of classes and the object
20.03.2019
1443
views
4
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Identical words in a list
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Now what should be done ?
Just can't get why it didn't pass ?
03.06.2019
1396
views
2
comments
0
Aastha Khanna
Level 5
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
There seems to be an error in line 14.
There seems to be an error in line 14.
28.05.2019
1751
views
8
comments
0
Muhammad Faizan Janjua
Level 6
Lahore
Question about the task
The Three "Muscateers"
Java Syntax
,
Level 5
,
Lesson 5
Resolved
howw
public class Solution { public static void main(String[] args) { //write your code here } public static class Cat { Cat cat1=new Cat("ada",21,33,11); Cat cat2=new Cat("sda",21,2,44); Cat cat3=new Cat("sqq",2,3,4);
01.10.2018
2116
views
5
comments
1
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Under discussion
Can't verify nothing
Help me find what I can't see. After failing I saw other people's code and found them to be quite similar to mine and still mine doesn't pass a single requirement
02.06.2019
1255
views
1
comment
0
Seggzzy
Level 5
Lagos
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Square of a number
What does it mean to call a method with an argument
03.05.2019
1559
views
10
comments
0
Anurag R Mishra
Level 16
Rasipuram
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
The program ran too long and was closed!
Can you optimize this code? I am trying to run it but it shows code took too long to run. Working fine in local machine.
29.05.2019
1256
views
3
comments
0
Omer Yavor
Level 14
Tel Aviv
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
I'm not really sure why my code doesn't work...
I tried multiple ways but still can't figure it out. I'm trying not to use any arrays because i haven't gotten into those yet. Would appreciate some help!
07.05.2019
1635
views
13
comments
1
JeRiF94
Level 22
Baku
Question about the task
Singleton
Java Core
,
Level 4
,
Lesson 8
Resolved
Singelton
Once read a book about patterns , I faced with this one , the implementation of this pattern was the same as in this code , but something is gonna wrong with it, I require to help me correct this.
29.04.2019
1519
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Determine the network address
Java Multithreading
,
Level 1
,
Lesson 2
Under discussion
Please Help
package com.codegym.task.task21.task2101; /* Determine the network address */ public class Solution { public static void main(String[] args) { byte[] ip = new byte[]{(byte) 192, (byte) 168, 1, 2}; byte[] mask = new byte[]{(byte) 255, (byte) 255, (byte) 254, 0}; byte[]
23.04.2019
1159
views
2
comments
0
arun et
Level 11
Chennai
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
works fine, output is as expected. but still 1 condition not satisfied; pls help
03.06.2019
1001
views
2
comments
0
Klin Sándor
Level 10
Toeroekbalint
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
It's works perfectly, and it's always gives back the maximum, so where is the issue?
And do you know what can you do, when you are in the same shoes as i, so you tried your program in many ways, and it's work, it's gives perfectly your waited result, but the task isn't satisfied in some way. It would be better if the task works like this: The program should display the maximum of t
02.06.2019
1179
views
2
comments
0
Fa Yu
Level 16
Tashkent
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
It works perfect as per conditions, but won't verify. Help me please to find out the issue.
03.06.2019
1194
views
4
comments
0
Ravien Sewpal
Level 9
Paramaribo
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What's wrong? It keeps displaying 8 and 7...
package com.codegym.task.task04.task0409; /* Closest to 10 */ public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b) { // write your code
02.06.2019
1000
views
3
comments
0
Pioniio
Level 22
Schaffhausen
Question about the task
Creating threads recursively
Java Core
,
Level 6
,
Lesson 13
Resolved
main thread displays
hi, in the output there is also the main thread displayed, i can't get rid of it. could somebody help please, thanks
03.06.2019
1771
views
4
comments
0
Ravien Sewpal
Level 9
Paramaribo
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Please help :(
package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
02.06.2019
1530
views
2
comments
0
satish
Level 15
kadapa
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
how to stop adding map when reading strings are empty
whats the problem
03.06.2019
1231
views
1
comment
0
Márk Pernesz
Level 2
Szeged
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What is wrong with my code? :/
Hi guys, please check my code and help me cus I'm totally helpless. The result is correct, everything seems like OK but the Mentor still gives this mesage: "When converting degrees, use the factor 9/5. To get the correct result, use doubles (not ints) to calculate this fraction. The conversion can
03.06.2019
1101
views
1
comment
0
Show more
1
...
308
309
310
311
312
...
366
Please enable JavaScript to continue using this application.