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
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....
6/6/19
2057
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?
6/28/19
1368
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 (..............) {
3/12/23
451
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
5/29/19
1841
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..
12/19/18
1801
views
5
comments
0
Thomas Yates
Level 1
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:
2/24/23
405
views
3
comments
0
Thomas Yates
Level 1
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
3/10/23
614
views
2
comments
0
Thomas Yates
Level 1
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?
3/10/23
436
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
10/1/22
633
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?
12/21/22
853
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
3/9/23
563
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 .......
2/25/23
835
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++; }
3/7/23
381
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?
3/7/23
365
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.
2/28/23
433
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"); }
3/3/23
441
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++; }
3/3/23
424
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++; }
3/3/23
383
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
6/28/19
1363
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
2/18/23
404
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
12/20/19
1822
views
7
comments
2
Hoist
Level 17
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
2/19/23
856
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?
3/15/20
1285
views
3
comments
1
Stefan Craia
Level 3
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(
10/1/19
1751
views
3
comments
1
Raj Mishra
Level 2
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?
6/15/21
618
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...
3/30/19
2060
views
7
comments
1
Liliane Top
Level 17
Amsterdam
Question about the task
Parameterized interface
Java Core
,
Level 3
,
Lesson 2
Resolved
What is requested
I do not understand the question. Can someone please explain to me what we are suppose to do here? The question is not clear at all.
3/7/20
1633
views
12
comments
1
shovan
Level 22
Kolkata
Question about the task
Parameterized interface
Java Core
,
Level 3
,
Lesson 2
Resolved
please help
how to use string parameter in the interface implementation???
6/11/19
2226
views
3
comments
1
AlfredW
Level 23
Denver
Question about the task
SimpleObject interface
Java Core
,
Level 3
,
Lesson 11
Under discussion
Ha ha I am completely clueless as to why this wont verify.
Ha ha I am completely clueless as to why this wont verify.
8/4/20
758
views
3
comments
1
Pac-w
Level 22
Question about the task
Countdown at the races
Java Core
,
Level 6
,
Lesson 10
Under discussion
Thread interruption
I don't a get question i guess, because numSeconds never will be equals to 4. Please, help me to find solution for this task and tell me why it's not valid answer.
9/28/21
570
views
3
comments
1
Show more
1
...
30
31
32
33
34
...
374
Please enable JavaScript to continue using this application.