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
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
07.02.2019
1748
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
12.01.2020
1638
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."
13.01.2020
1390
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.
13.01.2020
1023
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
14.01.2020
794
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
26.08.2019
1058
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
21.08.2019
1044
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
12.01.2020
1404
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!
11.01.2020
1026
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
11.01.2020
908
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
06.01.2020
1127
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: ");
13.01.2020
1185
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
16.08.2019
942
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 ?
05.12.2018
2537
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; }
12.01.2020
1145
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
07.01.2020
1182
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 {
12.01.2020
951
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
03.01.2020
1048
views
2
comments
0
Pedzi
Level 22
Cape Town
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Please help, all my elements are being printed on a new line. I don't get why the last condition is failing
package com.codegym.task.task07.task0710; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* To the top of the list */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list= new ArrayList();
12.01.2020
999
views
3
comments
0
Facundo Villarroel
Level 20
Berlin
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Requirements should be passing, it is doing what it's supposed to do
Even using the web compiler, and the two long words are displayed, the tasks is still not passing. Any ideas? Thanks
13.10.2019
1747
views
7
comments
0
krystian
Level 9
Kozle
Question about the task
Distance between two points
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Any hints What to add here?
public class Util { public static double getDistance(int x1, int y1, int x2, int y2) {
12.01.2020
953
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Bingo!
Java Core
,
Level 4
,
Lesson 2
Under discussion
its very easy, but i cant understand
can everybody help me?
25.06.2019
1216
views
2
comments
0
Creepah
Level 15
Question about the task
Sorting even numbers from a file
Java Core
,
Level 3
,
Lesson 11
Archived
Numbers can be negative error
It says: recommendation from your mentor Bear in mind that numbers can be negative. But when I test it in IntellIJ IDEA with a file, it gives correct output for negative numbers as well. Input used: 1 2 3 4 5 6 -4 -4 7 7 -2 -7 -1 -46 Output given: 2 4 6 -4 -4 -2 -46
20.11.2019
1167
views
2
comments
1
max
Level 8
livorno
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
where is the mistake?
i'm not able to validate my code as the replay from the system is that the green condition is not met and i don't understand the reason. Here below my code:
06.01.2020
1290
views
3
comments
0
Hendra
Level 8
Medan
Question about the task
ConsoleReader class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
help...what wrong with my code,stucked with the last requirement
package com.codegym.task.task06.task0610; import java.io.BufferedReader;
11.01.2020
1038
views
5
comments
0
Alexander Shtunder
Level 41
San Francisco
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Resolved
Who will help me?
Checked my code on 10 different files. Everything works fine, but the last condition fails.
31.08.2019
1592
views
3
comments
0
Pippo
Level 9
Padova
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Resolved
I don't understand why it doesn't accept this
Guys, the output is right, sorry but I can't figure it out where is the mistake.
21.07.2019
1902
views
3
comments
0
Ice_ Beam
Level 7
Resolved
Math equation with % (modulo) clarification help
int k = 50; int a = (k/5) * k + (k/2) % 2; System.out.print(a); // it prints out 501 // say that I calculated (k/5)*k+(k/2) already together which is 525 so int a = 525 % 2; System.out.print(a); // it prints out 1 Why is the first answer different than my second one?
11.01.2020
991
views
2
comments
0
John Doe
Level 18
london
Question about the task
Wine tasting
Java Core
,
Level 4
,
Lesson 8
Archived
I really don't know what I miss on this exam can someone help me please ?
10.01.2020
1217
views
4
comments
0
John
Level 27
Washington DC
Question about the task
Snake (part 13)
Java Multithreading
,
Level 2
,
Lesson 18
Under discussion
This is exasperating...
I don't know why this isn't validating. I created a separate test with sample "levels" from 0 - 20 and received correct output for each level.
10.01.2020
1154
views
1
comment
0
Show more
1
...
239
240
241
242
243
...
372
Please enable JavaScript to continue using this application.