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
Neha Anjum
Level 6
Hyderabad
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Help here plz
public class Solution { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); double result = 0.0f; int sum = 0; int i = 0; while(true)
18.09.2018
1738
views
2
comments
0
Antonia
Level 10
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
What problem???
What problem???
05.07.2019
1097
views
2
comments
0
Andrea
Level 20
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What Am I Missing?
In reviewing the code and the output it seems the output is correct however per the verification feedback: -First requirement says the program should only print text - but the feedback I'm getting I should only print numbers -Last three requirements the code seems to meet, but it's not passing veri
04.07.2019
1464
views
2
comments
0
ProgrammerNewbie
Level 14
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
Last condition fails even when I trim the string.
Hi there, The last condition fails. I tried it with several inputs and it runs well but it will not verify. The mentor recommended: "Consider the fact that words might be separated by more than one space." That is why I trim the string after reading it. However, it will not verify.
03.07.2019
1633
views
4
comments
0
Denis
Level 22
Kharkiv
Question about the task
Factory method pattern
Java Core
,
Level 6
,
Lesson 13
Under discussion
Pls give me a answer
Help me pls guys(
27.06.2019
1586
views
3
comments
0
Aswini
Level 4
Chennai
Question about the task
Name register
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
verified successfully but showing empty while clicking Run
package com.codegym.task.task04.task0406; /* Name register */ public class Cat { private String fullName; public void setName(String firstName, String lastName) { String fullName = firstName + " " + lastName; this.fullName=fullName; } public static void main(String
06.12.2018
2093
views
8
comments
0
Earil
Level 25
Paris
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Resolved
The code seems to be working fine when I test it, and I get a weird validation error : "The file output stream was not closed", while I'm quite sure I properly closed it. Does anyone understand ?
Hello everyone, I think the code is working properly (at least I think my testing went fine according to the specs in condition.tcs, however the task is to being validated and I get the following error : The file streams must be closed. (Recommendation from your mentor : the file output stream was
02.07.2019
1522
views
2
comments
0
Topor Dániel Bálint
Level 9
Targu-Mures
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Hello, I need help
My result keeps being in integer, can anybody help me ?
27.06.2019
1413
views
4
comments
0
Divakar Reddy
Level 15
Nandyal
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
why am i not able to pass 3rd and 4th test cases
whats the problem in my code
03.07.2019
1339
views
1
comment
0
Serg
Level 23
Tyumen
Question about the task
Hippodrome (part 11)
Java Multithreading
,
Level 1
,
Lesson 16
Under discussion
Why I have a mistake on the line
Why I have a mistake on the line game = new Hippodrome();
26.06.2019
1033
views
1
comment
0
Iasu
Level 18
Question about the task
Exception invasion
Java Core
,
Level 4
,
Lesson 8
Under discussion
I don't understand the requirement 3 her....
What the problem here, I don´t see any exceptions twice in the list..
03.07.2019
1539
views
1
comment
0
Vaishnavi
Level 8
Waukesha
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why is this not working?
Whenever I try to run this code, I get this: java.lang.NullPointerException at com.codegym.task.task07.task0716.Solution.main(Solution.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.r
03.07.2019
1260
views
1
comment
0
Pragati Singh
Level 7
Bangalore
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Why doesn't the last condition get fulfilled.Explain?
29.06.2019
1334
views
2
comments
0
Deep Maheshwari
Level 10
Nanded
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
What's wrong with my code it's running finely?
I have run this code for custom test cases but while verifying it fails to even detect error.... Someone please help...
03.07.2019
1155
views
1
comment
0
jothilearner
Level 7
Chennai
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is the problem in my code ? I can't met the requirements of the task
package com.codegym.task.task04.task0415; /* Rule of the triangle */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner scanner = new Scanner(System.in); int a
05.06.2019
1329
views
5
comments
0
Nithin
Level 35
Hyderabad
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Resolved
anyone pls help me with date format
last condition is not verifying
24.06.2019
1462
views
2
comments
0
Online Learner
Level 6
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
can someone explain me about this task
what is in the task ??
03.07.2019
960
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Correct the bug. Classes and interfaces
Java Core
,
Level 9
,
Lesson 11
Under discussion
Help me pls
Need help
29.06.2019
1207
views
1
comment
0
Stefan Craia
Level 15
Bucharest
Question about the task
Even numbers
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Compilation problem
Any clues why is that ? in intelij works ... package com.codegym.task.task04.task0435; /* Even numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here for(int i = 0; i <= 100; i++){
02.07.2019
1281
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Mirror image
Java Core
,
Level 9
,
Lesson 11
Under discussion
I need help
Pls give me a code for my full understanding. My code is empty, because i tired and delete her
29.06.2019
1152
views
2
comments
0
Nobody
Level 37
Seattle
Question about the task
Build a tree (part 5)
Java Collections
,
Level 1
,
Lesson 15
Under discussion
I'm stuck
don't have any clue
10.06.2019
1575
views
1
comment
0
Anonymous
Level 18
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Can someone explain this task to me?
maybe just give me an output example, I can't exactly comprehend ,what we have to do
27.06.2019
1237
views
2
comments
0
Anonymous
Level 18
Question about the task
Spaces
Java Core
,
Level 8
,
Lesson 11
Resolved
what's wrong?
.
24.06.2019
1427
views
6
comments
0
Chinwe Ibegbu
Level 8
Accra
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
HELP
I have been stuck here for many a day. I keep getting Null Point Errors or something of the sort and I understand ish why I do but I cannot see a way out of it.
03.07.2019
1271
views
7
comments
0
Mukesh Vudayagiri
Level 10
Ferokh
Question about the task
Feng Shui and statics
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
What's wrong.
Please explain what's mistake.
01.09.2018
1959
views
8
comments
0
Jay
Level 17
Washington
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Trouble with Multiplication Table
I'm failing on the requirement of each line displaying 10 numbers with spaces in between. What am I missing? Your feedback is much appreciated.
02.07.2019
1379
views
6
comments
0
Jay
Level 17
Washington
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Failing on last requirement. What am I missing?
The output seems to match the program requirements. Can anyone offer assistance? Thanks in advance.
03.07.2019
1175
views
4
comments
0
Ankita Patra
Level 5
Bhubaneshwar
Question about the task
Implement the fight method
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Plzz help me out. Actually I'm not getting the question!!
02.07.2019
1459
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
Help me pls,guys
What i can do this?
28.06.2019
1436
views
1
comment
0
Ankita Patra
Level 5
Bhubaneshwar
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
What's wrong in this code?
02.07.2019
1309
views
2
comments
0
Show more
1
...
302
303
304
305
306
...
372
Please enable JavaScript to continue using this application.