Promotion
CodeGym University
Java FullStack
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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
arun et
Level 11
Chennai
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
works fine, output is as expected. but still 1 condition not satisfied; pls help
6/3/19
1392
views
2
comments
0
Klin Sándor
Level 10
Toeroekbalint
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
It's works perfectly, and it's always gives back the maximum, so where is the issue?
And do you know what can you do, when you are in the same shoes as i, so you tried your program in many ways, and it's work, it's gives perfectly your waited result, but the task isn't satisfied in some way. It would be better if the task works like this: The program should display the maximum of t
6/2/19
1571
views
2
comments
0
Fa Yu
Level 16
Tashkent
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
It works perfect as per conditions, but won't verify. Help me please to find out the issue.
6/3/19
1561
views
4
comments
0
Ravien Sewpal
Level 9
Paramaribo
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What's wrong? It keeps displaying 8 and 7...
package com.codegym.task.task04.task0409; /* Closest to 10 */ public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b) { // write your code
6/2/19
1371
views
3
comments
0
Pioniio
Level 22
Schaffhausen
Question about the task
Creating threads recursively
Java Core
,
Level 6
,
Lesson 13
Resolved
main thread displays
hi, in the output there is also the main thread displayed, i can't get rid of it. could somebody help please, thanks
6/3/19
2098
views
4
comments
0
Ravien Sewpal
Level 9
Paramaribo
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Please help :(
package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
6/2/19
1915
views
2
comments
0
satish
Level 15
kadapa
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
how to stop adding map when reading strings are empty
whats the problem
6/3/19
1610
views
1
comment
0
Márk Pernesz
Level 2
Szeged
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What is wrong with my code? :/
Hi guys, please check my code and help me cus I'm totally helpless. The result is correct, everything seems like OK but the Mentor still gives this mesage: "When converting degrees, use the factor 9/5. To get the correct result, use doubles (not ints) to calculate this fraction. The conversion can
6/3/19
1444
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
Please Help
4/17/19
1895
views
2
comments
0
Sergei Polakov
Level 11
Donets'k
Question about the task
Exceptions. Just exceptions.
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
not working
not working
5/31/19
1716
views
2
comments
0
Yash
Level 15
Sugar Hill
Question about the task
Move one static modifier
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Where is it reading from keyboard.???
But its not...
6/2/19
1389
views
1
comment
0
hidden #10444738
Level 16
Question about the task
Initializing cats
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
All answers derived from the first.
How can the third one work and the others not, they are derived from the first. I dont understand.
5/20/19
2294
views
2
comments
1
Mike McKenna
Level 25
Wilmington
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
vertical vs hrizontal
Hi, i was able to get code producing multiplication tables . only the table is vertical instead of horizontal Thanks Mike McKenna
5/31/19
1207
views
1
comment
0
Harinath Reddy A
Level 7
Delhi
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
i dont get it wats wrong in my code please someone help me
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { //write your code here int m1; if(c
2/9/19
2426
views
10
comments
0
Kyle Walters
Level 6
Rochester
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Pure insanity - code works with IntelliJ IDEA 100% as directed but 0 criteria met on CodeGym
I can't even get the criteria met for it to read the numbers from the keyboard, but somehow as if by magic, it works and meets 100% of the criteria when tested with IntelliJ IDEA. I've spent the last hour rewriting the code and it never seems to make a difference. After close to an hour I even tri
6/2/19
1635
views
2
comments
0
hidden #10451198
Level 14
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Everything working correctly in JVM but not in CodeGym
I have this recommendation : "If an empty string is entered after a number, then that number should also be displayed (it must not be lost)." but when I'm testing this code on JVM everything working. When I write 1 a 2 3 c then I have 1 a 2 3 c.
6/2/19
1225
views
1
comment
0
Vadym Opalenyk
Level 10
Vyshneve
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
What is the problem
What is the problem
6/2/19
1201
views
2
comments
0
Nahid Ahmed
Level 9
Dubai
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
whats wrong here
why is it showing no element exception for line 13?
6/1/19
1204
views
2
comments
0
// Java Poser
Level 18
Cincinnati
Question about the task
Triangle of eights
Java Syntax
,
Level 4
,
Lesson 13
Resolved
Triangle error
I keep getting an error thrown at me saying that the height of my triangle is not 10 lines. can someone help me fix my code?
2/10/19
2159
views
3
comments
0
ProgrammerNewbie
Level 14
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
Verification fails although program runs seemingly without problems.
Hi there. I am kind of stuck here. When I run my program, it works fine and I do not see any difference compared to the example output. I have tried several cases and several numbers and it works fine. However, when I try to verify the task, the third condition fails. I do not know why. I would be
5/18/19
2455
views
7
comments
0
Mom Meme
Level 19
Boston
Question about the task
Exception when working with Map collections
Java Syntax
,
Level 9
,
Lesson 6
Under discussion
CodeGym broke...
Just take a gander at the 3rd requirement.
2/2/19
1616
views
4
comments
0
satish
Level 15
kadapa
Question about the task
Exception while working with strings
Java Syntax
,
Level 9
,
Lesson 6
Resolved
whats the problem
which exception method is used for error of strings. and how to know which exception method is better
5/31/19
1758
views
2
comments
0
Kristian
Level 12
Zagreb
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Resolved
whitespace error
I just dont know what that whitespace error is and i cant get rid of it
5/31/19
1651
views
2
comments
0
hidden #10447638
Level 22
Resolved
Do any of you call setters within constructors?
Hello there, I've just gone through this section and got the doubt; is it convenient to call setters from the constructors? The doctor recommends to use all the logic to determine whether the inputted data is valid/correct when an object gets created out of the constructor but how does one preven
5/31/19
1053
views
2
comments
0
hacks patel
Level 20
Ahmedabad
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Under discussion
what is a error?
it works correctly but why i get error...
5/30/19
1468
views
4
comments
0
Monica Nicoleta
Level 7
Arad
Resolved
Please help me
Why is the compiler telling me this? com/codegym/task/task02/task0205/Solution.java:16: error: expected System.out.println(s); ^ com/codegym/task/task02/task0205/Solution.java:16: error: expected System.out.println(s);
10/29/18
1376
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
File downloader
Java Collections
,
Level 1
,
Lesson 4
Under discussion
What is wrong here?
need hint
4/24/19
1452
views
1
comment
0
Will Irvin
Level 3
Harvest
Question about the task
The required number
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
Hmmmmmm, running out of ideas for correct solution
Not sure what I might have done wrong? I'm currently getting the the correct display but maybe I have altered the program too much and there is a specific number of lines that should be commented out? I "Run" the code and below shows the output as 19, So I'm not sure what I might have done wrong? P
4/21/19
1679
views
4
comments
0
Sudhansu Shekhar
Level 6
Jaipur
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Please share a way of counting the user input without asking the user to tell the input count and without using methods of Scanner, math or any predefined classes...? I need to understand the logic implimented to count the no. of user input.
Please share a way of counting the user input without asking the user to tell the input count and without using methods of Scanner, math or any predefined classes...? I need to understand the logic implemented to count the no. of user input.
5/31/19
1437
views
2
comments
0
romeo
Level 5
Paramaribo
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
how to print horizontaly?
I can only get the code to print "8" two times. The goal is to get to print 4x2 8 times?
5/31/19
1299
views
2
comments
0
Show more
1
...
317
318
319
320
321
...
374
Please enable JavaScript to continue using this application.