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
George
Level 6
Chiajna
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
Buffer error
Hi! I have a buffer error when I run the code. can someone help me with this?
02.08.2020
320
views
1
comment
0
narcissus
Level 5
.
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
where is the mistake?
please tell me where should be changed
29.07.2020
412
views
9
comments
0
Connor Carey
Level 4
Houston
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
M not initialized error
I get an error that is telling me that m isn't initialized? I thought this worked with the two integer minimum how come not with this one?
02.08.2020
310
views
3
comments
0
Brad Reed
Level 19
Hartford
Question about the task
Currencies
Java Core
,
Level 4
,
Lesson 8
Resolved
I think I need another set of eyes on this.
So everything but the getCurrencyName() task verifies. I cant find my error, I know its there but I think i've been looking at it too long...
22.07.2020
435
views
2
comments
1
Xavier
Level 17
Pearland
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
I can't figure out how to make it work for negative numbers.
I've spent a while trying to figure this out. It doesn't work if all the numbers entered are negative. The reason is because b is initialized to zero, so if all the numbers are negative, b is never less than a. I've tried different things but none of them have worked. I tried setting b equal to null
31.07.2020
346
views
6
comments
0
Geethika medidi
Level 18
Hyderabad
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Resolved
Can anyone see what is wrong?
I am getting the correct output. But, it is not verifying Thanks in advance.
17.07.2019
1312
views
6
comments
1
Michael Brimage
Level 19
Washington D.C.
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
Another "Shows no output"
I am working this in the code editor. It shows no output. I cant determine where my error is. I will try to use IntelliJ when I get home. However, if you know or can tell what did wrong please inform. Mike
01.05.2020
734
views
2
comments
1
Teemu-Petteri Remes
Level 16
Oulu
Question about the task
Cats
Java Core
,
Level 4
,
Lesson 4
Resolved
Why wont third requirement work?
It does print: I'm a cat powerhouse named Big Boy I'm a cute kitty named Missy I'm a cute kitty named Smudgey I'm Pirate, an alley cat Which I presume is the correct output...… ._.
09.10.2019
1716
views
9
comments
1
sagar
Level 6
Amreli
Question about the task
Calculator
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
help...
what's wrong in this...
28.07.2020
488
views
4
comments
0
Rad
Level 8
Maidstone
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
i need help to solve this problem
I am struggling last 1 hour, please help me
11.10.2018
3422
views
6
comments
0
Margareta
Level 13
Dubrovnik
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Last condition isn't passing
Is it a problem that the sort method also prints out the array? Because I can't find any other way if the method is void.
31.07.2020
678
views
4
comments
0
Luke Colabella
Level 8
Vancouver
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
What is wrong with my code???
Looking at it, it seems fine but the output is all weird. I don't understand what I did wrong.
31.07.2020
285
views
2
comments
0
HaeWon Chung
Level 17
Boston
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
still not passing third requirement
It does display the ID. What's wrong with my code?
11.07.2020
446
views
4
comments
0
Adam
Level 17
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Either 3 of positive or negative numbers
public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int a = Integer.parseInt(reader.readLine()); int b = Integer.parseInt(reader.readLine()); int c = Inte
31.07.2020
581
views
4
comments
0
Vidya Pb
Level 5
Ernakulam
Question about the task
Red scare
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
What is the point?
Hello everyone. We have practiced a lot of such simple codes and these kind of questions are repeating a lot. Can anyone here enlighten me what's the purpose of repeatedly giving tasks which are so simple at this level? Or am I being rude in asking this question?
27.10.2019
1016
views
6
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Red scare
Java Syntax
,
Level 3
,
Lesson 4
Resolved
i dont undrstand how to code
package com.codegym.task.task03.task0305; /* Red scare */ public class Solution { public static void main(String[] args) { //write your code here System.out.print(" "+month); System.out.print(" "+day); System.out.print(" "+year); System.out.println(month.toUp
21.08.2018
1773
views
3
comments
0
Mayu
Level 25
Toronto
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Under discussion
Validator says updated data should be on the same line, but I see no problem
Hi I don't understand where the problem is. When I update the data, the new data is on the same line in the file as before.
29.07.2020
281
views
2
comments
0
Sanjay Chauhan
Level 28
Delhi
Question about the task
MVC (part 4)
Java Multithreading
,
Level 4
,
Lesson 14
Resolved
failed to meet last two requirement.
Dears, Will it be possible to check what I am doing wrong? Thanks, Sanjay
14.04.2020
1081
views
2
comments
0
Maxine Hammett
Level 19
San Diego
Question about the task
Food
Java Core
,
Level 4
,
Lesson 4
Under discussion
Outputs correct answer but doesn't pass task verification
I'm completely lost here. Your help is appreciated.
31.07.2020
482
views
7
comments
0
Laura
Level 7
Lübeck
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Under discussion
Help
I don't know what to do, can anybody help me how to solve this exercise?
31.07.2020
400
views
3
comments
0
AlfredW
Level 23
Denver
Question about the task
Four mistakes
Java Core
,
Level 3
,
Lesson 2
Under discussion
The conditions say "Do not change interface declarations.". And yet you do actually have to make a change to the declaration of the Dream interface. "private static Hobby HOBBY = new Hobby();" cannot be private.
The conditions say "Do not change interface declarations.". And yet you do actually have to make a change to the declaration of the Dream interface. "private static Hobby HOBBY = new Hobby();" cannot be private.
31.07.2020
473
views
2
comments
0
FormulaEagle
Level 6
Rockville
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Resolved
HELP PLEASE!
Help i don't understand this!
09.07.2020
608
views
3
comments
0
Павел Артеменко
Level 41
Krasnodar
Question about the task
Restaurant (part 10)
Java Multithreading
,
Level 9
,
Lesson 15
Under discussion
What am I missing?
Tested on various random lists - all results as per conditions, but failed to verify,
27.05.2019
1248
views
3
comments
0
Learner
Level 16
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
The program displays too many lines.
I tried different methods like: InputStream inStream = new FileInputStream(fileName); while (inStream.available() > 0) { System.out.println(inStream.read()); } inStream.close(); However, this too gave the same message as stated in the subject. I even tried adding checking for new line and pri
28.09.2018
2710
views
6
comments
1
Shadow
Level 7
Hogsmead
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
What have I done wrong?
help........
31.07.2020
357
views
1
comment
0
Margareta
Level 13
Dubrovnik
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Third condition isn't passing
I don't think there's a problem with spaces :/
29.07.2020
479
views
2
comments
0
Mikayla Pace
Level 27
Salt Lake City
Question about the task
Deep cloning of a map
Java Multithreading
,
Level 1
,
Lesson 8
Resolved
Confused on what to clone
Not sure why it is telling me to create a new object and not to return the current one, haven't I done that here?
16.01.2020
966
views
2
comments
0
Etienne Bélanger
Level 34
Longueuil
Question about the task
ReentrantReadWriteLock
Java Multithreading
,
Level 8
,
Lesson 10
Under discussion
Initialisation seems fine to me, can't figure out why the compiler doesn't like that.
I tried at the initialization and also tried in the constructor without success public ReadWriteMap(LinkedHashMap map) { this.map = map; readLock = lock.readLock(); writeLock = lock.writeLock(); }
20.04.2020
924
views
2
comments
0
Kamal Khastagir
Level 11
kolkata
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
please someone tell me what's wrong with my code
i can't figure out why it doesn't fulfill the third condition :/
29.07.2020
435
views
2
comments
0
Niladri pradhan
Level 33
Mumbai
Question about the task
2048 (part 12)
Java Multithreading
,
Level 10
,
Lesson 15
Under discussion
whats wrong
help please
26.01.2020
710
views
1
comment
0
Show more
1
...
151
152
153
154
155
...
366
Please enable JavaScript to continue using this application.