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
Mark Harold Atabelo
Level 3
Tagbilaran
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
WTF is wrong with this program cant enter name.
package com.codegym.task.task03.task0318; /* Plan to conquer the world */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String
22.08.2018
1481
views
5
comments
0
Abhishek
Level 3
Pune
Question about the task
Sam I Am
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
What Combination is left?
package com.codegym.task.task03.task0313; /* Sam I Am */ public class Solution { public static void main(String[] args) { //write your code here String s="Say"; String t="I"; String u="Am"; System.out.println(s+t+u); System.out.printl
08.10.2018
1728
views
4
comments
0
Ed Maphis
Level 20
Painesville
Question about the task
Stopwatch
Java Core
,
Level 6
,
Lesson 7
Resolved
So why is this code failing?
Uhhm. Ok. So why is this code failing?
11.06.2019
1308
views
3
comments
0
Durmus Gulbahar
Level 22
Antalya
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Everything is okay but display
i can't understand what happened but i did part of sort , then i can't display why did it wrong ??
12.06.2019
1251
views
4
comments
0
Berkson
Level 17
Fortaleza
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Only gives the error: The displayed text does not correspond to the task conditions.
Gives the error: The displayed text does not correspond to the task conditions. But if you try, the answer is correct! Can someone help me? package com.codegym.task.task03.task0319; /* Predictions */ import java.io.BufferedReader; import java.io.InputStreamReader; public class Solution { p
02.05.2019
1317
views
6
comments
0
Serg
Level 23
Tyumen
Question about the task
HashMap of Objects
Java Syntax
,
Level 8
,
Lesson 3
Resolved
What is the problem?
Displays on the screen correctly. But does not pass the test What is the problem? package com.codegym.task.task08.task0806; import java.util.HashMap; import java.util.Map; /* HashMap of Objects */ public class Solution { public static void main(String[] args) throws Exception { H
12.06.2019
1392
views
6
comments
0
ddi
Level 18
Dortmund
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Help Needed :)
I have tried a else{ four.add(a);} in line 38 but i am not achieving the goal.. What am i missing?
12.06.2019
1084
views
1
comment
0
smile
Level 7
Tainan
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
What's wrong with my code?
I run my code, and it seems nothing wrong, but I still failed. It says, "Be sure that you have displayed the correct number of rows." Why?
12.06.2019
1380
views
2
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Rip my sanity
I don't understand why not work. If I don't put "else { return null; }" at the end I get missing return statement error.
27.05.2019
1325
views
3
comments
1
Nikitha J
Level 3
Chikmagalur
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
how to solve print method
how to solve it
12.06.2019
1060
views
1
comment
0
Andrei Stratu
Level 18
Iasi
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Desired output but not correct answer
Hello, I implemented the method and got the correct output but i still cant pass the task. Can anyone help me please?
06.03.2019
1247
views
2
comments
0
Jeff Jeffy
Level 15
Irvine
Question about the task
Calculate the circumference of a circle
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Help! It says I'm not displaying the circumfrence, but I feel as if I am. Can soemone explain?
I'm not displaying the circumfrence, but I feel as if I am. Can soemone explain?
25.12.2018
1808
views
5
comments
0
D13angos
Level 3
Bydgoszcz
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
It's correct but I used function that is forbidden
I used function system.out.println and checking code and programm marked is correct. This function system.out.print is forbidden. What will be function instead of system.out.print?
07.06.2019
879
views
1
comment
1
yara
Level 8
St.gallen
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Can't find my mistake.
Heeyy Does anyone find the mistake in my code? Thankkk youuuuuuu.
11.06.2019
1479
views
2
comments
0
Nayan Lochan Huzuri
Level 5
Guwahati
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Whats wrong in here?
The output is coming fine but the last condition fails!
10.06.2019
1100
views
1
comment
0
Ankita Patra
Level 5
Bhubaneshwar
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Resolved
What's wrong in this code!!
08.06.2019
1069
views
1
comment
0
Bashimgeldi Kurbanov
Level 3
Cyberjaya
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Easy way just use for loop
public class Solution { public static void print3(String s) { for (int x = 0; x < 3; x++){ System.out.print (s +" "); } }
14.04.2019
1247
views
4
comments
0
ARYAN
Level 4
Pune
Question about the task
Print three times
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
can someone tell me whats wrong in it?
plz tell my error
13.12.2018
2339
views
10
comments
0
Robert P
Level 20
Nashville
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Just a little confused...
Alright, I'm confused. This produces the required results, but I can't seem to get it validated. It does sort numbers descending, via an exchange type logic, so they just move around without disturbing the order of the words. Line 45 and 46: These lines reference the String numbers from array, c
17.11.2018
1930
views
5
comments
0
Texas Pete
Level 7
Bucharest
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
The displayed text must match the task conditions.
I can't see where the problem is with this, it compiles and seems to output correctly, still fails verify with "The displayed text must match the task conditions." Can someone please help me with this to get it to verify.
15.04.2019
1240
views
4
comments
0
Kristian
Level 12
Zagreb
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
It should work i guess
I understand i did not need to write an else if only else but I wanted to try it anyway
10.06.2019
1196
views
2
comments
0
Guadalupe Gagnon
Level 37
Tampa
Question about the task
Chat (part 14)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
Is this broken
Have no idea what is going on.
15.04.2019
1519
views
28
comments
0
Loki
Level 9
Mumbai
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
what is wrong in this?
package com.codegym.task.task02.task0216; /* Minimum of three numbers */ public class Solution { public static int min(int a, int b, int c) { if(a<=b && a<=c) return a; else if(b<=a && a<=c) return b; else return c; }
07.06.2019
1345
views
3
comments
0
Earil
Level 25
Paris
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Bug report - Task 0724
Hello, The valadity test for this task has a bug. Complete code is not allowed, so here are the key points : Here are the constructors I used (second constructor calls the first one with null argument for father and mother). public Human(String name, boolean sex, int age, Human fathe
07.06.2019
1436
views
3
comments
0
ann
Level 4
Dusseldorf
Question about the task
Setting the number of cats
Java Syntax
,
Level 4
,
Lesson 2
Resolved
I don't understand the problem
21.12.2018
2005
views
3
comments
0
Andrew
Level 29
Seattle
Question about the task
Distributing items into baskets with their own lock
Java Multithreading
,
Level 6
,
Lesson 8
Resolved
Not sure what formula to use for synchronized lock.
...depending on the object hash/element and the number of lock objects? I need more hints. Also tried ternary with lock[hash or i] but didn't know what the else would be if hash or i was larger than lock.length.
13.05.2019
1453
views
6
comments
0
Joyonta Saha
Level 31
Question about the task
Singleton
Java Core
,
Level 4
,
Lesson 8
Resolved
3rd and 4th condition is not verifying
Need help!
25.09.2018
2070
views
3
comments
0
Arun Karthikeyan
Level 3
Bangalore
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
While Loop why now?
Why is the Loops example when loops have not been covered yet?
03.03.2019
1481
views
5
comments
0
Djole
Level 41
Belgrade
Question about the task
Aggregator (part 3)
Java Collections
,
Level 8
,
Lesson 15
Resolved
"You haven't created a getter and setter for the websiteName field."
public class JobPosting { ... public String getWebsiteName() { return websiteName; } public void setWebsiteName(String websiteName) { this.websiteName = websiteName; } ... }
07.06.2019
1102
views
4
comments
0
Peerawas
Level 18
Question about the task
Five winners
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Need some help
It said "Be sure that the sort() method is able to sort arrays of different lengths."
23.12.2018
1741
views
6
comments
0
Show more
1
...
305
306
307
308
309
...
366
Please enable JavaScript to continue using this application.