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
Pranit Gade
Level 9
Mumbai
Question about the task
Stack trace revisited
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
HELP!!
Can someone tell me what is wrong..
7/26/20
731
views
1
comment
1
Ash Ka
Level 13
Calgary
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Resolved
A task is failing and I cannot figure out. Output in the description. Pls help!
My output : a I A S m m .
9/12/19
1281
views
3
comments
1
Jeanne Vo
Level 22
Olympia
Question about the task
Vowels and consonants
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
"Just" a little tiny bug!
Could you please help me to spot it out? The result was something like this: a I A S m m .
7/13/20
806
views
1
comment
1
Mariam
Level 9
Columbus
Question about the task
More Sam-I-Am
Java Syntax
,
Level 7
,
Lesson 9
Resolved
It Works but Compiler Does Not Excepts. Please Help
It Works but Compiler Does Not Excepts. Please Help
9/11/20
807
views
3
comments
6
An Gelo
Level 18
Cebu
Question about the task
Feng Shui and statics
Java Syntax
,
Level 6
,
Lesson 11
Resolved
static variables
Can someone help me what do you mean by move. i tried to add make int A a static variable so it can be passed but if i erased the static in int C i wont cause im using static A & B please help me undestand thanks..
8/16/18
1992
views
5
comments
1
Santosh Kumar
Level 19
Gagret
Question about the task
OOP: Method overloading
Java Core
,
Level 5
,
Lesson 4
Resolved
printMatrix method giving Error
Not verifing the first requirement.
3/8/19
2365
views
4
comments
5
Cristian
Level 16
Bucharest
Question about the task
OOP: Method overloading
Java Core
,
Level 5
,
Lesson 4
Under discussion
What's wrong here? Thank you very much!
package com.codegym.task.task15.task1507; import javax.lang.model.type.NullType; /* OOP: Method overloading */ public class Solution { public static void main(String[] args) { printMatrix(2, 3, "8"); printMatrix(2, 3, 5L); printMatrix(2, 3, 6d); printMatrix(2,
5/26/21
629
views
1
comment
1
Jyothi
Level 20
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Resolved
task08.task0802 - HashMap of 10 pairs
task08.task0802 - HashMap of 10 pairs Initialization failing verify. why?
12/11/18
2065
views
3
comments
2
catalin1989
Level 37
Question about the task
Shuffled just in time
Java Syntax
,
Level 13
,
Lesson 7
Under discussion
Works fine in IntelliJ but doesn't pass the test. Can someone give me a hint why?
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); ArrayListlist=new ArrayList(); System.out.println("Enter the length of the list: "); String s= reader.
9/19/23
290
views
2
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Fix four mistakes
Java Core
,
Level 4
,
Lesson 8
Under discussion
I do not understand the task conditions
I do not understand the task conditions
9/17/23
285
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Equals and HashCode
Java Multithreading
,
Level 1
,
Lesson 5
Resolved
Where is the Error
Please Help
4/23/19
1652
views
2
comments
1
Arjun Kiruthivasan
Level 14
Chennai
Question about the task
Correct answer: d = 1.0
Java Syntax
,
Level 10
,
Lesson 11
Resolved
where am i wrong??
my o/p is correct not completed the task!!
9/25/18
2107
views
4
comments
1
Dipankar Sinha
Level 22
United States of America
Under discussion
it is asking the ; after while
package en.codegym.task.pro.task04.task0406; import java.util.Scanner; /* We show what we get */ public class Solution { public static void main(String[] args) { //write your code here Scanner sc = new Scanner (System.in); while (sc.hasNextLine()) {
9/17/23
270
views
2
comments
0
matemate123
Level 50
Kraków
Question about the task
2048 (part 5)
Java Multithreading
,
Level 10
,
Lesson 15
Under discussion
Question from category: is any difference?
I don't pass last condition like I thought. I suposed that primitives instance variable are initialize to default value (0, false) when object class is created, and because that I don't initialize it in constructor. Is there any difference between initializing them in the constructor or not, or is
8/11/23
366
views
3
comments
0
Nitin Saini
Level 4
Question about the task
We show what we get
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
what are the problems here please help
help
3/28/23
568
views
4
comments
2
Spooky 999
Level 5
Zolwer
Question about the task
There's never too much of a good thing
Java Syntax
,
Level 4
,
Lesson 5
Under discussion
Why does it not accept?
After asking myself sometime, i showed me the solution and it was the same. Can someone help me? Thanks.
7/1/23
406
views
3
comments
0
Anthony Chalk
Level 30
London
Question about the task
Your own enum
Java Multithreading
,
Level 5
,
Lesson 2
Resolved
Please Help
I'm not sure how I'm supposed to be implementing the hide() method. The configureColumns() method already marks all hidden columns with "-1" in realOrder[]. In fact, I made use of this fact in the getVisibleColumns() method, and that part is correct. Edit: never mind, misread the main() method an
3/2/21
795
views
1
comment
2
Artur Jarosz
Level 30
Lublin
Question about the task
Using JSON to convert from one class to another
Java Collections
,
Level 3
,
Lesson 5
Under discussion
It works but doesn't pass tests...
Well, I think that it does what is should do... Can somebody give me a little hint what's wrong with it?
12/26/19
1328
views
5
comments
0
Reyaz Ahmad Bhat
Level 4
Anantnag Jammu And Kashmir
Question about the task
Summation
Java Syntax
,
Level 4
,
Lesson 3
Under discussion
Solution
Scanner scanner = new Scanner(System.in); int sum = 0; boolean done = false; while (!done) { String input = scanner.nextLine(); if (input.equals("ENTER")) { done = true; } else { int nu
3/7/23
675
views
1
comment
4
Anonymous #11384347
Level 32
Under discussion
IntelliJ editor crashes when I try to open a new task
Hi, Can someone help please. I have up until now used the online editor but now the tasks are moving to IntelliJ code editor. Each time I try and launch a task the ItelliJ editor crashes. I am therefore a little lost as to what I can do to carry on with this course. I am using a MacBook Pro M1. W
8/31/23
302
views
2
comments
0
delta
Level 4
Question about the task
Three numbers
Java Syntax
,
Level 3
,
Lesson 2
Under discussion
the output for the solution I wrote should be 6 6 but not 66
the output for the solution I wrote should be 6 6 but not 66
9/8/23
299
views
1
comment
0
Anonymous #11138917
Level 2
China
Question about the task
2048 (Part 18/18)
Games
,
Level 0
,
Lesson 2
Under discussion
I use ↑↓→, the reaction is different
I attempted to run the code, and when I used the "moveUp()" function, the outcomes didn't match my expectations. Consequently, I made some adjustments to my code in an attempt to address the issue correctly. However, even after applying the provided example to solve the problem, the results still
9/8/23
280
views
1
comment
0
public enum WaysToDie
Level 23
Denver
Question about the task
Integer literals
Java Syntax
,
Level 9
,
Lesson 1
Under discussion
I made the minimum changes and still...
I made the minimum required changes to the fields by reducing each value by 1. Now all the numbers fit the type but it still doesn't pass. Original code package en.codegym.task.pro.task09.task0901; /* Integer literals */ public class Solution { public byte b = 128; public short s = 32768
12/18/21
1225
views
4
comments
0
Jyothi
Level 20
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Resolved
task08.task0814 - Greater than 10? You're not a good fit for us
task08.task0814 - Greater than 10? You're not a good fit for us When I run it has removed elements > 10. But not according to codegym vaerify?
12/11/18
2151
views
5
comments
1
Prashant Vishwakarma
Level 12
Mumbai
Question about the task
20 words that start with the letter "L"
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
why not working?
it seems me fine
9/23/20
605
views
2
comments
1
Harshit Garg
Level 34
Chandigarh
Under discussion
What is a class inside a class?
how is that possible?
8/20/23
344
views
1
comment
0
Attila Ágoston
Level 5
Under discussion
It's working ;)
int a; for(a = 0; a < array.length; a++) { if(array[a]%2 == 0) { array[a]*=-1; } System.out.println(array[a]); } } }
9/5/23
267
views
0
comments
0
FelixUjo
Level 35
Gijón
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Resolved
It doesn't seem to print exit. I don't know why
It doesn't seem to print exit. I don't know why
9/3/23
320
views
2
comments
0
Shraddha Lambat
Level 20
Mumbai
Question about the task
Binary converter
Java Syntax
,
Level 11
,
Lesson 1
Resolved
what's wrong with this, plz help
public static int toDecimal(String binaryNumber) { //write your code here if(binaryNumber==null || binaryNumber.isEmpty()) { return 0; } int decNo=0; int temp=0; for(int i=0;i
9/2/23
344
views
1
comment
0
Shraddha Lambat
Level 20
Mumbai
Question about the task
Binary converter
Java Syntax
,
Level 11
,
Lesson 1
Resolved
Wht its fail
public static int toDecimal(String binaryNumber) { //write your code here if(binaryNumber==null || binaryNumber.isEmpty()) { return 0; } int decNo=0; int temp=Integer.valueOf(binaryNumber); for(int i=0;i
9/1/23
344
views
1
comment
0
Show more
1
...
20
21
22
23
24
...
374
Please enable JavaScript to continue using this application.