Promotion
CodeGym University
Learning
Courses
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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Kabeer Rajoria
Level 5
Gwalior
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
What is wrong with my code? how can i join two min(a,b,c,d) method with min(a,b) method?
package com.codegym.task.task02.task0217; /* Minimum of four numbers */ public class Solution { public static int min(int a, int b, int c, int d) { //write your code here int min2; if (a<=b && a<=c && a<= d) min2 = a; else if (b
10/21/18
2390
views
5
comments
0
143_Ritik Awachat
Level 4
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Help me in this
Not understanding how to do this? Anyone guide me pls
9/15/20
590
views
3
comments
0
James Foo
Level 41
Toronto
Question about the task
Introducing generics
Java Collections
,
Level 5
,
Lesson 4
Resolved
Cannot pass the second requirement
Could anyone give some help how to satisfy the second requirement?
9/10/20
550
views
6
comments
0
JeRiF94
Level 22
Baku
Question about the task
Task about algorithms
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Wanna help
I am remember a task , I leave it when I was in tenth leven because I wanna to solve it now and repeat some tasks which I solved before , but the complier don't want to say me , ohh you solve it right way , I look on the result , I repeat it 3 times , and every time in my opinion all gonna be right;
5/8/19
1931
views
1
comment
0
Jon Hjerting
Level 1
Oslo
Question about the task
Snake (Part 6/20)
Games
,
Level 0
,
Lesson 1
Resolved
snake = null?
In the SnakeGame class, I have declared a variable, private Snake snake; In the createGame method i instantiate a Snake object before calling drawScene. private void createGame() { Snake snake = new Snake(WIDTH / 2, HEIGHT / 2); System.out.println("Snake constructed: " + snake);
9/17/19
1531
views
4
comments
0
gabe
Level 6
Greenville
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
a glitch in the system
This program correctly works but it has this massive error code: and when I hit verify, it the checkmarks and "X"s don't appear error code: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "exitVM.0") at java.security.AccessControlContext.checkPermission(AccessCon
9/14/20
579
views
3
comments
0
BlueJavaBanana
Level 37
Question about the task
Refactoring (part 4)
Java Multithreading
,
Level 5
,
Lesson 16
Resolved
Will not let me validate even though requirements seem to be met??!!
Help!?!?!
9/14/20
494
views
2
comments
0
Prashant Vishwakarma
Level 12
Mumbai
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
what I am doing wrong?
help me!
9/15/20
629
views
2
comments
0
hidden #10625598
Level 23
Question about the task
Snake (part 10)
Java Multithreading
,
Level 2
,
Lesson 18
Under discussion
how do i initialize snake?
the: Snake snake1 = new Snake(... is null, how do i change this?
8/13/20
1472
views
10
comments
0
Denis
Level 25
Vancouver
Question about the task
Restaurant
Java Core
,
Level 7
,
Lesson 10
Under discussion
Ohoho ! Nobody has problems with this task ???
I almost died while I solved this problem :)
5/2/19
1779
views
10
comments
3
Joel Pearce
Level 22
Birmingham, UK
Question about the task
Overriding serialization
Java Core
,
Level 10
,
Lesson 7
Under discussion
Unsure of what to do
Hey guys, I'm a little bit out of my depth on this one. The preceding tasks were straightforward enough, but I'm not really sure what this task is asking me. Can anyone lend a hand?
9/15/20
458
views
1
comment
0
Kamil
Level 31
Near Warsaw
Question about the task
Ancient Rome
Java Collections
,
Level 7
,
Lesson 8
Under discussion
No idea what's wrong, output is correct
.
5/23/20
563
views
6
comments
0
Vo
Level 41
Sofia
Resolved
Debug and Run buttons are grayed out in IntelliJ IDEA
Hello, The buttons Debug and Run are grayed out in my IntelliJ IDEA. This only occurs in the codegym project, I don't have such issues in other projects. I am using linux mint, I can verify tests, but cannot debug and run, in order to check my code before verification. If you had such issues, plea
9/9/20
1896
views
3
comments
0
Andrew
Level 29
Seattle
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Tried the BufferedReader route to make sure I was getting the entire line but it won't verify.
Works in my test file but who knows how accurate that is.
2/20/19
1993
views
13
comments
0
devi
Level 2
Melbourne
Under discussion
how to do those tasks?
help me,I m confused, what should I do in a task??plzz,help me
7/1/20
449
views
2
comments
0
Lawson
Level 29
Lagos
Question about the task
Snake (part 10)
Java Multithreading
,
Level 2
,
Lesson 18
Under discussion
Help
pls the first 3 requirements are not working I have created a new object, initialize the game field and set the direction to down... what else do they want
9/14/20
517
views
0
comments
0
Ivan Duka
Level 22
Winnipeg
Question about the task
CRUD 2
Java Core
,
Level 7
,
Lesson 10
Resolved
What's wrong with my SWITCH statement?
Hey friends, The code is working, I tested it with all possible arguments. However, I cannot pass the last condition, something is wrong with my switch statement and I cannot get what exactly is wrong. Additional information is displayed on this error: "Be sure that the main method has a switch stat
4/18/19
1662
views
2
comments
2
Russell
Level 2
Galmpton, Brixham
Question about the task
Minesweeper (Part 10/16)
Games
,
Level 0
,
Lesson 0
Resolved
unable to display board
Trying to run game to check wether the board will display, but i'm getting nothing. The program compiles ok, but then gets stuck before the board appears. So it's waiting for an input that never appears. Any ideas?
9/13/20
512
views
1
comment
0
Maxb
Level 7
Yonkers
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Am I not fully understand the requirements of this question?
I dont understand. Are all the numbers entered as 9 8 7 6, etc. ? What's the grand idea of the question? What is it suppose to be demonstrating?
9/13/20
590
views
4
comments
0
143_Ritik Awachat
Level 4
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Guys help iam stuck here
Not understanding where iam wrong anyone help me? public class Solution {
9/14/20
962
views
3
comments
0
Henrique
Level 41
São Paulo
Question about the task
ABCs
Java Core
,
Level 8
,
Lesson 11
Resolved
"You aren't counting lowercase letters."
I really don't understand this one. In my head I did everything right. I even copied the solutions made by others, and it just doesn't verify. Could somebody help me with this one? Thanks!!
6/18/20
695
views
3
comments
0
Rich
Level 23
San Diego
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
third requirement... :-\
looks good to me but no dice. little hint pls
9/13/20
480
views
1
comment
0
Russell
Level 2
Galmpton, Brixham
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Resolved
can't seem to get the board to show up anymore to test.
I used ot be able to get the board to show (in ideaj) by right clicking the background and choosing run. that option is no longer available. is anyone able to help please?
8/27/20
525
views
3
comments
0
Gustav
Level 7
Sjoebo
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
This works for me but last condition not satisfied. Not allowed to use Arrays.copyOfRange?
public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int[] bigNumbers = new int[20]; int[] smallNumbers1 = new int[10]; int[] smallNumbers2 = new int[10]; for (int i = 0; i &
9/13/20
536
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Two in one
Java Core
,
Level 8
,
Lesson 11
Under discussion
Please Help
Thanks In Advance
4/19/19
1267
views
2
comments
0
Slawomir I.
Level 15
Warsaw
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Under discussion
Could anyone can clarify it why do I need to cast person to Person.xxx to call method? It works but Intellij done that for me and I don't know why ;/
public static void doWork(Person person) { if(person instanceof Person.User){ ((Person.User) person).live(); } else if(person instanceof Person.Loser){ ((Person.Loser) person).doNothing(); } else if(person instanceof Person.Coder
9/13/20
476
views
1
comment
0
andy 6473
Level 9
Bangalore
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Can some one check what is wrong in the code
help
8/31/20
785
views
11
comments
0
Youngsan
Level 41
Seoul
Question about the task
Wine tasting
Java Core
,
Level 4
,
Lesson 8
Archived
failed to return "BubblyWine object".
Failed step: "The Solution class must implement the getBubblyWine() method, which returns a BubblyWine object." I don't understand why it didn't pass.
9/6/20
732
views
2
comments
0
bamughamye patrick
Level 8
Paris
Question about the task
The end
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
Help
What could be the problem here. Failing ti get second last requirement
9/12/20
732
views
2
comments
0
Joel Pearce
Level 22
Birmingham, UK
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Output correct, but not verifying
I've done a number of iterations of the code below and it works perfectly with every variation of input I use, but it's not verifying. Anyone got any clues?
9/11/20
660
views
5
comments
0
Show more
1
...
139
140
141
142
143
...
374
Please enable JavaScript to continue using this application.