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
Tamba Denis Valentin
Level 1
Bacau
Question about the task
Octal converter
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
Doesn't pass the verification
Can somebody tell my why this code doesn't pass? I know the values aren't right but I followed the algorithm and I don't understand where is the mistake.
5/9/23
412
views
1
comment
0
Jaime Padilla
Level 20
Chandler
Question about the task
Types of polygons
Java Syntax
,
Level 14
,
Lesson 7
Archived
Broken Task
This task is broken as well. This code completely works as asked, but the method has a different name than what is required to pass. This task will not pass unless you match the method name they use in their solution, which is" getShapeNameByCountOfCorners" instead of the default get "ShapeNameByCo
8/7/22
627
views
0
comments
2
Justin Smith
Level 41
Greenfield, USA
Question about the task
Fill 'er up
Java Collections
,
Level 9
,
Lesson 9
Under discussion
Won't pass validation
My approach to this was to create a Pixel class (so that I have an object that stores both an x and y coordinate), and add and remove Pixel objects from ArrayLists. The general process is like this: 1. Maintain an ArrayList of Pixel objects that are confirmed to be changing color called pixelsToChan
5/4/23
693
views
6
comments
0
Dave Andrea
Level 41
Question about the task
Stairs
Java Collections
,
Level 9
,
Lesson 9
Under discussion
Can someone explain what the question is asking?
I think I am picturing the situation in this task incorrectly. The validator claims I'm wrong, and the other 2 people asking questions in the help section have answers that are not only completely different than mine, but I also can't make sense of them based on how I am picturing this in my mind.
10/2/20
505
views
1
comment
0
youssef hamed
Level 2
egy
Under discussion
connect java to sql
if I have a html, css and js website which I want to connect to sql how can I make it happen using java
5/2/23
326
views
1
comment
0
Name
Level 14
Question about the task
The isomorphs are coming
Java Core
,
Level 2
,
Lesson 12
Under discussion
Where is the problem?
I see two methods: main and getMinimumAndIndex. What's wrong?
4/10/20
1008
views
2
comments
1
Papa's Playhouse
Level 3
United States of America
Question about the task
Count the number of cats
Java Syntax
,
Level 3
,
Lesson 5
Under discussion
trying to understand the question so i can figure out the answer. Just not sure. don't need to use .this because its all public. Kinda lost here.
Really lost in this assignment. I am a big guesser. So i just keep typing code till something sticks. This is not good. Not sure how to assign and what i am assigning anything to. I tried going back to the beginning lessons and try starting all over, but for some reason once you complete a task,
5/1/23
564
views
1
comment
0
catalinene
Level 29
Greven
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Under discussion
Output looks good with a local file on computer
Output looks good with a local file on my computer, fails the last condition unfortunately. Recommendation says it counts more instances of the word "world". Why or how?
3/14/20
1266
views
2
comments
2
Denis
Level 22
Kharkiv
Question about the task
Reinforce the adapter
Java Core
,
Level 9
,
Lesson 3
Under discussion
Help me pls guys
Need help
6/29/19
1851
views
3
comments
0
Lee Yung
Level 1
Question about the task
2048 (Part 4/18)
Games
,
Level 0
,
Lesson 2
Under discussion
HOW I GOT MY BROKEN MARRIAGE FIXED UP AGAIN CHOOSING DR GBOGBO AS MY LAST OPTION OF WHICH I DIDN'T REGRET BECAUSE HE GOT MY MARRIAGE FIXED
HOW I GOT MY BROKEN MARRIAGE FIXED UP AGAIN CHOOSING DR GBOGBO AS MY LAST OPTION OF WHICH I DIDN'T REGRET BECAUSE HE GOT MY MARRIAGE FIXED Email: Drgbogbospellcaster@gmail.com Whatsapp: +234 703 166 3661 This testimony is about the good work of Dr Gbogbo who fixed my broken marriage.
4/3/23
458
views
1
comment
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Yet another adapter
Java Core
,
Level 9
,
Lesson 3
Resolved
how can i save the date???
Pls, hint with explanation, tk you! :)
8/27/20
809
views
4
comments
0
Maria
Level 22
Moscow
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
I dont understands how to fing max w/o arrays...
Help
10/22/20
881
views
4
comments
1
dhanush
Level 30
Chennai
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Resolved
need help
Donno what is wrong!!
10/3/20
708
views
5
comments
1
Maryem Vickers
Level 7
HT...
Question about the task
Distance between two points
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
How do I do this?!
I can't figure out how to find a distance between the co-ordinations. Code: (it won't allow me to share it...) package com.codegym.task.task06.task0609; /* Distance between two points */ public class Util { public static double getDistance(int x1, int y1, int x2, int y2) { //write
9/25/20
771
views
5
comments
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Reading and writing static fields to a file
Java Core
,
Level 10
,
Lesson 2
Under discussion
Not passing first conditions!
Any hint? I have no idea what to do next... all i did is to replicate the model from the lesson and is not working. Tk you!
8/31/20
678
views
2
comments
0
Matthew Max
Level 29
Giza
Question about the task
Rectangle algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
This is my solution if it can help
hope it could help someone
8/24/20
1067
views
6
comments
2
tony
Level 20
Nis
Question about the task
Class counter
Java Syntax
,
Level 6
,
Lesson 8
Resolved
What's wrong
Any idea what's wrong here?
11/27/18
2351
views
8
comments
0
Anonymous #10987379
Level 22
Question about the task
Binary to hexadecimal converter
Java Syntax
,
Level 9
,
Lesson 2
Resolved
What is going wrong in my toBinary(String) method?
I have tested it with various online calculators, and it seems to output the correct solution. Additionally, I looked through the other questions pertaining to this task, but I must be missing something because I cannot figure out where I am going wrong. Any help, even if it is just an input that do
6/4/22
657
views
2
comments
1
Isma
Level 1
Madrid
Under discussion
IntelliJ shows you need the CodeGymTasks project to continue. Download it?
I've been working in the same project since the first level. When I download the project it's empty as if any of the tasks had been completed. How can I fix this issue?
1/21/21
687
views
3
comments
3
Willi Ehrmann
Level 37
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Under discussion
Code works but last Condition is not validating? I checked for a lot of cases and didn't find an error so far. plz help.
import java.util.ArrayList; import java.util.List; /* Word search */ public class Solution { public static void main(String[] args) { // int[][] wordSearch = new int[][]{ // {'f', 'd', 'e', 'r', 'l', 'k'}, // {'u', 's', 'a', 'm', 'e', 'o'}, //
4/21/23
375
views
1
comment
0
Anonymous #11100313
Level 24
Question about the task
R or L
Java Syntax
,
Level 13
,
Lesson 5
Resolved
Please help I keep getting OutOfMemoryError: Java heap space
I don't know how to solve this error :((
4/13/23
423
views
2
comments
0
matemate123
Level 50
Kraków
Question about the task
Knowledge is power!
Java Multithreading
,
Level 4
,
Lesson 9
Resolved
Guys I need a little explanation
I read today a little code with MessageFormat and Choice format class but my mind got a little confusion. I haven't enough understanding what's going on, and why in situation in this task in printStocks method. I had IllegalArgumentException, I had to add one "null" to Format[] testFormats = {null,
4/17/23
515
views
4
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Conscription
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Solution
Scanner scanner = new Scanner(System.in); String name = scanner.nextLine(); int age = scanner.nextInt(); if (age >= 18) { if (age <= 28) { System.out.println(name + militaryCommissar); } } }
2/19/23
454
views
2
comments
0
Nitin Saini
Level 4
Question about the task
Quadrants
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
what's wrong with this task
I have written everything correctly but still it is showing error please help at your earliest
3/23/23
528
views
4
comments
0
hidden #10994753
Level 46
Question about the task
CashMachine (part 11)
Java Collections
,
Level 9
,
Lesson 15
Resolved
Infinite loop !
Hello everyone, Please, can someone tell me why the validator keeps telling me that I have an infinite loop (in LoginCommand implementation)? Thanks.
4/16/23
477
views
3
comments
0
Anonymous #11263925
Level 11
United States of America
Question about the task
Remove duplicate strings
Java Syntax
,
Level 7
,
Lesson 3
Under discussion
Fails validation
The code seems to be working but is failing validation. Cam someone pls tell why?
2/9/23
401
views
1
comment
1
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Looking for the maximum
Java Syntax
,
Level 3
,
Lesson 7
Under discussion
Solution
Scanner scanner = new Scanner(System.in); int numberA = scanner.nextInt(); int numberB = scanner.nextInt(); int main = numberA > numberB ? numberA :numberB; System.out.println(main);
2/20/23
447
views
1
comment
1
seanyt
Level 2
Bangkok
Under discussion
tivsub
u
4/13/23
372
views
1
comment
0
Willi Ehrmann
Level 37
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Under discussion
Why do I get this strange error?
import java.io.*; import java.util.*; /* Introducing properties */ public class Solution { public static Map properties = new HashMap<>(); public void fillInPropertiesMap() throws Exception { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.
4/12/23
372
views
1
comment
0
John
Level 17
Mansfield
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
Can someone explain what's happening?
How can i able to solve these task, it's not explained well yet and as i seek for the solution of others it's very confusing because of very unfamiliar methods . someone explain to me or give me link or something :(
4/17/21
1174
views
10
comments
2
Show more
1
...
27
28
29
30
31
...
374
Please enable JavaScript to continue using this application.