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
Kasia
Level 22
Zabrze
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Help with sorting the code problem
The output is correct but it doesn't pass the last verification statement (The min(a, b, c, d) method must return the minimum of the numbers a, b, c, and d.) Any help appreciate (and apologies for not presenting the code in my first attempt to ask for help:))
10/1/20
698
views
4
comments
0
sergio
Level 7
Colorado
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
im lost please help
im lost....
10/1/20
739
views
4
comments
0
Craig
Level 8
Naperville
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Can someone help me make sense of why this is failing?
thanks
10/1/20
543
views
2
comments
0
AlfredW
Level 23
Denver
Question about the task
Two in one
Java Core
,
Level 8
,
Lesson 11
Under discussion
This is working perfectly, but it won't verify.
I don't understand why this won't verify. I have tested it and it works perfectly. Here are the files created. As you can see the second and third files are added to the first. So I don't understand the messages in the verification.
10/1/20
517
views
2
comments
0
WIDMO
Level 25
Gdańsk
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
HELP please.
I tried 0/1 at the beginning, I also used something like this: public static ArrayList<Long> list; if (N>1) list.add(1l); if (N>2) list.add(2l); if (N>3) list.add(3l); if (N>4) list.add(4l); if (N>5) list.add(5l); if (N>6) lis
8/15/20
889
views
5
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Where is the problem in my code?
Getting errors for showing middle and two of three equal requirements!
8/26/18
2021
views
9
comments
0
Tom ford
Level 15
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Last check not passing
Help
9/29/20
623
views
2
comments
0
Pablo Souza
Level 22
Brisbane
Question about the task
Faster together? We'll see :)
Java Core
,
Level 7
,
Lesson 2
Under discussion
Can't quite understand
Could anyone please explain what's going on in this program? I don't understand what it's supposed to help us visualise. When I run the program, I don't understand why it's flagging false when results is identical to expected results (I decreased the size of the array to 50 so I could make sure that
4/28/20
985
views
2
comments
1
Yuliya Samsonava
Level 3
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
illegal start of expression line 21, position 358
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { // int m; if (f <= c && a <= d) { m = f; } else if (c <= f && c <
9/23/20
845
views
5
comments
0
Шарох
Level 12
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Hello coders!
what's the problem with my code?
9/28/20
893
views
4
comments
0
David
Level 26
Bucharest
Question about the task
Refactoring Rectangle
Java Multithreading
,
Level 4
,
Lesson 4
Resolved
Why??
First I have tried this and didn't work: public HasWidth castToHasWidth() { class Inneer implements HasWidth{ @Override public double getWidth() { return Math.abs(point1.getX() - point2.getX()); } }
9/30/20
656
views
2
comments
0
Tamas Horcsak
Level 18
Leeds
Question about the task
ConsoleReader class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
I could do this task but my question is: I thought normally we need to invoke the Scanner once in the main method but didn't work and then I tried in the first line of ConsolReader class but didnt work. I thought once we imported the Scanner class it is reachable anywhere within the package. So not
package com.codegym.task.task06.task0610; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class ConsoleReader { //Scanner sc = new Scanner(System.in); public static String readString() throws Exception { Scanner sc = new Scanner(System.
10/1/20
653
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Creating threads recursively
Java Core
,
Level 6
,
Lesson 13
Under discussion
What is wrong in my code?
output: 1 created 2 created 3 created 5 created 7 created 4 created 10 created 12 created 14 created 8 created 6 created 15 created 13 created 11 created 9 created
2/28/19
2110
views
6
comments
0
Chris
Level 19
Newark
Question about the task
Checking the order
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
How to solve
Can someone please help me finish this one. I've been stuck on this chapter for 2 weeks.
9/26/20
502
views
3
comments
0
Rim
Level 11
Bucharest
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
why it don t pass the test
its run but i dont pass condition3
10/1/20
693
views
1
comment
0
sergio
Level 7
Colorado
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
not sure whats wrong
it keeps telling me there is a problem with line 11 ')' ????
9/30/20
641
views
3
comments
0
Chris
Level 19
Newark
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Can someone please help.
I am really confused I guess in the directions. By reversing the array doesn't that mean you are reversing the contents inside the array as well?
9/30/20
589
views
1
comment
0
Ilia Kalugin
Level 25
Novara
Question about the task
Minesweeper (Part 9/16)
Games
,
Level 0
,
Lesson 0
Resolved
I am stuck
The first condition is not met
9/27/20
585
views
3
comments
0
Lars Hoogma
Level 19
Sneek
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Resolved
Can anyone explain why my 3rd and 4th requirements are not met?
package com.codegym.task.task18.task1828; /* Prices 2 */ import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) throws IOException { //The program should read a file name for CrUD operations from the console. BufferedReader read
9/30/20
666
views
2
comments
0
gabe
Level 6
Greenville
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
dunno what went wrong
title
9/30/20
833
views
2
comments
0
Alexandre Lalancette
Level 41
Quebec
Question about the task
Chat (part 16)
Java Multithreading
,
Level 6
,
Lesson 15
Under discussion
Is there a bug or something with the validation tool?
I don't understand what is wrong with the code...
1/17/20
1448
views
7
comments
0
Carli Eubanks
Level 15
San Diego
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Resolved
I keep failing the third condition
The output came back correct, but the third condition failed. I can't find the error so any help would be greatly appreciated.
9/29/20
822
views
5
comments
2
Lawson
Level 29
Lagos
Question about the task
Arkanoid (part 9)
Java Multithreading
,
Level 3
,
Lesson 13
Resolved
Help plssssss.....
Pls I've tried all I can and it keeps saying It doesn't initialise correctly
9/26/20
478
views
5
comments
0
Dorin Chira
Level 15
Horsens
Question about the task
OOP: Books
Java Core
,
Level 5
,
Lesson 2
Under discussion
The problem everybody has
The MarkTwainBook class constructor should call the constructor of the parent class (Book) with the argument "Mark Twain". To pass this you have to name the field: "title" . or you wont pass. I was using bookTitle and it was giving me errors
9/29/20
558
views
1
comment
0
Wouter Van Kerschaver
Level 6
Oostende
Question about the task
Snake game (Part 4/20)
Games
,
Level 0
,
Lesson 1
Resolved
draw method must be called on created apple
As far as i can see i am using the draw method on the created apple ..........
7/15/19
2780
views
5
comments
2
Павел Артеменко
Level 41
Krasnodar
Question about the task
2048 (part 15)
Java Multithreading
,
Level 10
,
Lesson 15
Under discussion
What am I doing wrong?
Somehow can't get it verified.
5/31/19
1721
views
4
comments
0
umidbek
Level 17
Tashkent
Question about the task
Visitors
Java Core
,
Level 2
,
Lesson 12
Resolved
What is the problem here? The first requirement isn't accepted.
public class Solution { public static void main(String[] args) { System.out.println(getObjectType(new Cat())); System.out.println(getObjectType(new Tiger())); System.out.println(getObjectType(new Lion())); System.out.println(getObjectType(new Bull())); Sys
9/29/20
638
views
4
comments
0
Seferi
Level 22
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
whats wrong with the switch statement?
Help is appreciated
9/29/20
624
views
3
comments
0
Pioniio
Level 22
Schaffhausen
Question about the task
Big Ben
Java Core
,
Level 6
,
Lesson 7
Resolved
Program ran too long and was closed
the output looks like the example, but i get the error message that it run too long. where is the mistake? thanks
6/2/19
1823
views
3
comments
2
BlueJavaBanana
Level 37
Question about the task
Inheriting an inner class
Java Multithreading
,
Level 4
,
Lesson 4
Resolved
No idea whats wrong? Any clues?
Not passing but it is doing as required?
8/2/20
760
views
3
comments
0
Show more
1
...
132
133
134
135
136
...
374
Please enable JavaScript to continue using this application.