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
Marek Durovic
Level 41
Bratislava
Question about the task
Shortener (6)
Java Collections
,
Level 6
,
Lesson 15
Under discussion
why its not going through verification?
hi, can anyone explain me why it is not going through verification? Everything works, but not even one condition is met. Thanks
04.09.2020
380
views
2
comments
0
Martin Evtimov
Level 22
Chicago
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Help
What am I doing wrong?
24.08.2018
2353
views
9
comments
0
dhanush
Level 30
Chennai
Question about the task
Searching for the right lines
Java Core
,
Level 9
,
Lesson 11
Resolved
need help
last condition is not satisfying. :(
04.09.2020
435
views
6
comments
0
Ciro Cancello
Level 4
Napoli
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
I don't understanwhat is wrong
package com.codegym.task.task03.task0307; /* Hello, StarCraft! */ public class Solution { public static void main(String[] args) { //write your code here Zerg zerg1=new Zerg(); zerg1.name="a"; Zerg zerg2=new Zerg(); zerg2.name="b"; Zerg zerg3=n
13.04.2020
1043
views
9
comments
1
dhanush
Level 30
Chennai
Question about the task
Minesweeper (Part 9/16)
Games
,
Level 0
,
Lesson 0
Resolved
need help
my code caught by infinity loop :(
19.06.2020
533
views
1
comment
0
ddi
Level 18
Dortmund
Question about the task
Minesweeper (Part 9/16)
Games
,
Level 0
,
Lesson 0
Under discussion
Infinite loop, what to do?
I have the failure of infinite loop. how can i stop it?
26.08.2019
1200
views
2
comments
0
Diep Le
Level 4
Paihia
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
What wrong with my code
could someone please point out what wrong with my code here? this is to find the maximum of 4 Use the keyboard to enter four numbers, and display the maximum of them. If the maximum occurs more than once, just display it once. Requirements: The program should read the numbers from the keyboard. Th
05.09.2020
382
views
2
comments
0
Valuev Nutt
Level 4
Chiba
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Why 5.0 instead of 5?
I managed to do it but I am just wondering why it had to be 5.0 for it to work. I did very poorly in maths when I was in school so a simple explanation would be very much appreciated. Thanks!
04.09.2020
462
views
3
comments
0
Adam
Level 8
Florida
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
Java.util.Scanner;
I guess we can't import Scanner? The below code works just fine in JGrasp and IntelliJ. Got it, I didnt know the input was at them bottom where it says input... I assumed the input was already part of the check. import java.util.Scanner; public class test { public static void main(String[] ar
04.09.2020
469
views
2
comments
0
Dave Andrea
Level 41
Question about the task
Why doesn't the set contain an element?
Java Collections
,
Level 6
,
Lesson 10
Resolved
No idea what the validator is looking for here.
So I've tried the following: 1) I fixed isLastDateInDates() so that it compares the getTime() values rather than the object hashcodes. It now returns true. I left updateLastDate as is, as it should change the variable last date to the updated one. Validator won't accept the last 2 conditions. 2) I
30.08.2020
404
views
1
comment
0
Hari
Level 8
Worcester
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
what is wrong? please help!
04.09.2020
374
views
1
comment
0
AnnemiekFF
Level 41
Breda
Question about the task
Restaurant (part 19)
Java Multithreading
,
Level 9
,
Lesson 15
Resolved
Output is correct with what is expected, but nothing verifies except the matching constructor.
Can anybody tell me where the problem lies? I think it must be somewhere other than the main method, but I don't know where or how to find it?
07.04.2020
1120
views
3
comments
0
Andrei
Level 41
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Why can't i declare multiple int variables on the same line, inside the function?
Hello, I have the following code but when I debug the code I get the following error: "java: variable sum might not have been initialized" Why I am not allowed to declare int variables sum and m in the same row using the formula " int sum, m = 0". The only way it is accepted is by declaring them in
26.08.2020
375
views
8
comments
0
Lawson
Level 29
Lagos
Question about the task
Yet another adapter
Java Core
,
Level 9
,
Lesson 3
Under discussion
Help
pls I need help here
04.09.2020
273
views
6
comments
0
Lawson
Level 29
Lagos
Question about the task
TableAdapter
Java Core
,
Level 9
,
Lesson 3
Resolved
Help
Someone pls guide me on the last option
04.09.2020
409
views
2
comments
0
Akintilebo Olamilekan
Level 8
Osun State
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Help. Note that 0 is not a positive or negative number
package com.codegym.task.task04.task0428; /* Positive number */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { //write your code here Scanner sc = new Scanner(System.in); int a = sc.nextIn
31.01.2019
1914
views
6
comments
0
mstellaluna
Level 5
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Code Error
I pass all the requirements except 1 of them. the message is a bit obscure for me so im not sure what is wants. if I go into eclipse, replace buffered reader with variables with values, it works fine... Here is my code BufferedReader reader = new BufferedReader (new InputStreamReader(System.i
04.09.2018
1496
views
7
comments
0
Pablo Saquilmer
Level 32
Guatemala City
Question about the task
Rarest bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
What I m getting wrong?
Is this what i should display?
04.09.2020
291
views
2
comments
0
David
Level 9
Atlanta
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Seems to work, but...
Not sure why this won't clear, even if it's a bit inelegant...
03.09.2020
310
views
3
comments
0
Tyler Evans
Level 6
Wallasey
Question about the task
Man and woman
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Help please failing saying make sure you make 2 Man objects
From what i can see i have made two man objects and two woman objects. it is failing on the condition of that "in the main method you need to created two objectss of each type". I have run the program and the output appears to be correct also. Any help is appreciated many thanks Tyler
02.09.2020
287
views
4
comments
0
yi
Level 20
Toronto
Question about the task
Wine tasting
Java Core
,
Level 4
,
Lesson 8
Archived
Hi Can someone help me with this ?
Can you tell me how to return the 3 methods in Solution class ? thx.
21.12.2019
982
views
6
comments
0
Premachandran
Level 35
Ernakulam
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Under discussion
pl help. Why my code is not passing verification
pl help. my code is not passing cerification
03.12.2018
1502
views
5
comments
0
Joel Pearce
Level 22
Birmingham, UK
Question about the task
Rounding numbers
Java Core
,
Level 8
,
Lesson 11
Under discussion
How am I so spectacularly wrong?
Looking at other people's code I can see that I'm way out of the ballpark on this one. Did I miss something in the lessons?
03.09.2020
288
views
1
comment
0
Malte Böhm
Level 12
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Which lection did i miss?
Hey guys, I really have no clue how to solve this the right way. My issue is that I have to clue how to get the length of an element. Was this somewhere in a lection before and I missed it? What did you do to solve it? Thank you
02.09.2020
363
views
2
comments
0
Andres
Level 4
Reedley
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
what am i doing wrong
help please
13.08.2020
324
views
4
comments
0
Lawson
Level 29
Lagos
Question about the task
Extending AmigoOutputStream
Java Core
,
Level 8
,
Lesson 8
Resolved
Help
Pls what's my error... I need help
02.09.2020
328
views
1
comment
0
towelie8
Level 16
Darmstadt
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Right answer, but 3 requirement fails :/
Right answer, but 3 requirement fails :/
26.08.2020
395
views
3
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Doesn't this work?
Not sure why it's giving me problems. :>(
19.05.2019
998
views
3
comments
0
Robert P
Level 20
Nashville
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
Help with condition 2
I've tried many things to pass this condition. I've added try/catch blocks. I've used an if block to throw an Illegal Argument Exception for negative numbers. I'm currently using an if block to convert negative int into positive int. I've changed the main signature to what another question post
24.11.2018
2374
views
4
comments
0
Lawson
Level 29
Lagos
Question about the task
Table
Java Core
,
Level 8
,
Lesson 8
Under discussion
Pls help
how do u display the list ... I'm short of ideas now pls help with the code probably
02.09.2020
336
views
1
comment
0
Show more
1
...
134
135
136
137
138
...
366
Please enable JavaScript to continue using this application.