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
Nitin raj
Level 12
Mumbai
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
I am confused
Why task Codition is not met
18.07.2019
1141
views
3
comments
0
Divakar Reddy
Level 15
Nandyal
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
can anyone explain me whats wrong with the code
what mistake am i done
07.07.2019
1183
views
5
comments
1
Riya
Level 8
Karnal
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
the program running properly and showing desired output
the 3rd requirement is also done. Still not verifying.
16.10.2018
2179
views
4
comments
1
hidden #10480161
Level 8
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Is this an error?
I can't find the problem here, when I Verify, it says "Be sure that the program works correctly with negative numbers." and it does.
03.07.2019
1226
views
3
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Please help
I'm receiving the correct answer, but verification unsuccessful.
04.12.2018
2275
views
9
comments
2
Voris
Level 10
Tashkent
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
I can't find my mistake. Error : reached end of file while parsing
public class Solution { public static void main(String[] args) throws Exception { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); int[] house = new int[15]; int even = 0; int odd = 0; for(int i = 0; i < 15; i++)
23.06.2019
1761
views
2
comments
2
Dona
Level 7
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
not working
please someone help me to solve this code.
11.07.2019
1087
views
1
comment
1
Mike McKenna
Level 25
Wilmington
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
i can not get by last condition . please help
#'s i used are 5,5,2,8 Thanks
22.07.2019
1268
views
3
comments
0
Anonymous #10438472
Level 40
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Which test scenario am I missing?
Could you please help me to find which scenario I am missing here? It seems to work wit different number of spaces but still it doesn't pass.
11.06.2019
1635
views
8
comments
0
SefoBe
Level 16
Paris
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
What is missing ?
Please tell me what is missing
11.07.2019
996
views
4
comments
0
José Francisco Aranda
Level 8
Question about the task
Minesweeper (Part 4/16)
Games
,
Level 0
,
Lesson 0
Resolved
Help with the task
Help with my task
22.07.2019
1483
views
1
comment
0
Christian Djanea
Level 7
Mount Laurel
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What do I do wrong?
I have tried this code into IntelliJ Idea with several inputs and it seems to be working well, but here I am getting Green and Yellow don't work. You could see my thought process in the code below. Thanks for your help
15.07.2019
1169
views
3
comments
0
hidden #10484120
Level 13
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Resolved
Does it matter the order of the lines?
Hi, I just had a question regarding this task: I had an error when I was posting the solution like this: public class Solution { public static void main(String[] args) { Cat cat = new Cat(); cat.owner = woman; Dog dog = new Dog(); dog.owner = woman;
13.07.2019
1725
views
6
comments
2
Nitin raj
Level 12
Mumbai
Question about the task
HashMap of cats
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
What the problem here please help
Guyzz check whats the problem is
20.07.2019
1240
views
1
comment
0
Divakar Reddy
Level 15
Nandyal
Question about the task
Correct answer: d = 2.941
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
i am able to get the output correctly but not satisying the condition
where am i done wrong
22.07.2019
996
views
2
comments
0
Jen P
Level 26
Question about the task
Task No. 1 about integer type conversions
Java Syntax
,
Level 10
,
Lesson 4
Resolved
Why there is no "Arithmetic Error" when calculating d = (a + f/c +b) where byte c is actually 0 ?
I specifically print out the result : System.out.println("f/c = " + f/c); //f/c = Infinity , where f is double but this will get ArithmeticException : System.out.println("d/c = " + d/c); // ArithmeticException : / by zero , where d is long Why there is a difference? Why both of them throw Arithmet
22.07.2019
1163
views
1
comment
1
Denis
Level 22
Kharkiv
Question about the task
Deserialization
Java Core
,
Level 10
,
Lesson 10
Under discussion
What is wrong guys
Need help
30.06.2019
1291
views
1
comment
0
Nithin
Level 35
Hyderabad
Question about the task
Deserialization
Java Core
,
Level 10
,
Lesson 10
Resolved
what is wrong here
please help
04.06.2019
1388
views
5
comments
0
captain jack
Level 9
Mumbai
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
help me please
what should I do to duplicate it
13.07.2019
1497
views
2
comments
0
sowmya
Level 6
Chennai
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
whats wrong with below code?
package com.codegym.task.task04.task0414; /* Number of days in the year */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { InputStream inputStream= System.in; Reader inputStreamReader = new InputStreamReader(inputStream);
16.10.2018
2173
views
5
comments
0
Anita Pal
Level 14
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Plzz help me,what is wrong in String s2
package com.codegym.task.task03.task0316; /* Escaping characters */ public class Solution { public static void main(String[] args) { String s1 = "This is a Windows path: "; String s2 = "C:\\Program Files\\Java\\jdk1.8.0_172\\bin"; String s3 = "This is a Java string: "
19.07.2019
1299
views
2
comments
0
dean
Level 8
Deutschland
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
memory heap error
why?
22.05.2019
1299
views
7
comments
0
Husain Kothari
Level 20
Mumbai
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
My program outputs the most frequently used bytes but does not verify
result = result.substring(0,result.length()-1); is used just to remove the last trailing space.
21.07.2019
1537
views
2
comments
0
Nishant Bhatia
Level 13
Navi Mumbai
Question about the task
Snake (Part 17/20)
Games
,
Level 0
,
Lesson 1
Resolved
What is the bug?
Problems with createNewApple() method.
20.07.2019
1126
views
3
comments
0
fran
Level 14
Cordoba
Question about the task
The isomorphs are coming
Java Core
,
Level 2
,
Lesson 12
Resolved
I really don't know how to verify the fourth condition
I complete the task but i can't verify the specific condition and get an error when validate the code.
13.02.2019
1736
views
4
comments
1
Yash
Level 15
Sugar Hill
Question about the task
What sort of list is that?
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Right output not accepted
My output is correct but is not accepted.
29.05.2019
1652
views
3
comments
0
Steve
Level 9
Denver
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
My "love" is not getting printed twice???
else if(x.indexOf('l')!=-1){ list.add(i, x); i++; }
20.07.2019
1306
views
2
comments
0
Jay
Level 17
Washington
Question about the task
Move one static modifier
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Help with access modifiers
I solved the task relatively easily; however, I feel that my understanding of access modifiers is pretty fuzzy. If anyone can suggest any resources with a clear explanation of this concept, i'd appreciate it.
20.07.2019
1382
views
2
comments
0
Jay
Level 17
Washington
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Struggling with this one
When I run my program, it's not duplicating the word "love" even though I added to the list(at least that's what I thought I did). What is the problem? Thanks in advance.
19.07.2019
1134
views
2
comments
0
vish
Level 3
Bangalore
Question about the task
Calculate the circumference of a circle
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Can anyone help with code?
public class Solution { public static void main(String[] args) { printCircleCircumference(5); } public static void printCircleCircumference(int radius) { radius = 5; double pi = 3.14; double C = 2*pi*radius; System.out.println(C);
12.07.2019
2170
views
3
comments
0
Show more
1
...
295
296
297
298
299
...
371
Please enable JavaScript to continue using this application.