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
Thomas
Level 3
Maria Enzersdorf
Under discussion
where is the mistake in my code?
public class Solution { public static void main(String[] args) { writeToConsole("Hello, World!"); } public static void writeToConsole(String s) { String text = "printing: "; System.out.printIn(text + s);//write your code here
20.06.2020
401
views
1
comment
0
Goran
Level 41
Belgrade
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Resolved
Stuck but don't know where please help
First of all don't know why last task is not passing I have closed all input streams. And for third task I am getting advice some number might be int. But how that changes things ?
10.06.2020
570
views
6
comments
0
Ryan
Level 14
Ashburn
Question about the task
Task about algorithms
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Feel like I got it, but . . .
I have been going around and around on this and I'm finally coming here because it seems like my code is working properly. Below is my input and output: Input: Task Enter twenty words from the keyboard and Display them In alphabetical order Each word Should be on new line Output: alphabetical
21.02.2019
1858
views
13
comments
0
AnnemiekFF
Level 41
Breda
Question about the task
Restaurant (part 21)
Java Multithreading
,
Level 9
,
Lesson 15
Resolved
Problem with the daemon thread?
I'm pretty sure the problem is somewhere inside the daemon thread, but i'm not sure where or how to fix it. Can anybody help with that, since the mentor doesn't give any hints. I am also assuming the last one doesn't verify due to some failure in the daemon thread.
20.04.2020
943
views
6
comments
0
Michal
Level 26
Lodz
Question about the task
Between tabs
Java Multithreading
,
Level 2
,
Lesson 5
Under discussion
Does anyone have a solution to this task?
30.05.2020
390
views
1
comment
0
Brad Reed
Level 19
Hartford
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Winter
I can’t get winter to display unless I put it as : If (month==12) System.out.println(“winter”); But then it still tells me it’s wrong, when I do the comparisons (as shown) it prints the other three, not winter....what did I do.
20.06.2020
329
views
1
comment
0
Anjan
Level 13
Indianapolis
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
what is wrong int this.please help me
I can able to run in Intellij. the output is correct.
15.05.2020
384
views
3
comments
0
Jamie Pyette
Level 9
Sault Ste. Marie
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Code not satisisfying the "desecnding order" part.
Something to do with negative numbers perhaps? Thanks in advance for any help.
16.06.2020
447
views
2
comments
0
Saranya Singh
Level 8
Fremont
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
Explanation?
Hi everyone, So, I solved the problem but I'm having trouble understanding the code. Why do we have to put instead of . What does that do?
14.04.2020
1293
views
3
comments
1
Tata
Level 16
Hisar, Haryana
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Give up now..... 😔😔😔😔
idk what's problem with my code. Please please helpppp me...!!!!
18.06.2020
340
views
1
comment
0
Brad Reed
Level 19
Hartford
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Displays lowest number, says it failed anyways...?
So it displays 3, and 5 for the final two (the lowest numbers) but still says it doesn’t...?
17.06.2020
467
views
2
comments
0
Randall John
Level 19
East Cleveland
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
Keep getting exception. Help please!
I can't seem to get rid of this error that this solution is throwing. Can anyone help
18.06.2020
455
views
2
comments
0
Rafal Pawlowski
Level 15
Swaythling
Question about the task
Changing functionality
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Infinite loop?
Hi. Why does the codegym says my program has infinite loop while it has not? Well it might have if someone inputs words eternally but if line is empty or null program does finish job and does meet requirements. I have tested it several times on IntelliJ IDEA and it works correctly. Any idea why it
18.06.2020
671
views
1
comment
0
David
Level 26
Bucharest
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Under discussion
Does anyone see what's wrong? I have the right output.
I have the right output, it works corectly, but doesn't pass the test. Thank you!
18.06.2020
511
views
2
comments
0
BlueJavaBanana
Level 37
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Resolved
Code works with multiple test scenarios still fails - any ideas?
I have tried it with the following: 1. Finding only the first instance of a word 2. Finding multiple instances of the same word (e.g. home in the array three times) 3. All directions 4. Overlapping words 5. Bigger arrays with more words 6. Single words 7. No words Please excuse my verbose code, I
18.06.2020
587
views
9
comments
0
David
Level 26
Bucharest
Question about the task
Combining files
Java Core
,
Level 8
,
Lesson 11
Resolved
Is there any way I can change the value of append like I am trying at line 30?
this way doesn't work. thank you!
17.06.2020
475
views
6
comments
0
Brad Hawk
Level 20
Everett
Question about the task
Snake (Part 20/20)
Games
,
Level 0
,
Lesson 1
Resolved
My Snake isn't Growing
Somehow I was able to complete all the tasks, but my snake doesn't grow. I can't post my code because I've "completed" the tasks. Does anyone know what could be causing the issue without seeing my code?
22.04.2020
872
views
4
comments
0
Jhoal
Level 22
Berlín
Question about the task
A programmer creates a person
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Help! I don't know what I'm doing wrong!
I need your help guys. I don't know if I'm ignoring something but I have an error every time I try to compile the code
18.06.2020
1032
views
4
comments
0
Denis
Level 22
Kharkiv
Question about the task
Display a list of keys
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
HELP ME PLS GUYS
Give me solution pls(
19.06.2019
1924
views
16
comments
0
Andrei Stratu
Level 18
Iasi
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
Works but doesn't verify second condition
Any idea what is wrong with it?
16.06.2020
423
views
1
comment
0
Angus McDonald
Level 5
Sydney
Question about the task
The richest
Java Core
,
Level 9
,
Lesson 11
Resolved
Another - "Correct output --> won't pass" question.
The input I've tested is: Peterson 2 Smith 6 Baxter 1.35 Peterson 3.1 McDonald 5.4 Baxter 3.4 McDonald 0.6 Baxter 1.25 The output is: Baxter McDonald Smith I made sure to test with duplicate highest values. The TreeMap made sense to me as we can easily look at the last Key using the lastKey() met
17.06.2020
446
views
6
comments
0
dhanush
Level 30
Chennai
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
help
null pointer exception error :(
16.06.2020
533
views
2
comments
0
Angus McDonald
Level 5
Sydney
Question about the task
Snake (Part 10/20)
Games
,
Level 0
,
Lesson 1
Resolved
I know this is going to be a simple fix.. I just can't see it.
The move method.. it appears to work ok when I run the program.. not sure what to do.
17.06.2020
502
views
2
comments
0
Balen Asangbeh
Level 23
Douala
Question about the task
Minimum byte
Java Core
,
Level 8
,
Lesson 3
Under discussion
pls what is wrong
pls what`s wrong
03.04.2019
1918
views
8
comments
0
Carlos Angeles
Level 6
Columbia
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
My code works, but it's saying it is wrong?
Im not sure what's wrong, but the last condition says my code is wrong. Can someone help please?
17.06.2020
493
views
1
comment
0
Stephen Haokip
Level 8
imphal
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
i believe
the question majority in this section are incomplete. for the answer to be right the question has to be precise n complete.
17.06.2020
389
views
1
comment
0
Belinda
Level 4
Portland
Question about the task
Financial expectations
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Typo error? Can't find it.
package com.codegym.task.task03.task0325.Solution; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Solution { public static void main (String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamRe
17.06.2020
374
views
9
comments
0
Sebastian
Level 9
Dornum
Question about the task
Minesweeper (Part 4/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Can´t find my mistake
Hey, why does it not verify the last requirements?
07.06.2020
658
views
1
comment
0
Matthew Max
Level 29
Giza
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Resolved
Any advice please I'm getting frustrated here
I did everything as the book says but it still not match one requirement
17.06.2020
481
views
5
comments
0
Edddieg
Level 15
Providence
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
please help
my code is running correctly but not passing ... please help
17.06.2020
452
views
2
comments
0
Show more
1
...
171
172
173
174
175
...
366
Please enable JavaScript to continue using this application.