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
Amber Singh Rathour Pandey
Level 8
Delhi
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Wow!
Using Println as a newline character. It took me 8 times....... More than bloody average... Cause I didn't know to use println like this here, I thought it needs something inside the brackets to work.
11.10.2022
636
views
0
comments
0
GioGTelian
Level 10
Question about the task
Three numbers
Java Syntax
,
Level 3
,
Lesson 5
Resolved
the output is correct. why am i not passing?
int m, n, c; Scanner s = new Scanner(System.in); m = s.nextInt(); n = s.nextInt(); c = s.nextInt(); if(m == n) { System.out.println(""+m + n); } if (m == c) {
12.10.2022
391
views
2
comments
2
PeterC
Level 28
France
Question about the task
The simplest code: part 2
Java Core
,
Level 5
,
Lesson 6
Resolved
Why do we need an empty constructor in the NormalCat class?
The code works without a constructor, obviously.
01.01.2022
511
views
3
comments
0
Suraj Adak
Level 2
mumbai
Under discussion
the condition are not getting fulfilled
what to do about it can any one please tell me
11.10.2022
283
views
0
comments
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
Positive and negative numbers
Java Syntax
,
Level 3
,
Lesson 10
Resolved
please help....
I 'm stuck here...some tips please
09.10.2022
723
views
2
comments
0
Tasmoda
Level 28
Midrand
Question about the task
Somewhere in the middle
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
Grading system faulty
Good day. The grading system is incorrectly grading my solution. It says if I enter the numbers 2, 3 and 1 I should get 2. Which is incorrect. Thanks.
27.05.2022
720
views
2
comments
0
Attila Kiss
Level 8
Question about the task
Remove duplicate strings
Java Syntax
,
Level 6
,
Lesson 4
Under discussion
my idea
In my solution i used a boolean array, where i changed the boolean from false to true if the same index of the strings array was a duplicated string. Then i just replaced the original sting on the strings array with null, if the matching index on the booleans array was true. Very challenging challen
07.10.2022
401
views
0
comments
0
Dillon Morgan
Level 2
London
Question about the task
High accuracy
Java Syntax
,
Level 3
,
Lesson 7
Under discussion
Certain input gives incorrect message when difference is equal to one one-millionth
Is anyone else's solution giving the message "The numbers are not equal" when the two numbers input are 1.000001 and 1.000002? It's strange as I do receive the correct message when I use 1.000002 and 1.000003 (I.e. I am using the correct comparison operator)
08.10.2022
327
views
0
comments
0
Rohith
Level 3
Chennai
Under discussion
java Project
Hi Brothers and Sisters I want to Know that how to Do a project in java. what are the Advanced knowledge for java. could You share it Please
10.10.2022
348
views
0
comments
0
michal9696
Level 1
Poland
Question about the task
Minesweeper (Part 6/16)
Games
,
Level 0
,
Lesson 0
Resolved
Error: JavaFX runtime components are missing, and are required to run this application
This error is display when I try to run my code on IntelliJ . Anybody know how to solve this problem. Thank you a lot for every answer.
06.10.2022
1006
views
5
comments
0
Dawn( #11020889)
Level 37
Toronto
Question about the task
Janitorial services
Java Core
,
Level 4
,
Lesson 8
Under discussion
headache, can not compile
totally have no idea about static and non-static, even I have the same code as the answer
07.10.2022
356
views
2
comments
0
srav
Level 2
Jakarta
Under discussion
global variable
Use static keyword for global variable declaration and try to access it from non static methods and static methods
07.10.2022
290
views
0
comments
0
srav
Level 2
Jakarta
Under discussion
global variables
what happens if I use static keyword for global variable declaration and try to access it from non static methods and static methods
07.10.2022
339
views
1
comment
0
David Haines
Level 13
La Crosse
Question about the task
Minesweeper (Part 14/16)
Games
,
Level 0
,
Lesson 0
Resolved
conditions 2 & 3 failing - part 2
Guadalupe - I think I understand your suggestions to clean up the code. They made sense to me and I believe I implemented them correctly. You were definitely correct - much easier to understand at a glance. THANK YOU for that input! However, I apparently did not understand what you were trying t
05.09.2020
432
views
1
comment
0
aljebra school
Level 7
Under discussion
emulator: Trying to vcpu execute at elp:8d684f"
I'm trying to create a virtual device in android studio 1.5 after creating the device then launching it the device just don't come up (i.e it's state is offline) always a black device then I tried creating another using the same API 23 Nexus 5 it turns out to be the same. But at the log tab it's ke
04.06.2022
512
views
2
comments
0
Олег Байбула
Level 32
Question about the task
Feature-length film
Java Syntax
,
Level 2
,
Lesson 4
Under discussion
Typo
A typo is in the word metres.
05.10.2022
417
views
0
comments
0
Nadeem Ansari
Level 8
India
Question about the task
Filled rectangle
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
why I'm getting only one line of Q in output?
is it compulsory to write int width in the first while loop and not in the starting if yes then why?
01.10.2022
378
views
2
comments
0
Alex Tor
Level 31
Question about the task
Just not on Monday :)
Java Syntax
,
Level 17
,
Lesson 2
Resolved
The method works fine, but Judge doesn't accept it.
Hi guys, I made the method workable, and it outputs precisely what it should, but the Judge doesn't accept my solution. My assumption is this is because of try-catch block, so fine, but can anyone give me a hint on what should I focus on to resolve it correctly? Thank you in advance!
29.09.2022
784
views
4
comments
0
Aska #11011302
Level 34
Ceske Budejovice
Question about the task
Binary to hexadecimal converter
Java Syntax
,
Level 10
,
Lesson 2
Resolved
The toHex(String) method is not validated, but it works in IDE,
Please help, I don't know where the problem is :(.
28.09.2022
349
views
2
comments
0
Enrique Del Valle
Level 31
Mexico
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Under discussion
Why is not passing the last test?
Hi community, this is my solution, I don't understand why is not passing the last condition, I'll be grateful for some help.
29.09.2022
425
views
1
comment
0
Steveo
Level 14
London
Question about the task
Shuffled just in time
Java Syntax
,
Level 13
,
Lesson 7
Under discussion
Runs fine but cant verifiy
Can someone help? When i run the task, it completes and i get the desired output as per the task itself, however if i attempt to verify my code it says there may be an infinite loop as its taking too long but when run it completes in a second?
28.09.2022
404
views
1
comment
0
Alana Robinson
Level 4
United States of America
Question about the task
Warm or cold
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Help! Why won't it print the conditions? I input the number 20 from the keyboard but when I add the else statement on line 22 I get an error message.
Help! Why won't it print the conditions? I input the number 20 from the keyboard but when I add the else statement on line 22 I get an error message.
09.05.2022
525
views
4
comments
0
Ashish Mishra
Level 3
Mumbai
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Code isn't get executed
I have written inside addTenPercent(int i){ double result = (i/100 * 10) + i; return result } .. ..... ....... What's wrong?
16.12.2018
1791
views
5
comments
0
Dinesh
Level 7
Delhi
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Where I went wrong
package com.codegym.task.task03.task0304; /* Task with percentages */ public class Solution { public static double addTenPercent(int i) { //write your code here double increase_Prcnt=(10/100)*9; double addTenPercent = increase_Prcnt+9; return addTenPercent;
15.03.2020
1390
views
7
comments
0
slsksk
Level 1
Under discussion
print this pattern
INPUT : THIS IS A PEN T P H I E I A S N S
26.09.2022
311
views
2
comments
0
slsksk
Level 1
Under discussion
pattern program
INPUT : THIS IS A PEN T P H I E I A S N S
26.09.2022
365
views
0
comments
0
slsksk
Level 1
Under discussion
pattern program
INPUT : THIS IS A PEN T P H I E I A S N S
26.09.2022
298
views
0
comments
0
J
Level 41
Wilson
Question about the task
Restaurant (part 20)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Why isn't my condition for adding an order to a queue passing?
I'm adding an order to a queue in the update method as requested. What reason would there be for it not passing?
26.09.2022
543
views
4
comments
0
Maksim Krasnov
Level 47
Kyiv
Question about the task
Chat (part 11)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
can't pass validation with error message "The program ran too long and was closed!"
Hi, can't pass validation with error message "The program ran too long and was closed!" during debugging the program stops at line 23 in "server.java" and code in line 25 not executed where is the mistake? Thanks.
22.09.2022
461
views
2
comments
1
Shomir Uddin
Level 6
United States of America
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Cant meet the condition the program should display the number of positive number in the original set
I cant figure out what it is that I am doing wrong. I cant pass the condition the program should display the number of positive numbers in the original set.
25.09.2022
426
views
4
comments
0
Show more
1
...
37
38
39
40
41
...
371
Please enable JavaScript to continue using this application.