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
EswaraRao
Level 3
Visakhapatnam
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
regarding print method?
can anyone suggest me how to implement print method?
09.05.2019
1507
views
5
comments
0
Marilyn Free
Level 4
Pensacola
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Can't figure out the error
public class Solution { public static void main(String[] args) throws Exception { BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in)); String num = buffer.readLine(); int number = Integer.parseInt(num); if(number ==
14.12.2018
1200
views
5
comments
1
Juan Gallardo
Level 10
Edmonton
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
No spelling errors. What could be wrong?
String[] d = new String[7]; d[0] = "Monday"; d[1] = "Tuesday"; d[2] = "Wednesday"; d[3] = "Thursday"; d[4] = "Friday"; d[5] = "Saturday"; d[6] = "Sunday"; if (c >= 0 && c <=7) { System.out.println(d[c-1]);
21.10.2018
1389
views
2
comments
1
Adnan Razzaq
Level 15
Bamberg
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
what I am doing wrong here? i cant get the verification. someone correct it
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 InputStream inputStream = System.in; Reader inputStreamReader = new I
25.05.2019
980
views
3
comments
0
Vatsal Patel
Level 15
Naperville
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
What am I doing wrong?
I thought the while loop copy the content.
10.05.2019
1055
views
3
comments
0
VIVEK BARUAH
Level 20
Eluru
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Whats wrong here?
package com.codegym.task.task07.task0720; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; /* Shuffled just in time */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader r
23.05.2019
1161
views
4
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
The code does not seem to work for numbers over 127
Pls help.
24.05.2019
1093
views
2
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
It works tho?????
Why not work, help please.
24.05.2019
1437
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Reading and writing static fields to a file
Java Core
,
Level 10
,
Lesson 2
Under discussion
Where is The Error
Please Help..
22.04.2019
1356
views
1
comment
1
Tejashree
Level 7
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
getting error at If a triangle with the specified sides cannot exist, you need to display: "The triangle is not possible."
package com.codegym.task.task04.task0415; /* Rule of the triangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { InputStream inputStream=System.in; InputStreamReader inputStreamReader= new InputStreamReader(inputStream);
24.05.2019
1414
views
3
comments
0
Emenike Ayalogu
Level 13
Bowling Green
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
I didn’t pass the verification because my code those not work for numbers greater than 127. Please someone help!
I didn’t pass the verification because my code those not work for number greater than 127. Please someone help!
24.05.2019
1173
views
3
comments
0
Thomas
Level 12
Scottsdale
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Ideas ?? Lucky 7 7 7 output is quirky between 50 && 100 --- I am Stuck !
if(a > 50 && a < 100){ System.out.println("The number "+ a +" is not in the interval."); } else System.out.println("The number "+ a +" is in the interval.");
24.05.2019
1331
views
3
comments
1
Johnson Jose
Level 10
Edinburgh
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Last condition failing
Is something wrong with my logic? Please help.
24.05.2019
1100
views
2
comments
0
romeo
Level 5
Paramaribo
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Can someone please explain why this worked?
How can m1 = m2, if m1= min(c, d) and m2 = min(a, b)? obviously they are not equal to each other... I'm very lost. public static int min(int a, int b, int c, int d) { //write your code here int m1 = 0; int m2 = min(a, b); if (c < d) m1 = c
22.05.2019
1937
views
7
comments
0
Azja
Level 32
Krakow
Question about the task
Your own enum
Java Multithreading
,
Level 5
,
Lesson 2
Resolved
What is wrong?
It gives same output
24.05.2019
1185
views
1
comment
0
satish
Level 15
kadapa
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
what is the error
heip in finding error
24.05.2019
1112
views
1
comment
0
Roman
Level 8
Minsk
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
What's wrong here ?
Program ran fine and checked with different inputs but task is failing verification
02.05.2019
1491
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Flip the array
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
what is wrong here
need hint
08.01.2019
1403
views
2
comments
0
Ferd
Level 4
Dresden
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is wrong
What is wrong in my code?
08.05.2019
1459
views
8
comments
0
Dona
Level 7
Question about the task
Come on, lucky seven!
Java Syntax
,
Level 4
,
Lesson 4
Resolved
error last condition
how can i do this?
21.05.2019
1261
views
3
comments
0
satish
Level 15
kadapa
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
how to call a constructor within a constructor
iam not understnading how to solve this
22.05.2019
1456
views
3
comments
0
Nithin
Level 35
Hyderabad
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
what is wrong with this code
this is not passing the 3rd condition package com.codegym.task.task07.task0705; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; import java.util.Arrays; /* One large array and two small ones */ public class Solution { public static void main(Stri
23.05.2019
1572
views
2
comments
0
Aniket Dwivedi
Level 8
Delhi
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
last condition unsatisfied
it says make sure that your code works for numbers that are equally distant to 10. although it works on my pc.
28.11.2018
1577
views
4
comments
2
Nastya
Level 12
Belgorod
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
What's wrong?
It works, but does not pass verify
23.05.2019
1214
views
3
comments
0
JeRiF94
Level 22
Baku
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
I think so long and I give up
This my code:
12.04.2019
1244
views
7
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
UnsupportedFileName
Java Core
,
Level 8
,
Lesson 8
Resolved
What is The Error
Please Help..
19.04.2019
1535
views
1
comment
0
Godwin
Level 10
Sango
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Please help me, the code runs according to the task conditions but it is not verifying.
I spent a lot of time testing the code with different inputs, i got it to run according to the task conditions but it still fails to verify. I am out of options, i need your help caring Java community. Thanks.
22.05.2019
1499
views
3
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
I think I made a mistake somewhere...
I really don't know why its not working help?
23.05.2019
963
views
3
comments
0
Amber
Level 12
Question about the task
Creating cats
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Can someone please explain initializing variable?
I seem to understand what to do for all of them except for "The class must have a constructor that takes a name and age as arguments, and initializes all variables except the address." I don't get why for this one the code is just the two variables and not the others, when it says to initialize all
14.05.2019
1612
views
3
comments
0
dean
Level 8
Deutschland
Question about the task
Move one static modifier
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
i passed but i dont understnad the logic here
what's the program tried to do/achieve? i dont get its purpose here.. would appericate if you can explain what's going on here :)) package com.codegym.task.task07.task0725; /* Move one static modifier */ public class Solution { public final static int A = 5; public final static int B =
23.05.2019
1196
views
1
comment
0
Show more
1
...
313
314
315
316
317
...
367
Please enable JavaScript to continue using this application.