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
jerry
Level 16
Earth C-137
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
shorty
A quick look on whats wrong here ? OUTput is correct except for "each value on a new line" QUESTION: How to guide an array to print elements on a new line? its just randomly happens task to task. lol google solutions " list.forEach(System.out::println); " and " for (String element : list) {
16.08.2021
470
views
2
comments
0
Indranil Chakraborty
Level 3
United Kingdom
Question about the task
Repetition is the mother of all learning
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Why is this not compiling🙃
🙃🙂🙃🙂🙃🙂🙃🙂
15.08.2021
609
views
1
comment
0
Anitamalina
Level 18
København
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Resolved
Can't pass the last requirement
Hey, I wonder what is wrong with my code. It gives the right result as far as I can tell, but I don't pass the last requirement. Anyone who can help me ?
13.08.2021
505
views
7
comments
0
Gytis Laukaitis
Level 6
Marijampole
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What's wrong ?
Console input 2.5. Console output green.
13.08.2021
521
views
2
comments
0
Anitamalina
Level 18
København
Question about the task
Big salary
Java Syntax
,
Level 10
,
Lesson 11
Resolved
I don't understand why this isn't accepted?
What am I doing wrong? :)
07.02.2021
627
views
1
comment
0
jerry
Level 16
Earth C-137
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Resolved
WhyResult
Had to delete some parts of the solution so i can post here. Question is solved after just 27 tries but still have some questions = 🤡 1🤡 what is with String result, whats the purpose if anyway result *= s. 2🤡 why first i = 1 and second i = 0 ? it gives same 5 outputs with first and second i (
13.08.2021
478
views
2
comments
0
Edward Rickers
Level 15
Washington
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Don't know how to set the max to nothing
Do I need to initialize the max to something else? Setting it to zero doesn't work either. Don't know how to do this without making another method.
12.08.2021
394
views
2
comments
0
BigRatBaby
Level 20
Washington
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
NullPointerException
I'm getting a null pointer exception and i dont know why. Any help is appreciated. Thank you.
13.08.2021
409
views
1
comment
0
AlfredW
Level 23
Denver
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
I decided to dig in and try to understand the code everyone seems to be using to pass this.
I am pretty sure that this will pass verification once I change the return to the correct result array. I really wanted to understand what this code did before I used it to pass verification. I dug into it as well as I could and tried to parse out how it was working. I had already written my own cod
10.11.2020
468
views
5
comments
0
Mateusz
Level 31
Gdańsk
Question about the task
Thread priorities
Java Multithreading
,
Level 8
,
Lesson 6
Under discussion
What's wrong with this solution?
Output is good, can anyone tell me what's wrong?
12.08.2021
447
views
1
comment
0
Tamas Horcsak
Level 18
Leeds
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Under discussion
my solution worked fine but it doesn't pass here (:
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; /* Different methods for different types */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(Sy
12.08.2021
713
views
2
comments
0
Rex
Level 3
Columbus
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
I entered the right solution, but that darn s is throwing me off
public static void print(String s) { System.out.println(s); why s, why s, why s? could it just as easily have been some other letter? like: public static void print(String f) { System.out.println(f); It is so strange to me that this wasn't explained.
12.08.2021
498
views
2
comments
0
Anne Kooijman
Level 2
Amsterdam
Question about the task
Amigo is very smart
Java Syntax
,
Level 0
,
Lesson 2
Under discussion
Amigo is very smart VS Amigo is real smart?
How come this did not verify correctly for the output "Amigo is real smart"? According to what im reading for the checks and balances (nr of chars, first word and last word) it should have worked too.
04.01.2021
440
views
5
comments
0
Indranil Chakraborty
Level 3
United Kingdom
Question about the task
Let's change the code
Java Syntax
,
Level 1
,
Lesson 4
Resolved
What is wrong here 🙃
String s = help System.out.println(s)
11.08.2021
281
views
2
comments
0
anupam jha
Level 7
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
string
which string it is about?? there r three in the main method.
15.10.2020
617
views
5
comments
0
Peter Gray
Level 20
Compiegne
Question about the task
Mercantile intentions
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Every single Java course. Why?!
Why does every Java course has to include exercises with material unknown to the student? First modulo, now loops. If this continues I'm gonna set up a blog with solutions to those particular tasks.
17.12.2019
1226
views
6
comments
1
Edward Rickers
Level 15
Washington
Question about the task
Display numbers in reverse order
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Why am I failing the first requirement
I tried simplifying the initialization and it still runs and reverses but doesn't pass that requirement.
09.08.2021
370
views
1
comment
0
Edward Rickers
Level 15
Washington
Question about the task
Corrections are needed
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
Why is it outputting null for the first one?
Changing the size and the initial i value did not correct it.
09.08.2021
268
views
1
comment
0
Indranil Chakraborty
Level 3
United Kingdom
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Resolved
A bit of help please
= b
04.08.2021
315
views
5
comments
0
skalskif
Level 23
Poland
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Under discussion
Does anyone know how correct solution works?
I have no idea how to do it by myself, I tried everything, but algorithm is still too slow, so I looked up correct solution and I don't understand it at all. Is there anyone who understands how it works and could explain it to me? Here is the code: package com.codegym.task.task20.task2025; import
07.08.2021
329
views
2
comments
0
WatWat
Level 9
Vancouver
Question about the task
Countdown
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
This is an odd task at this stage.
Threads? There is too big of gap in my knowledge to complete this task. I know as programmers we are supposed to research on our own (which I do) but I feel there is some prerequisites I need to learn in order to successfully understand not only the task but "Threads" as well. If I'm not mistaken, T
15.10.2018
2391
views
11
comments
4
Evgen
Level 23
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Under discussion
need help
I test my code different words and arrays and get correct output, but the last condition is still unreached
27.07.2021
700
views
8
comments
0
Brad Reed
Level 19
Hartford
Question about the task
Controlling body weight
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
statement, not question:
Read the task VERY carefully, I failed a bunch cuz I misread the formula, dont be like me. (yes I got it in the end after I realized I copied the BMI formula wrong)
26.06.2020
467
views
2
comments
0
Kobi
Level 10
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Why doesn't work?
Why doesn't work?
04.08.2021
823
views
3
comments
0
David
Level 5
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Display the result but fails
[Failed] "The program should display the ordinal number of the number that is different from the others." package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { // Write your
26.07.2021
380
views
3
comments
0
Abishai Mumba
Level 2
Question about the task
A variable on our screen
Java Syntax
,
Level 1
,
Lesson 3
Under discussion
Can't figure it out
What's wrong with this String name="Amigo"; System.out.println ("name");
23.02.2019
1117
views
3
comments
0
Guadalupe Gagnon
Level 37
Tampa
Question about the task
Tracking changes
Java Core
,
Level 9
,
Lesson 11
Resolved
Has anyone solved this?
I get the same results as they do with their examples, at least I think i do, the requirements are a convoluted mess. Anyone have any suggestions?
20.12.2018
2115
views
6
comments
1
TheLordJackMC
Level 39
Princeton
Under discussion
why is my accuracy random?
I've completed almost every task in under 3 attempts, but my accuracy score keeps changing randomly. why is this happening?
06.08.2021
343
views
4
comments
0
Edward Rickers
Level 15
Washington
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
What am I missing? Error message also very confusing
package com.codegym.task.task07.task0716; import java.util.ArrayList; /* R or L */ public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.add("love"); // 1 list.add("ly
06.08.2021
578
views
2
comments
0
Dinesh
Level 7
Delhi
Under discussion
What is wrong with my print statement .
import java.util.Scanner; public class IterativeFactorial{ public static void main(String[]args){ Scanner sc = new Scanner(System.in); System.out.println(" Enter number: "); int num =sc.nextInt(); } private static int IterativeFact(int num){ //System.out.prin
04.08.2021
275
views
5
comments
0
Show more
1
...
55
56
57
58
59
...
366
Please enable JavaScript to continue using this application.