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
Anthony Chalk
Level 30
London
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Resolved
Threads not running sequentially
The program currently reads the output from the first thread and adds it to the list of the second thread e.g. Input a b c Output a b c Input a b Output a b ca b edit: I got rid of line 33, didn't notice line 9 originally
25.12.2019
1367
views
1
comment
0
Rafał Szrajnert
Level 7
Poddebice
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
to me it looks correct
Hi, I checked witn negative, positive and mixed numners. code seems to work good, but not accepting task
26.12.2019
1020
views
2
comments
0
George Leonardo
Level 9
Bucharest
Question about the task
Snake (Part 10/20)
Games
,
Level 0
,
Lesson 1
Under discussion
What is the problem with the draw method?
I am struggling to find the bugs inside the method draw.Can anybody help me? Is the logic behind the implementation wrong or is it just a little bug that i do not know how to find? Thanks in advance!
25.12.2019
1193
views
1
comment
0
Jennifer Boutell
Level 7
Tacoma
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Works but fails testing
Hmmm. My code works in all cases as far as I can see in testing, but it keeps failing the last requirement. Any idea?
25.12.2019
860
views
1
comment
0
yongen charleslim
Level 10
Singapore
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what's wrong with my code?
zzz
23.12.2019
994
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Fixing bugs
Java Core
,
Level 4
,
Lesson 8
Under discussion
Help me pls with this
give me pls the solution
25.06.2019
1414
views
6
comments
0
Rafał Szrajnert
Level 7
Poddebice
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
entering nmbers work
hi, when I try differen combinations console prints good answers but it is not letting me pass, any idea?
25.12.2019
779
views
2
comments
0
Ronaldo M
Level 2
Chennai
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Why does the last test case fail?
package com.codegym.task.task02.task0205; /* Pay raise */ public class Solution { public static void main(String[] args) { hackSalary(7000); } public static void hackSalary(int a) { int b; b=a+1000; System.out.println("Your Salary is: "+b+" d
24.07.2019
1023
views
2
comments
0
Steve
Level 9
Denver
Question about the task
Family census
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
This is funny,, I passed the requirements with the below for loop,,, that does not work,, any thoughts??
Here is the for loop,, I hope this is not considering attaching a solution to the question? Thank You! Human h1 = new Human("GrandFather1",true,23 ); Human h2 = new Human("GrandMother1",false,20); Human h3 = new Human("GrandFather2",false,12); Human h4 = new Human("GrandMot
25.07.2019
1241
views
2
comments
0
yi
Level 20
Toronto
Question about the task
All that moves
Java Core
,
Level 3
,
Lesson 2
Under discussion
Please help me with this one
Can someone tell me how to return a double ? Thx
15.12.2019
1346
views
4
comments
0
Alec Jensen
Level 5
Arlington
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Please explain what is wrong in this code
I am using or in my code but not returning anything but errors. Can anybody explain?
20.12.2019
1208
views
3
comments
0
Seán de Roo
Level 4
Utrecht
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
How come I get an error on the third item?
Please someone help me
24.12.2019
1051
views
1
comment
0
JaclynTJY
Level 4
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
Are there anyways to make this work?
I know there's another way to do this, but I wannna try to make this work. Thanks in advance
15.12.2019
989
views
2
comments
0
Rani Rauniyar
Level 3
Noida
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
where ' ; ' is expected. Please help me to know what's wrong in my program and with full details please
THIS IS MY PROGRAM WHAT I HAVE WRITTEN. package com.codegym.task.task02.task0204;
20.12.2019
1164
views
8
comments
0
Richard Melton
Level 7
St Louis
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Hey anybody have any suggestions? Is my logic off or my syntax? I am stumped.
package com.codegym.task.task04.task0426; /* Labels and numbers */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); int num = scan.nextInt(); String a
16.12.2019
1985
views
8
comments
1
Kirsten de Wit
Level 17
Cape Town
Question about the task
Display today's date
Java Syntax
,
Level 5
,
Lesson 12
Resolved
I am getting the correct date, but it is not accepted.
I am getting the correct date, but it is not accepted.
31.10.2019
1680
views
2
comments
1
Sven
Level 19
Hanover
Question about the task
Picking out numbers
Java Core
,
Level 9
,
Lesson 5
Resolved
TimeOut Error
If I test this with a basic tesfile it seems to work just fine. But for some reason there is something wrong when verifying and the programming won't finish. Any ideas?
25.10.2019
1437
views
6
comments
0
Alan Heffernan
Level 17
Anwoth
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Help with fixing final output
If i input the Date "2013-08-18" the output is "DEC 31, 2013", after doing some debugging the error is happening on line 24 where i parse the string to a date variable. Any idea why this is happening?
12.05.2019
1399
views
4
comments
1
waseem khan
Level 13
Rawalpindi
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
please help ?
what's wrong with this solution i tried many inputs program gives correct output in each case but still last condition fails to satisfy ?
21.08.2019
900
views
2
comments
0
Davedabull
Level 22
New York City
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Better way to print?
package com.codegym.task.task08.task0824; /* Make a family */ import java.util.*; public class Solution { public static void main(String[] args) { //write your code here Human daughter = new Human("Lili",false,2); Human son = new Human("Xing",true,1); Human
22.12.2019
891
views
2
comments
0
Noam Tam
Level 8
Haifa
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Please help me to understand what is wrong here
Please help me to understand what is wrong here
22.12.2019
1035
views
1
comment
0
Shawn
Level 3
Dallas
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Still don't get this!!!
error: The min method must return the minimum of numbers a, b and c. My code: package com.codegym.task.task02.task0216; /* Minimum of three numbers
11.12.2019
1251
views
5
comments
0
Jeremy Simons
Level 7
Peterborough, Cambridgeshire, UK
Question about the task
Maximum in an array
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
please advise
originally I wrote this to return the maximum positive integer. I read somewhere that the condition for the largest integer is only concerned with the size of the integer regardless of if it's positive or negative?
09.12.2019
1079
views
7
comments
0
Maja Mal
Level 4
Sanok
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Wrong last condition.
hi! any hint for me about wrong last condition, please? :)
17.12.2019
1424
views
2
comments
0
Maja Mal
Level 4
Sanok
Question about the task
Currency exchange
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Return - why here?
Hi! Why do we need the "return" command here? We want to have euro to usd exchange - that was the task, so we do not need to return from usd to euro.
17.12.2019
1141
views
3
comments
0
Anthony Chalk
Level 30
London
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Not verifying
The mentor recommendation is: If an empty string is entered after a number, then that number should also be displayed (it must not be lost). Except it is currently doing that. I entered: 1 a 2 b 3 c 4 And the output was: 1 a 2 b 3 c 4
26.11.2019
1292
views
11
comments
0
Christopher
Level 10
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I have tested this in another IDE and it works perfectly, but fails test 2
So, I've done this in an IDE on my tablet and this runs perfectly and removes the word rose, leaves alone the word lyre, and doubles the word love. However, when I submit it for grading it says condition 2 (remove words with the letter r that do not have the letter l) fails. Any thoughts on how to f
21.12.2019
783
views
0
comments
0
Rafał Szrajnert
Level 7
Poddebice
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
2nd sentence
Hi, Iam checking character by vharacter but to me console shows it is good, mayybe some typo I can not find? but I copied text from exercise... do you know why not passing?
20.12.2019
1148
views
3
comments
0
Sam
Level 13
ELIZABETH
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Resolved
I honestly don't understand what the question is asking. can someone explain what the task is?
my solution is a mess, just need someone to explain to me what is required of me.
20.12.2019
1380
views
2
comments
0
Joao Lima
Level 14
Gdansk
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Can you please check what is wrong with my code?
My code is working correctly, but the requirements are not checked. Can you please check what is wrong in my code?
20.12.2019
1087
views
2
comments
0
Show more
1
...
238
239
240
241
242
...
366
Please enable JavaScript to continue using this application.