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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Adam Maichrzik
Level 22
Katowice
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Imo everything should work well.
Hi! If someone is more experienced than me please look at my code and help me figure it out what is going wrong. I mean code is working but I cannot pass the task. The "recommendation from the mentor" is "Be sure that the program works correctly for negative numbers". But I tried it with the negativ
1/14/20
1405
views
5
comments
0
Azamat Aminov
Level 1
Tashkent
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
I solved exercise as long as I understood. Where i wrote wrong code? I need help
.
1/15/20
1075
views
2
comments
0
Ashleigh
Level 7
Easton
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
How to display 3rd number in output
How do I compare both numbers are equally close to 10 and display that number?
1/15/20
1396
views
2
comments
0
krystian
Level 9
Kozle
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Any hints?
public class Solution { public static void main(String[] args) {
1/14/20
1095
views
2
comments
0
Nicolas Huet
Level 41
Provins
Question about the task
Hippodrome (part 9)
Java Multithreading
,
Level 1
,
Lesson 16
Under discussion
i can't find the solution
I really don't know what to change here :(
8/5/19
1161
views
2
comments
0
Nitin Pawar
Level 27
Mumbai
Question about the task
Arkanoid (part 17)
Java Multithreading
,
Level 3
,
Lesson 13
Under discussion
Please help
Can someone tell me whats wrong?
1/14/20
908
views
4
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Roy G. Biv…
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Explain the entire problem
I tried but was unable to get walkthrough of this question. Kinldy explain me in detail
11/29/19
1259
views
3
comments
0
Peerawas
Level 18
Question about the task
Task about algorithms
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Not satisfied with last condition
The displayed words should be sorted alphabetically.
12/23/18
2416
views
4
comments
2
Jo88
Level 4
Boston
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Resolved
why cant I use println like in previous answer??
in the previous task we were asked to help get the square of 5 and the answer was calling the square method in the main method System.out.println(sqr(5)); so I tried the same logic here and tried to call the sum method the same way...I put System.out.println(sum(2, 2)); why doesn't this work for
1/14/20
1276
views
4
comments
0
Anthony Chalk
Level 30
London
Question about the task
Symbol frequency
Java Core
,
Level 8
,
Lesson 11
Resolved
Not sure where I've gone wrong
I ran it with a txt file (I read a file name from the console when I tested it instead) with the following in it: a dkj aa po kk e ??? ? ! The output was: 8 ! 1 a 3 d 1 e 1 j 1 k 3 ? 4 o 1 So it's calculated the frequency correctly, so I'm not sure why that condition hasn't passed. I don't know
1/14/20
1169
views
2
comments
0
Isiyemi Joseph
Level 13
Lagos
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Not verifying
Pls help I don't know what's wrong with my code, it runs perfectly but does not verify
3/9/19
1643
views
9
comments
0
Brandon Nicolle
Level 5
Edmonton
Question about the task
Even numbers
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
No output?
Hello all, It seems like my code is correct when referenced with other users on the site. But I run it I am not getting any output. Can someone tell me why?
8/18/19
1779
views
4
comments
0
hidden #10424566
Level 7
Question about the task
Even numbers
Java Syntax
,
Level 4
,
Lesson 13
Resolved
My output looks fine but i still get this error
My output looks fine but i still get this error
2/7/19
1856
views
4
comments
0
Anthony Chalk
Level 30
London
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Resolved
I have no idea
I just can't get this task Please help
1/12/20
1818
views
8
comments
0
Ákos Kovács
Level 10
Budapest
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
What should I fix in this code?
I tested manually, it seems ok. Validation says: "Be sure that the program displays the maximum number."
1/13/20
1527
views
4
comments
0
Ákos Kovács
Level 10
Budapest
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Resolved
Unable to call constructor inside a constructor
I am not sure, how to do this call, I just know, that it should be first statement.
1/13/20
1139
views
2
comments
0
Jo88
Level 4
Boston
Under discussion
Discouragement
so I came across a task that stumped me today..the one on calling methods..I didn't really see anything bout calling methods in the reading... I HATE using the "hint" button because I want to do it one my own..it didn't make sense but looked up calling methods on youtube..and think I understand now
1/14/20
906
views
1
comment
0
Eike Holtzhauer
Level 22
Tostedt
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Last condition(number-format) is not met, but why?
Hi, does anyone know why the last condition is not met. Error "The getPhoneNumber() method should return a valid phone number (see the examples), padded with zeros if necessary to get 10 digits. The phone number and its country code should be retrieved using the data field's getPhoneNumber() and ge
8/26/19
1180
views
2
comments
0
null
Level 29
Poznan
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Can't meet requirements for phone format
As topics says, I think it works well, however it can't pass the verification. Thanks for help
8/21/19
1220
views
3
comments
0
Ntuthuko Xaba
Level 18
Johannesburg
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
After multiple attempts I still can't solve this - please help
After multiple attempts I still can't solve this - please help
1/12/20
1506
views
2
comments
0
Diana Pettit
Level 4
Mobile
Question about the task
Time conversion
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
Ive done this 1000 different ways. Why isn't it working???
Please help me!
1/11/20
1134
views
5
comments
0
John Doe
Level 18
london
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Under discussion
I really have a problem with the concept of inhert and interface if someone have an idea how i can finally understand it it will be very helpful for me
I'm not getting how interface is working i don't know why he doesn't like User/Loser/Coder/Programmer when i'm using instance of
1/11/20
1018
views
2
comments
0
Facundo Villarroel
Level 20
Berlin
Question about the task
Food
Java Core
,
Level 4
,
Lesson 4
Under discussion
Need some help to clarify concepts
I was able to do the task, but some things are not clear and I'd like if someone can help me clarify: When we declare Selectable selectable = new Food(); What does exactly the created object references to? We cannot instantiate an interface... So, are we actually creating a Food object, but the
1/6/20
1255
views
1
comment
0
Daniel W Hair
Level 8
Salt Lake City
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Code is compiling and gives required output. However, the final check say's "Check that the program displays only the required string and nothing else."
This is my code /* Plan to conquer the world */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { int number; String name; Scanner console = new Scanner(System.in); System.out.print("Enter number: ");
1/13/20
1293
views
2
comments
0
Eike Holtzhauer
Level 22
Tostedt
Question about the task
Splitting a file
Java Core
,
Level 8
,
Lesson 5
Under discussion
Only first requirement are met - but it works in external IDE
Hi Does anyone have an idea why codegym doesn´t match the requirements? I have double-checked my code in eclipse and it process files as requested. Cheers Eike
8/16/19
1044
views
1
comment
0
Ashok Rai
Level 3
Kathmandu
Question about the task
Task with percentages
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Can anyone instruct me how to solve it ?
12/5/18
2656
views
4
comments
0
hidden #10426208
Level 11
Question about the task
Array of string lists
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
what wrong am I doing?
public static ArrayList[] createList() { //write your code here ArrayList[] list = new ArrayList[5]; for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { list[i].add(i + " " + j); } } return list; }
1/12/20
1280
views
4
comments
0
Lirca Vlad
Level 11
Brasov
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Resolved
price
my programm is correct but it s appear an error like i didn t increase with 1000 ? where is the problem ? thanks
1/7/20
1289
views
2
comments
0
krystian
Level 9
Kozle
Question about the task
ConsoleReader class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Any hints here?
public class ConsoleReader { public static String readString() throws Exception {
1/12/20
1064
views
1
comment
0
SOUFIANE DAHIMI
Level 32
Marrakech
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Under discussion
Please can someone tell what's wrong with this code ; I think it's correct
please help
1/3/20
1157
views
2
comments
0
Show more
1
...
241
242
243
244
245
...
374
Please enable JavaScript to continue using this application.