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
gmb55
Level 25
Tarnów
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Resolved
Variable in while loop from run() method
Hi, I deleted last request because I didn't knew how to edit it. AzjaLevel 30 , Krakow 36 minutes ago Your code is working fine and "end" variable is updated but it is recommended to use "StringBuilder class" for string concatenation and it should use "getFileContents method" in "run method" becaus
19.08.2019
1461
views
4
comments
0
Michael Davis
Level 11
Mount Laurel
Question about the task
Minesweeper (Part 3/16)
Games
,
Level 0
,
Lesson 0
Under discussion
I'm declaring the constructor what am I missing?
package com.codegym.games.minesweeper; public class GameObject { public int x; public int y; GameObject (int x, int y) { } }
17.08.2019
1449
views
1
comment
0
Itachi
Level 16
Brooklyn
Question about the task
Minesweeper (Part 4/16)
Games
,
Level 0
,
Lesson 0
Under discussion
The createGame() method must be called in the initialize() method.
24.07.2019
1471
views
2
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Factorial
Java Core
,
Level 5
,
Lesson 12
Under discussion
Can't get it right
Help
16.08.2019
902
views
1
comment
0
Brandon Nicolle
Level 5
Edmonton
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Question about Syntax
Hello, So I know I can max this program work as intended by switching my nameCheck and ageCheck scanners so that it checks for a string first. I'm just wondering if there anyway to bypass having to put them in order to avoid errors. Obviously when you're coding you don't know when and what order yo
18.08.2019
1271
views
1
comment
0
Brandon Nicolle
Level 5
Edmonton
Question about the task
Multiplication table
Java Syntax
,
Level 4
,
Lesson 10
Under discussion
Can my code be cleaner?
This seems to work, I'm just wondering if it could be any cleaner or more compact?
18.08.2019
936
views
1
comment
0
Mykhailo Kuvshynov
Level 8
Dnipro
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Whats wrong?
can't figure out the problem :(
18.08.2019
932
views
1
comment
2
Ivan Robert Vecerina
Level 8
Warrington
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I don't understand what's wrong with my code. Please Help
So I came up with this code but I really got no idea what part is messing it up. Spent over a day with several breaks tryna crack it but can't.
17.08.2019
1419
views
2
comments
0
Divyansh
Level 4
Mathura
Question about the task
What's the cat's name?
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
Please Help !
Whats the problem ?
11.07.2019
1282
views
3
comments
0
Yashi Gupta
Level 17
Delhi
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Please tell me where i'm wrong?
Please tell me where i'm wrong?
14.08.2019
958
views
4
comments
0
Bartek J.
Level 13
Zielona Góra
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Resolved
What is wrong ?
Hey, Could u tell me what is wrong in my code ? It works properly.
18.08.2019
1134
views
1
comment
0
Bartek J.
Level 13
Zielona Góra
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Problem with : If the names are identical, display "The names are identical"
My code works great, but one Condition is not checked "If the names are identical, display "The names are identical". Does someone know why?
17.08.2019
1208
views
2
comments
0
Ahmed
Level 23
Amsterdam
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Don't know why it still doesn't accept the answer
Can anyone explain why it still doesn't accept my answer? When i run the application locally it does what i expected. Thanks!
06.05.2019
1648
views
6
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
OOP: Method overloading
Java Core
,
Level 5
,
Lesson 12
Under discussion
Wheres's the problem ?
Can't get
09.08.2019
952
views
1
comment
0
gmb55
Level 25
Tarnów
Question about the task
Following a pattern
Java Core
,
Level 6
,
Lesson 13
Resolved
2.5s?
What is wrong with this 2.5s?
17.08.2019
1322
views
1
comment
0
Talha
Level 5
Lahore
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
com/codegym/task/task03/task0316/Solution.java:13: error: reached end of file while parsing } ^
What should I do to finish this error?
08.08.2019
1132
views
1
comment
0
Patrick Lao
Level 2
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
My code does not match the 5th requirement. Need help.
1. Under 'public static void print(String s)', I have type in once: System.out.println("Java is easy to learn!"); System.out.println("Java opens many opportunities"); In the display, it showed 4 strings. Then why the 5 requirement is failing? 2. also what is the difference between public static v
06.08.2019
1073
views
3
comments
0
codeJavaster
Level 15
Goeteborg
Question about the task
Cats should not be abstract!
Java Core
,
Level 2
,
Lesson 6
Under discussion
How do I use getName method?
Could someone explain please?
07.08.2019
983
views
1
comment
0
Randall John
Level 19
East Cleveland
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
My Variable Values are Supposedly correct but I can't get the right answer.
When I enter 1,2,2,4,5, -1, it doesn't work. It gives me 2.0 instead of 2.8 for some reason :(
15.08.2019
1044
views
2
comments
0
Connor
Level 8
Boston
Question about the task
Create a Friend class
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
I'm not understanding the concept.
I've read and reread the lecture. But I think I'm just not understanding why we initialize something. Could someone give me a real world example of the uses? Also I don't get the syntax very well so if you want to help me out with that then I'd appreciate it but I absolutely don't mind learning th
25.04.2019
1386
views
2
comments
1
Ewerton
Level 30
Belo Horizonte
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Third requirement only. Help?
Don't know where is the problem. First time this occurs... And the statement / initial code from the website differs from Intellij plugin.
28.06.2019
1391
views
3
comments
0
Show How
Level 8
Newbury
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Why is this solution not working.
I have tested the code with different inputs and it gives the right output but not passing the most tests in codegym. I also tried changing List to ArrayList in the instant variable still no luck. Anybody please explain what I am doing wrong here? Thanks.
21.05.2019
1476
views
10
comments
0
arvindsid
Level 10
Chennai
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Check the createMap() method. The HashMap should consist of 10 entries that represent (last name, first name) pairs.
What is wrong with the create map method given below? public static HashMap<String, String> createMap() { HashMap<String, String> hashMap = new HashMap<String, String>(); hashMap.put("last","Peter"); hashMap.put("last","Andy"); hashMap.put("last","
07.03.2019
1632
views
4
comments
0
Aleksandar
Level 11
Skopje
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Can't pass verification
I tested my code and works fine. Any idea what's wrong?
14.08.2019
1158
views
2
comments
2
Niladri pradhan
Level 33
Mumbai
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Why i get so many failed verification
please help
16.08.2019
893
views
1
comment
0
Luyi
Level 31
Kosice
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
any tips?
Hi all, could you please give me some tips?
15.08.2019
1033
views
2
comments
0
Laurap5
Level 9
Vilnius
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Please help :(
I'm not really sure, why it doesn't work :( Error: If the number is negative and odd, display "Negative odd number".
11.11.2018
2142
views
9
comments
0
Husain Kothari
Level 20
Mumbai
Question about the task
Even characters
Java Core
,
Level 9
,
Lesson 5
Resolved
I am using FileWriter but the verifier asks me to use FileWriter
Since I am already using File writer I dont get why my code is not verifying the use FileWriter condition.
28.07.2019
1394
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
give me a help pls
i need a full code
28.06.2019
1222
views
1
comment
0
OnigiriByte
Level 16
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Is there a solution without making a copy of the HashMap?
So I managed to solve problems like this by making a copy which seems easier, but I wanted to know other ways without using a copy and not getting the ConcurrentModificationException. I've already solved it using a copy, but It would be appreciated if I could get comments with hints, or dm a soluti
28.01.2019
1789
views
8
comments
0
Show more
1
...
281
282
283
284
285
...
366
Please enable JavaScript to continue using this application.