Promotion
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
Tom ford
Level 15
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Code does exactly what is required. Not sure why it is not verified.
Please help.
26.09.2020
333
views
2
comments
0
Kuba Miałkowski
Level 23
Brzesko
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Under discussion
When the program is started with the arguments "-u id productName price quantity", the product information in the file should be updated.
I think my solution is working, it's updating passed id on the same line but for some reason validation is not passing. Maybe there is something that i missed or don't understand. Every bit of help is appreciated :)
29.07.2019
1074
views
0
comments
1
Arturs Teihmanis
Level 13
Jurmala
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Be sure that the removeAllNumbersGreaterThan10 method works with sets of any size.
Hi, can anybody can give me a hint/help. Trying to figure out my mistake. When trying only this block of code "two sets, iterate set,, set2.add, set.removeAll(set2)" works fine...
19.09.2020
501
views
6
comments
0
sachin
Level 0
Under discussion
course langiage
how to change language of course
18.07.2020
306
views
1
comment
0
Lawson
Level 29
Lagos
Question about the task
StringTokenizer
Java Multithreading
,
Level 2
,
Lesson 13
Under discussion
Pls help
it doesn't verify
14.09.2020
353
views
4
comments
0
Tuan Dinh
Level 11
hanoi
Question about the task
Constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Why "color= new Color();" not " Color color=new Color(); "
Please explain me this matter. Thanks.
27.09.2020
624
views
1
comment
0
Mariam
Level 9
Columbus
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Compiler Says my code Does NOT but it DOES
Compiler: "The program should read from the keyboard the name of the month and display its number on the screen according to the specified template."
24.09.2020
298
views
2
comments
0
Carli Eubanks
Level 15
San Diego
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Need a set of fresh eyes
I've gone over this repeatedly, but can't find the mistake. It keeps coming back saying it can't find a constructor for father. I would really appreciate some advice on what I did wrong and how to fix it.
26.09.2020
285
views
2
comments
0
Stephen Haokip
Level 8
imphal
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Resolved
guys third condition is not met
please help me
24.06.2020
699
views
2
comments
0
Chris
Level 19
Newark
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
Im not sure what I am supposed to do here.
Is it asking me to create 10 new strings or use the array?
12.09.2020
852
views
2
comments
0
ThomasLC
Level 16
Singapore
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Under discussion
Last condition not met plus strange bug
Code executes okay, just that there's this weird thing where it'll always print an extra empty string after a (Double) Entry. Help would be appreciated :)
25.05.2019
1401
views
7
comments
0
Dinesh
Level 7
Delhi
Question about the task
Printing strings
Java Syntax
,
Level 3
,
Lesson 5
Resolved
What is wrong with my writeToConsole method inside main()?
public class Solution { public static void main(String[] args) { public static void writeToConsole("Hello, World!"); } public static void writeToConsole(String s) { //write your code here System.out.println("printing: "+ s); } }
29.04.2020
836
views
2
comments
2
isaacfibo
Level 24
Huntington
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Resolved
Can't pass the last one...Help pls!!!
Don't know why the last one won't pass.
22.09.2020
273
views
5
comments
0
Branka
Level 41
Belgrade
Question about the task
Snake (part 12)
Java Multithreading
,
Level 2
,
Lesson 18
Under discussion
The method must be called on a Room object?
Hello, I am not quite sure what other Room object should call the mentioned methods in main, apart from the game object. I'd be really grateful if someone could point out what's wrong in my code. Thanks a bunch. Branka
11.04.2020
947
views
11
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Threads of a string or stringy threads? That's the question
Java Multithreading
,
Level 2
,
Lesson 5
Resolved
What's the meaning of the last requirement?
I am not sure what's the requirements want. To my understanding each method should show the text in the conditions which my code does, but it's not verified. Can anyone explain it please? Thanks.
04.04.2019
1769
views
11
comments
0
hidden #10447638
Level 22
Question about the task
Minimum number of statics
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Why does "step" variable needs to be static?
I don't quite understand why the variable needs to be static. I know method1 needs to be static because it's called by main (which is static), and method2 because it's called by method1. package com.codegym.task.task06.task0616; /* Minimum number of statics */ public class Solution { stat
04.06.2019
1770
views
8
comments
0
Carli Eubanks
Level 15
San Diego
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Resolved
I'm lost
I've tried a lot of variations, but it's not working. I don't know how to fix it so any advice would be greatly appreciated.
25.09.2020
494
views
2
comments
0
Buba
Level 6
Trebic
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
where is the problem?
Is it because i use array? Output of the program shows correct maximum. Please someone give me a hint. Thanks
13.09.2020
555
views
7
comments
0
sourav bamotra
Level 20
jammu
Question about the task
Horse racing
Java Core
,
Level 6
,
Lesson 5
Under discussion
passed the task...but i am bit confused.
we haven't started the thread anywhere through which our run() method will run(i.e "new Thread(horse.get(index)).start()"). Then how we will reach the code inside the run() method. Help out please!!
25.09.2020
436
views
6
comments
0
Yuliya Samsonava
Level 3
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Non-static variable wife cannot be referenced from static content
package com.codegym.task.task02.task0204; /* Family relations */ public class Solution { public static void main(String[] args) { // Woman woman = new Woman(); Man man = new Man(); Man.wife = Woman; Woman.husband = Man; } public static clas
19.09.2020
675
views
2
comments
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Using RandomAccessFile
Java Collections
,
Level 2
,
Lesson 2
Resolved
How i can convert string to text?
How i find is text is the same? 🤔
22.09.2020
503
views
2
comments
0
Maryem Vickers
Level 7
HT...
Question about the task
Class counter
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
I've run out.
What do I do if I run out of dark matter and I can't get any more?! I faced this terrible problem already... :<
05.09.2020
513
views
4
comments
0
Adam Szczepański
Level 18
Siedlce
Under discussion
Minesweeper (part 15/16)
I can't fullfill the requestst - when I try this: private void restart() { isGameStopped = false; countClosedTiles = SIDE * SIDE; score = 0; setScore(score); countMinesOnField = 0; } I got following error: The createGame() method must clear all items (flags, mines
24.09.2020
244
views
2
comments
0
Bohdan
Level 8
Milan
Question about the task
Space Invaders (Part 34/34)
Games
,
Level 0
,
Lesson 6
Resolved
Bug
SHAPEMATRIX package com.codegym.games.spaceinvaders; public class ShapeMatrix { public static final int[][] ENEMY = new int[][]{ {7, 0, 7}, {7, 7, 7}, {0, 7, 0} }; public static final int[][] PLAYER = new int[][]{ {0, 0, 6, 0, 0},
18.09.2020
453
views
3
comments
0
vamsi mokari
Level 13
Hyderabad
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
whats the issue in my code
package com.codegym.task.task08.task0823; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.*; /* Going national */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader =
25.09.2020
355
views
1
comment
0
mona
Level 7
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
please
please correct the error
24.09.2020
554
views
6
comments
0
Tamas Horcsak
Level 18
Leeds
Question about the task
Seeing dollars in your future
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
why my code is not accepted
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { int i = 0; while(i < 10){ int f = 0; while(f < 10){ System.out.print("$ "); f++; }
24.09.2020
335
views
3
comments
0
Jac
Level 7
Birmingham
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
It's not passing the second to last requirement. Can someone help me find out why?
package com.codegym.task.task05.task0532; import java.util.Scanner; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { Scanner input = new Scanner(System.in); int maximum = Integer.MIN_VALUE; while(i
23.09.2020
250
views
2
comments
0
Shadow
Level 7
Hogsmead
Question about the task
Max constructors
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Helppp
helpppl!!!!!
24.09.2020
460
views
1
comment
0
Mateusz
Level 36
Wroclaw
Question about the task
HTML Editor (part 8)
Java Multithreading
,
Level 8
,
Lesson 15
Resolved
Tip for this taks
Hi small Tip: Don't override all method in the package "action". Take(override ) only public void actionPerformed(ActionEvent e) method.
25.02.2020
894
views
3
comments
0
Show more
1
...
125
126
127
128
129
...
366
Please enable JavaScript to continue using this application.