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
Chrizzly
Level 12
Earth
Question about the task
Multiplication table
Java Syntax
,
Level 5
,
Lesson 4
Resolved
Why is this solution for the multiplication table not accepted?
Hello everyone :) Do you see, why my solution is not accepted? I created a multiplication table with the help of a nested for loop and filled the 2D array with it. The output is a 10 × 10 multiplication table, separated by a space. Thank you for your time.
12/5/22
795
views
3
comments
0
Alex
Level 4
Question about the task
Positive and negative numbers
Java Syntax
,
Level 3
,
Lesson 10
Resolved
Not sure where i am going wrong
hi guys, i am still very new so i am sorry if my way of thinking/code is wrong. i am able to get this so that it displays the number of negative vs positive numbers however when verifying it is failing. any help/advice would be appreciated. thanks
3/21/22
886
views
3
comments
0
hendra gunawan
Level 9
tebing tinggi
Question about the task
Multiplication table
Java Syntax
,
Level 6
,
Lesson 5
Resolved
please help...I'm stuck now
how solving this problem
11/29/22
589
views
3
comments
0
Nikita Petrov
Level 30
Astrakhan
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
Help needed
Hey, guys! Maybe, someone could help me out with this. This code returns a correct solution for all mentioned examples ("a" tag, nested tags), but still doesn't verify. Guess, I'm missing some variant of an input file. Thanks!
11/26/22
642
views
6
comments
0
Justin Smith
Level 41
Greenfield, USA
Question about the task
What is ClassLoader?
Java Collections
,
Level 5
,
Lesson 10
New
I seem to be stuck
Here is what I have worked with so far: public static Set getAllAnimals(String pathToAnimals) { Set returnSet = new HashSet<>(); File packageFolder = new File(pathToAnimals); if(packageFolder.isDirectory()) { try {
12/2/22
347
views
0
comments
0
David
Level 26
Bucharest
Question about the task
John Johnson
Java Core
,
Level 9
,
Lesson 11
Resolved
Help!!
It doesn't even print anything. Where is the mistake?
7/7/20
733
views
2
comments
2
Tina
Level 17
Saint Petersburg
Question about the task
OOP: Method overloading
Java Core
,
Level 5
,
Lesson 12
Under discussion
Why does not pass the test
what's wrong? Why does not pass the test
6/17/19
1626
views
4
comments
0
hidden #10994753
Level 46
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Resolved
The code seems working correctly but it was not validated !
Hello EveryOne, As you read in the title, the code works correctly and seems covering the requirements ! but the validator keeps refusing to validate it, thanks in advance for your help. The file passed as the second argument to main must be renamed to allFilesContent.txt. => Line 21 You need to
11/27/22
839
views
4
comments
0
matemate123
Level 50
Kraków
Question about the task
StringLinkedList
Java Syntax
,
Level 14
,
Lesson 5
Under discussion
I don't know how to start it.
I sat on this task and I had null in my mind. Help me how I start it :( /* StringLinkedList */ public class Solution { public static void main(String[] args) { StringLinkedList stringLinkedList = new StringLinkedList(); stringLinkedList.add("1"); stringLinkedList.add
11/20/22
800
views
14
comments
0
Riccardo
Level 33
Question about the task
OOP: Books
Java Core
,
Level 5
,
Lesson 2
Under discussion
Why the System.out.println(books) method returns the value of getOutputByBookType()
Hello, Could you explain to me why in the OOP: Books task the System.out.println(books) method returns the value of getOutputByBookType() if this is not called? thank you
11/28/22
364
views
1
comment
0
jacob
Level 1
Port Saint Lucie
New
light mode
how do I change it to light mode?
11/28/22
354
views
0
comments
0
Hafsah Jilanee
Level 10
Karachi
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Each method must return the name of the method that called it. THIRD Requirement not being met please help
Although this seems okay to me the third requirement is not being fulfilled
10/30/22
443
views
2
comments
0
Benjamin Winchester
Level 17
Savannah
Question about the task
Static modifiers and kittens
Java Core
,
Level 5
,
Lesson 9
Under discussion
Not sure what Im doing wrong
Cat cat is initialized in the static block. String name is set in the static block. Cat.name is displayed in the static block.
12/4/18
1864
views
6
comments
0
priyantha s
Level 8
Question about the task
Remove duplicate strings
Java Syntax
,
Level 6
,
Lesson 4
Under discussion
what's wrong with my code
Scanner in = new Scanner(System.in); String[] strings = new String[6]; for (int i = 0; i < strings.length; i++) { strings[i]=in.nextLine(); } String currentString = ""; for (int i=0; i< 6 ;i++) { curre
11/27/22
361
views
1
comment
0
Jaime Padilla
Level 41
Chandler
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Under discussion
Checking if I am on the right track
It's outputting the correct code in my tests, but after seeing how many people are struggling with this, I know there must be more to it and I am missing something
11/24/22
383
views
2
comments
0
matemate123
Level 50
Kraków
Question about the task
Types of polygons
Java Syntax
,
Level 14
,
Lesson 7
Archived
Something wrong, or task is broken?
Something wrong, or task is broken?
11/25/22
362
views
1
comment
0
Shambel Gonfa
Level 3
Chennai
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
How can I use the method "min(int a, int b)" ?
package com.codegym.task.task02.task0217;
5/26/20
1689
views
3
comments
0
krystian
Level 9
Kozle
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Sorting three numbers - help
I think I have included everything. Could you please check that? import java.io.*;
11/30/19
1261
views
3
comments
0
mona
Level 7
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
HELP ME..
please explain what problem...and solve it.. public class Solution {
9/18/20
1021
views
2
comments
0
Henrique
Level 41
São Paulo
Question about the task
Chat (part 22)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
What should I do to make the chat work?
For everything I type, I receive "An error occurred while working with the client." Is there something specific that I should be typing? What? I trie "localhost" and then "8080" (which were suggested by someone) and nothing happens. There's no chat at all. Enter server address: localhost Enter s
8/10/20
567
views
2
comments
2
Levi Melangton
Level 4
Huntsville
Under discussion
Password issues with gmail account creation
Hey, so I signed up with the gmail account button option rather than typing in a username and password, and now I can't complete my account creation. To complete my account creation, I am being asked to set a password. However, it is asking for my old password to set a new password.. confusing right
11/25/22
362
views
1
comment
0
J
Level 41
Wilson
Question about the task
Recursion for mathematical expressions
Java Collections
,
Level 4
,
Lesson 2
New
Correct output,
Does anyone know why this will not pass? I've looked at others' code and eventually implemented some code I found online for the parsing which seems to be accurate for the cases that I've tried.
11/25/22
377
views
0
comments
0
Wei Cui
Level 39
Newark
Question about the task
Shortener (4)
Java Collections
,
Level 6
,
Lesson 15
Under discussion
passed, but dont know meaning
public static String generateRandomString() { return new BigInteger(130, new SecureRandom()).toString(36); } could someone help me explaining what toString(36) meaning here
4/21/20
1002
views
2
comments
0
Suraj
Level 5
Coimbatore
Question about the task
Product of 10 numbers
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Can anyone help me? My output almost correct but the test condition not matched even if i tried with for loop. please help me?
System.out.println(310000 * 10);
6/5/19
2055
views
7
comments
0
Jaime Padilla
Level 41
Chandler
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Resolved
More strict verification problems?
Or am I missing something? Seems to work in tests, but I could be missing something
11/19/22
687
views
9
comments
0
SethuRama Subramanian
Level 4
Question about the task
Three numbers
Java Syntax
,
Level 3
,
Lesson 5
Resolved
Why this code is not passing testing?
Can someone please explain what's wrong with my code? Is there any error with my code or with the compiler? Thanks in advance!
11/18/22
459
views
5
comments
0
Mourya Ghosh
Level 1
Under discussion
Understanding nextLine() mehod
When I use nextInt() method first to input an integer and after that I use nextLine() to input a string with spaces, it doesn't work for some reason .... I know I haven't explained the problem well but I don't know how to either... Please help if you can
11/20/22
458
views
1
comment
0
Anonymous #11168903
Level 3
Elizabeth
Question about the task
Warm or cold
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Can't satisfied all 4 requirements. Either 3rd or 4th
Hello community! I stuck with this task and need help. It looks like I accomplished the task but have problems with requirements 3 and 4. Depends on what temperature I put requirement 3 or 4 not satisfied. Please help
11/20/22
572
views
3
comments
0
Gellert Varga
Level 23
Szekesfehervar
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Resolved
Do I understand the requirements correctly?
Requirement: "ADDED and REMOVED tags cannot be used consecutively - they must always be separated by the SAME tag." QUESTION ONE: Does this requirement mean that the following two conditions should met together? 1) The person who updated the file did never delete two or more lines at once, but for
10/4/21
1023
views
7
comments
1
matemate123
Level 50
Kraków
Question about the task
Minesweeper (Part 9/16)
Games
,
Level 0
,
Lesson 0
Resolved
Another first condition.. :)
I tried many things but without success. Maybe you'll see what's wrong and a little help me. Thanks!
11/19/22
552
views
2
comments
0
Show more
1
...
37
38
39
40
41
...
374
Please enable JavaScript to continue using this application.