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
Cristian
Level 16
Bucharest
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
What is wrong in my code?
package com.codegym.task.task04.task0441; /* Somehow average */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); System.out.println("Enter the three numbers: "); int
09.08.2019
1124
views
4
comments
0
MICHAEL DUNLAP
Level 20
Bellevue
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
What case is causing this to fail?
I know my solution is a little convoluted, but I'm failing the requirement of words in ascending order, even though this solution works for all the cases I've tried and I am calling the isGreater method. Any nuggets of wisdom?
08.08.2019
1259
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Pharmacy
Java Core
,
Level 7
,
Lesson 10
Archived
help me pls
four condition
28.06.2019
1509
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Exceptions. Just exceptions.
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
give me the solution pls
help me pllsssssss
20.06.2019
1225
views
2
comments
0
David
Level 14
New York City
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
Program runs correct output for all test cases but is somehow failing 3 and 4. Detailed verification doesn't explain how it's failing.
All test cases should pass. I've noticed sometimes their verification fails if you write the code in a certain format. Not sure what else to say as I'm getting the right answers when running the program no matter what I put in.
23.01.2019
1606
views
2
comments
0
Zubin Nair
Level 7
New Delhi
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
3 requirement problem
3 requirement is not satisfied?? What is the problem in this code?? Pls reply asap
27.09.2018
1725
views
5
comments
0
Denis
Level 22
Kharkiv
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Under discussion
give me solution pls
help pls
25.06.2019
1180
views
3
comments
0
Monisha
Level 19
Hyderabad
Question about the task
Zombie cats, zombie dogs
Java Syntax
,
Level 6
,
Lesson 5
Resolved
m getting task requirements not met whereas all conditions are met.please help
public class Cat { public static void main(String[] args) { } protected void finalize() throws Throwable { System.out.println("A Cat was destroyed"); }// cat } class Dog { protected void finalize() throws Throwable { System.out.println(""); } }
05.08.2019
1666
views
3
comments
0
Ada
Level 4
Tirana
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
What is going on?
I don't know what went wrong? Is something with my code , because when I try to compile it is shows this ( the message on the screenshot)? My code : package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game { }
06.08.2019
1417
views
1
comment
0
hidden #10362262
Level 9
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why doesn't this code Pass? The output is correct when using "Run"
package com.codegym.task.task07.task0716; import java.util.ArrayList; public class Solution { /* R or L */ public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.add("measure"); // 1
09.08.2019
991
views
1
comment
0
Mihály Dombi
Level 12
Szeged
Under discussion
How to bring back the original code in one task?
Hello, It happened to me that I started to solve a task but I messed up the code (I deleted lines instead of commenting them out). So I wanted to bring back the original code but I couldn't. Is there a button for that or how can I bring back the original code if I mess up a task and I want to start
06.08.2019
898
views
2
comments
1
Kotlet
Level 28
Wroclaw
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
How does a.compareTo(b) work with numbers?
How does a.compareTo(b) works when it comes to Strings with numbers? Is it comparing only first digit (their unicode value) of the number and doesn't care about the rest (ie. not summing unicode value of each digit)? Because using the method isGreaterThan - "22" is not greater than "3" (while obviou
24.06.2019
1441
views
1
comment
0
Bhavishya Samriya
Level 8
Jaipur
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
what's wrong with this
My code isn't working for numbers greater than 127 Please Help
24.07.2019
1099
views
3
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Can anyone please explain what the conitions are saying.
Actually I didn't get the question, please someone explain it in detail
03.08.2019
1512
views
1
comment
0
ddi
Level 18
Dortmund
Question about the task
All that moves
Java Core
,
Level 3
,
Lesson 2
Under discussion
What am i missing?
Can somebody explain it to me?
08.08.2019
1051
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Four mistakes
Java Core
,
Level 3
,
Lesson 2
Under discussion
Help me with this pls
I dont understand(
24.06.2019
1405
views
4
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Under discussion
Please help
Where is the bug ?
30.07.2019
791
views
1
comment
0
Manish
Level 0
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
what is logic behind gameField[y][x]=new GameObject(x,y);
package com.codegym.games.minesweeper; import com.codegym.engine.cell.*; public class MinesweeperGame extends Game{ private static final int SIDE=9; private GameObject gameField[][]=new GameObject[SIDE][SIDE]; public void initialize(){ setScreenSize(SIDE,SIDE); createGam
07.08.2019
1195
views
1
comment
0
Cristian
Level 16
Bucharest
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Archived
What's wrong with my code?
package com.codegym.task.task04.task0432; /* You can't have too much of a good thing */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { int N; String s; Scanner console = new Scanner(System.in);
07.08.2019
1267
views
2
comments
0
satish
Level 15
kadapa
Question about the task
Buggy initializeIdAndName
Java Core
,
Level 3
,
Lesson 2
Under discussion
what should we want to return
how that user return and what is the use of it
06.06.2019
1037
views
2
comments
0
Jegadish chandran
Level 3
Mumbai
Question about the task
Crazy eights
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
doesn't execute
anybody help me to solve this!
25.06.2019
1031
views
3
comments
0
Anusha Govindarajan
Level 7
Amsterdam
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
The code works but requirements are not satisfied about writing to even and odd.Can some one help?
The code works but requirements are not satisfied about writing to even and odd.Can some one help?
06.08.2019
883
views
3
comments
0
Jason
Level 26
Rancho Cucamonga
Question about the task
Catching unchecked exceptions
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
not even getting this to compile and I am completely lost.
I thought I understood what was being asked of me but apparently, I haven't a clue. I don't even know where to begin asking questions. I'm sorry for the vagueness and I hope there is somewhere someone can start with helping me solve this. Thanks in advance! package com.codegym.task.task09.task0917
17.07.2019
1504
views
9
comments
0
Denis
Level 22
Kharkiv
Question about the task
Beer. Part 2. The recovery.
Java Core
,
Level 3
,
Lesson 2
Under discussion
Last condition. Pls help.
What i must do?
23.06.2019
983
views
2
comments
0
Noah Keller
Level 15
Offenburg
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Why doesnt it accept my solution?
Hey community, my programm is working fine and is fullfilling the task conditions but is not accepted as the solution. Can you pls help me find the issue ? Thanks, Noah
06.08.2019
1023
views
2
comments
1
Jay
Level 17
Washington
Question about the task
The code won't compile…
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
IntelliJ
When trying to do the tasks on IntelliJ I received a notification that said: You need the CodeGymTasks project to continue. Download it? I pressed yes and chose a location. At that point I was prompted for secret pass code. Where do I get this from? FYI: I started having this issue after an ItelliJ
01.08.2019
1114
views
2
comments
0
Sonia Vijayakumar
Level 10
Sindgi
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Resolved
What's the error in this code..?
What's wrong with this code..?
07.06.2019
1459
views
3
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
why the fouth condition is not met
Kindly debug it and plss explain;
03.08.2019
997
views
1
comment
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Minimum and Maximum
Java Core
,
Level 1
,
Lesson 11
Under discussion
Now where did I modify the input array
Help showing the process
11.06.2019
1105
views
2
comments
1
IrnBruKing
Level 7
Falls Church
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Thoughts?
Mother and Son don't seem to match the conditions, where am I going wrong?
06.08.2019
946
views
1
comment
0
Show more
1
...
284
285
286
287
288
...
366
Please enable JavaScript to continue using this application.