CodeGym University
Learning
Course
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
Amo programmare
Level 32
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Resolved
Don't understand why failing validation
Hi All, If I could get maybe a second pair of eyes, it would be greatly appreciated as I don't understand why I can't pass validation. I've checked everything I could think of. The phone number from the tests I did come out ten digits with the write format, but the validator only gives me that as
17.03.2023
303
views
2
comments
0
Mike S
Level 28
Saint Louis
Question about the task
Replacing numbers
Java Core
,
Level 9
,
Lesson 11
Resolved
Correct output, but not validated
Greetings friends, After an ungodly number of hours of figuring out how to break it into Strings without regex (thanks Breakiterator!) and then figuring out how to not lose the period at the end, it's not taking my answer even though it matches the output. It's not obvious to me what circumstances
15.03.2023
293
views
7
comments
0
sagar thakur
Level 6
CodeGym University in India
Question about the task
Minimum of N numbers
Java Syntax
,
Level 6
,
Lesson 3
Under discussion
Can someone help me with this?
Why doesnt it work?
10.03.2023
231
views
3
comments
0
J
Level 41
Wilson
Question about the task
Restaurant (part 10)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
Why is the impressions remaining requirement not validating?
I have a condition that only adds advertisements with impressions remaining of 1 or more to the maximum list. Why is this not validating?
09.09.2022
333
views
1
comment
2
Henk
Level 19
Pretoria
Question about the task
Wrapper (Decorator)
Java Core
,
Level 8
,
Lesson 8
Resolved
Looks fine to me, why is it not correct ? Anyone ?
I'll admit, I don't know WHAT I'm doing w.r.t. this wrapper concept. I just copy the stuff from the example, makes no sense why I would need this. I shall go read up on it in Head First Java....
06.06.2019
1621
views
11
comments
0
Denis
Level 22
Kharkiv
Question about the task
Wrapper (Decorator)
Java Core
,
Level 8
,
Lesson 8
Under discussion
help me pls
what i can do in this situation?
28.06.2019
1093
views
2
comments
0
rudydesplan
Level 4
France
Question about the task
Summation
Java Syntax
,
Level 4
,
Lesson 0
Under discussion
solution
public class Solution { public static void main(String[] args) { ..............; ..............; // initiate the sum variable to 0. ..............; // create an enter variable used later to compare to the input while (true) { if (..............) {
12.03.2023
213
views
0
comments
2
Satya Vath
Level 31
Vijayawada
Question about the task
Don't take the car to the shop!
Java Multithreading
,
Level 5
,
Lesson 2
Under discussion
Where is The Mistake?
Please Help
29.05.2019
1405
views
11
comments
0
Abhishek Rangari
Level 22
Nagpur
Question about the task
DownloadException
Java Core
,
Level 8
,
Lesson 5
Under discussion
can anyone help me in this task
3rd condition is not satisfying..
19.12.2018
1472
views
5
comments
0
Thomas Yates
Level 16
Question about the task
Welcome! But not everyone.
Java Syntax
,
Level 9
,
Lesson 2
Resolved
The code is outputing the String if username != "user", and exits without returning anything when username = "user". The code still will not pass?
see code below:
24.02.2023
189
views
3
comments
0
Thomas Yates
Level 16
Question about the task
Binary to hexadecimal converter
Java Syntax
,
Level 11
,
Lesson 1
Resolved
I don't understan why the toBinary function will not pass?
When I run the verification, I keep failing the 2nd test as shown
10.03.2023
313
views
2
comments
0
Thomas Yates
Level 16
Question about the task
Filling an array
Java Syntax
,
Level 11
,
Lesson 5
Resolved
Odd array is failing...
I keep getting a failed status, even though the visible output seems right. What would be a type of input that would cause this to fail?
10.03.2023
196
views
2
comments
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 4
Resolved
I 'm stuck here,please help
please help...how to make a word looping n time
01.10.2022
327
views
2
comments
0
Shashank Kumar
Level 3
Jakarta
Question about the task
Conscription
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
stuck in the last point
how can we manure it print nothing?
21.12.2022
448
views
4
comments
0
matemate123
Level 50
Kraków
Question about the task
Inverted words
Java Multithreading
,
Level 2
,
Lesson 9
Resolved
File Encoding UTF-8
Hmm I think alghoritm it's not bad but I'm little tried and maybe I don't see something. When I put input from my coment result is exact, but when I copy from conditions: Example of file contents rat tar tart a a tot tot tot Result is with some squares, I think it's different format, I try I littl
09.03.2023
253
views
5
comments
0
Jill L
Level 10
China
Question about the task
Multiplication table
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
Plese Help, don't know what's wrong.
It seems to be stuck in an endless loop, I don't know where is causing this problem. 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 .......
25.02.2023
366
views
9
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Filled rectangle
Java Syntax
,
Level 4
,
Lesson 3
New
Solution
int n = 0; while (n < 5) { int m = 0; while (m < 10) { System.out.print("Q"); m++; } System.out.println(); n++; }
07.03.2023
130
views
0
comments
0
Vijay Anand Bukkuri
Level 2
Suri
Question about the task
"I'm here about the job..."
Java Syntax
,
Level 2
,
Lesson 0
New
declare intValue, numericValue, size,and number
int intValue=1, how? int numericValue=17, how? int size=8, how? int number=22, how? explain?
07.03.2023
161
views
0
comments
0
Mike S
Level 28
Saint Louis
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Resolved
Correct Output, But No Pass : /
This is so aggravating after having spent so much time to just get the output correct. Anyone have any tips here? I've played around with the trailing spaces and nothng works.
28.02.2023
185
views
4
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Broken keyboard
Java Syntax
,
Level 3
,
Lesson 9
Under discussion
Solution
Scanner sc = new Scanner(System.in); String str = sc.nextLine(); if(str.equalsIgnoreCase(secret ) == true){ System.out.println("Access granted"); }else { System.out.println("Access denied"); }
03.03.2023
198
views
0
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
I'll never work for peanuts
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
Solution
int n = 1; while(n < 101){ System.out.println(quote); n++; }
03.03.2023
190
views
0
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Everyone wants to be loved
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
Solution
Scanner sc = new Scanner(System.in); String str = sc.nextLine(); int i = 0; while(i < 10){ System.out.println(str+" "+text); i++; }
03.03.2023
148
views
0
comments
0
Denis
Level 22
Kharkiv
Question about the task
Maximum byte
Java Core
,
Level 8
,
Lesson 3
Under discussion
Help me pls
I cant understand
28.06.2019
1119
views
4
comments
0
alberto weber
Level 28
Poland
Question about the task
Minesweeper (Part 2/16)
Games
,
Level 0
,
Lesson 0
Resolved
Problem with build
Hi i have a problem with building my game. When i try to i get this error: C:\Users\User_PC\Downloads\CodeGymTasks\8.Games\src\com\codegym\games\minesweeper\MinesweeperGame.java:5:8 java: cannot access javafx.application.Application class file for javafx.application.Application not found i tri
18.02.2023
188
views
3
comments
0
Nitin Pawar
Level 27
Mumbai
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Under discussion
Can someone please help here ?
help
20.12.2019
1395
views
7
comments
2
Hoist
Level 32
San Diego
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Why is Mine Sweeper Game Still Failing > Ideas ? See attached -- run in both IntelliJ and the basic codegym IDE
package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; // using the CodeGym game engine (above); create a // new Class that inherits the Game Class engine (com.codegym.engine.cell.Game) public class MineSweeperGame extends Game { // declare a method - a function - in Class
19.02.2023
371
views
4
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Neo
Java Core
,
Level 3
,
Lesson 11
Resolved
How does this work?
two questions: 1) how to return a valid User object. It seems that the code does that but fail the test why? 2)The initializeIdAndName method must set the id and name fields using the arguments passed to it. which it does and yet I fail the test why?
15.03.2020
967
views
3
comments
1
Stefan Craia
Level 15
Bucharest
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Under discussion
It work but, i get this "The program must write absolutely all of the entered lines (including "exit") to the file, each on a new line."
package com.codegym.task.task13.task1319; import jdk.nashorn.internal.runtime.ECMAException; import java.io.*; /* Writing to a file from the console */ public class Solution { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(
01.10.2019
1104
views
3
comments
1
Raj Mishra
Level 14
India
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Under discussion
Why the case is failing
My code is working fine where I am writing everything into the file including exit. Then why so its failing?
15.06.2021
361
views
1
comment
1
shilpa keshri
Level 15
Mumbai
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
file reading...
the error is program displays too many errors...
30.03.2019
1540
views
7
comments
1
Show more
1
...
20
21
22
23
24
...
366
Please enable JavaScript to continue using this application.