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
Lite
Level 1
Porto
Question about the task
My young friend
Java Syntax
,
Level 0
,
Lesson 4
Resolved
Failing tests
Code is correct but it fails passing tests.
20.10.2018
1384
views
5
comments
0
suresh rai
Level 3
Question about the task
Kind words for the teacher
Java Syntax
,
Level 0
,
Lesson 4
Under discussion
what is wrong with this program ??
public class Solution { public static void main(String[]args) { System.out.println("Ellie is the most beautiful"); System.out.println("Ellie is the most beautiful"); System.out.println("Ellie is the most beautiful"); System.out.println("Ellie is the most beautifu
04.01.2019
1441
views
2
comments
0
Ferdz
Level 2
Makati
Resolved
Whats wrong with this code?
public class Solution { public static void main(String[] args) { String apple = "Apple"; /* String porridge = "Porridge"; String sausage = "Sausage"; */ String peach = "Peach"; System.out.printIn(apple); System.out.printIn(peach); //write your code here
01.01.2019
1188
views
3
comments
0
tony
Level 20
Nis
Question about the task
Walking in circles
Java Syntax
,
Level 5
,
Lesson 9
Resolved
what's wrong here
what's wrong here?
03.01.2019
1571
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
what is wrong in my code?
help
03.01.2019
1316
views
1
comment
0
hidden #10412202
Level 8
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Program works correct, test failed
Hello, why is my code wrong according to the test? When I run it works correctly. Thank you. package com.codegym.task.task07.task0721; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Min and max in arrays */ public class Solution { public s
03.01.2019
2081
views
3
comments
0
Vignesh Vickey
Level 2
Coimbatore
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Person
14.12.2018
1356
views
3
comments
0
Sokhib
Level 7
Makati
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
what am i doing wrong can anyone answer plz?
what i did wrong?
01.01.2019
1629
views
3
comments
0
Zbigniew
Level 23
Dabrowa Tarnowska
Question about the task
Cat and statics
Java Syntax
,
Level 6
,
Lesson 11
Resolved
What is the problem here?
Why i don't have access to variable catCount in the main method? I've tried creating the getter method for it but it didn't work. package com.codegym.task.task06.task0613; /* Cat and statics */ public class Solution { public static void main(String[] args) { for (int i = 0; i < 1
02.01.2019
1673
views
2
comments
0
Swati
Level 8
Pune
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Resolved
Help to find out error
When i Run program,it is displaying 10 lines of 8's each vertically and horizontally.Still giving me error as "The program should display a vertical line of 10 eights. " Please help.
13.11.2018
1913
views
11
comments
0
Swati
Level 8
Pune
Question about the task
Drawing lines
Java Syntax
,
Level 4
,
Lesson 13
Resolved
Same error
I tried to display in different way still giving same error.
14.11.2018
1792
views
4
comments
0
Ayu
Level 8
Mumbai
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Resolved
please help me...
I can't understand how can I display the string comes earlier in the shortest or longest list. I tried but my program is not displaying correct output if there is more than one shortest or longest string
31.12.2018
1496
views
2
comments
0
Syed Tayyab ul Mazhar
Level 12
Karachi
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
The task failed to pass testing.
My solution is correct, on running it displays the correct answer but, it doesn't pass the verification test. THIS IS A BUG!
30.12.2018
1394
views
2
comments
0
Raffael
Level 10
Stuttgart
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Can´t find my mistake :/ pls help me
what do i wrong ?
30.12.2018
1503
views
3
comments
0
hacks patel
Level 20
Ahmedabad
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
help..
i don't what is wrong with it
29.12.2018
1783
views
3
comments
0
Aswini
Level 5
Irving
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
confused about doing this task
what is wrong here? Double TC; TC=(celsius-32) * 5/9; return TF; what does return actually do and what are we returning from this method?>
10.12.2018
1357
views
5
comments
0
Mitchell Lori
Level 2
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
need help
I am having trouble with System.out.println(); I have tried several attempts and i have even reviewed a couple of the resolve comments Nothing has changed the results of the verifying status Can someone please help me and explain where I am going wrong? I have spaced before and after variable (b)..
06.12.2018
1311
views
2
comments
0
Mitchell Lori
Level 2
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
STILL HAVING PROBLEM :(
I am having trouble with System.out.println(); I have tried several attempts and i have even reviewed a couple of the resolve comments Nothing has changed the results of the verifying status Can someone please help me and explain where I am going wrong? I have spaced before and after variable (b)..
06.12.2018
1776
views
3
comments
0
Raisa Toscano
Level 22
Tepic
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Whats wrong? i could run it on neat beans?
public static void main(String[] args) { System.out.print("the square of 5 "+ sqr(5)); //write your code here }
09.12.2018
1571
views
4
comments
0
Will Rosenberg
Level 9
Glendale
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Why did iterator not work but for-each did?
I have already completed the task, but I was wondering why when I used iterator it did not iterate over the map and only checked if the first value in the map was repeated, while the for-each checked all values of the map to see if they were repeated and was able to complete the task. Since I comple
27.12.2018
1776
views
3
comments
0
Santhosh Balaguru
Level 7
Chennai
Question about the task
KissMyShinyMetalRearActuator
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Got output correctly but stilling getting error
getting error
28.12.2018
2082
views
7
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
need help
What is wrong in my code?
28.12.2018
1312
views
1
comment
0
Sabine Meijran-Prins
Level 7
Enschede
Question about the task
Cats in the Universe
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
Why are objects made in this task?
I am busy solving the task cats in the Universe. But what I do not understand is that objects were made. What I have learned so far is that there are no object needed for a static variable. So I am wondering why they are made?
19.12.2018
1294
views
2
comments
1
Akhilesh
Level 14
Mumbai
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
What's wrong in this code?
public class Cat { public int age; public int weight; public int strength; public int point=0; public Cat() { } public boolean fight(Cat anotherCat) { //write your code here if(this.age>=anotherCat.age) point++; els
28.10.2018
1945
views
5
comments
0
Alan Heffernan
Level 17
Anwoth
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Can anyone see what's wrong with my code?
Can any help modify my code to make this work? I think my logic in my while loop is correct but think the problem might be my variables outside of the loop? Thanks in advance!
26.12.2018
1727
views
3
comments
0
Po
Level 17
Taipei
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Need some help
I don't know how to set my condition in line 25, because it shows "java.lang.IndexOutOfBoundsException " Can anyone give me some advice? Thanks a lot~
04.11.2018
1650
views
10
comments
0
Sourav Gunner
Level 19
Birtamode
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
what is the problem here
package com.codegym.task.task04.task0401; /* This age doesn't work for me… */ public class Solution { public static void main(String[] args) { Person person = new Person(); System.out.println("Age is: " + person.age); person.adjustAge(person.age); System.out.
24.08.2018
1881
views
5
comments
0
rsingh04
Level 6
Mumbai
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
need help?
please help someone please. how to check the condition? how many input we need to sum up?????
27.12.2018
1132
views
3
comments
0
Eduardo
Level 23
Coyoacan
Question about the task
Animal identification
Java Core
,
Level 2
,
Lesson 2
Resolved
Correct output, but won't verify
Hello. I'm getting the correct output (I also tried adding another else if that checked if it was a Pig and then printed "Pig" and then also one that same case printed "Unknown animal" to no avail). Any hints? Thanks
27.12.2018
1886
views
2
comments
0
ann
Level 4
Dusseldorf
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Can anyone please explain why this is not working?
package com.codegym.task.task01.task0132; /* Sum of the digits of a three-digit number */ public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { //write your cod
06.12.2018
2026
views
3
comments
0
Show more
1
...
350
351
352
353
354
...
371
Please enable JavaScript to continue using this application.