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
All quests
All levels
Any status
Questions about tasks
Hot
asthatiwari
Level 13
Baikunthpur
Resolved
why is the function removeAllNumbersGreaterThan10() not working?
package com.codegym.task.task08.task0814; import java.util.HashSet; import java.util.Set; import java.util.Iterator; /* Greater than 10? You're not a good fit for us */ public class Solution { public static HashSet createSet() { // write your code here HashSet set=new HashS
24.06.2019
1035
views
2
comments
0
Róbert Miklósi
Level 15
Budapest
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
I don't understand. I checked the result in the main routine and it's looks good.
What is the problem?
08.06.2019
1319
views
2
comments
0
khushbu Nirmal
Level 7
Mumbai
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
whats problem in my code
help
18.11.2018
1296
views
2
comments
0
ddi
Level 18
Dortmund
Question about the task
Console-based piggy bank
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
What am i missing? :)
I have run all the answers in Help but still not seing the answer... Maybe some help pls! :)
05.06.2019
1363
views
3
comments
1
William Hoang
Level 10
Hanoi
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What Am I Wrong
I still don't know where my problem is :(
23.06.2019
1255
views
2
comments
0
Ku Yew Siang
Level 30
Sekudai
Question about the task
Introducing tags
Java Core
,
Level 9
,
Lesson 11
Resolved
I am pretty sure i gotten all through. Been thinking for the past week. Please help me find me errors.
Help help
19.05.2019
1920
views
2
comments
0
ddi
Level 18
Dortmund
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Having problems with the System.out.println
Second exercise that i am lost on how to apply the System.out.println Can someone help me?!
24.06.2019
1621
views
2
comments
0
smaranika sahu
Level 5
Pune
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Why my solution is failing in line no-3?
Any idea or suggestion
24.06.2019
1277
views
3
comments
0
RUSTEM
Level 6
Kazan
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Please help understand the logic of the error
Please help understand the logic of the error. Why when entering 24.5 gives red and when entering 24.6 is also red, although the remainder is 1 (
26.05.2019
1142
views
2
comments
0
Online Learner
Level 6
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
can anyone one help me on this task
i did't get what's i did wrong with this code...
23.06.2019
1553
views
6
comments
0
Harinath Reddy A
Level 7
Delhi
Question about the task
Labels and numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Help
I am getting wats wrong in this code. please help!!!
20.02.2019
2245
views
12
comments
0
Kritika Kumari
Level 11
Mumbai
Question about the task
Minimum of two numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
in the solution code when I mentioned (a=m2 ; and b= m2;in the place of m2=a; or m2=b; ) then why it shown me error .
public static int min(int a,int b) int m2; if (a
20.06.2019
1386
views
2
comments
0
Andrew
Level 29
Seattle
Question about the task
Archiver (part 10)
Java Multithreading
,
Level 7
,
Lesson 15
Resolved
Not sure where I'm going wrong
ZipFileManager class. Help please!
23.06.2019
1403
views
2
comments
0
Usman Jutt
Level 4
Pir Mahal
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
plzz
help me
29.09.2018
1567
views
9
comments
0
jim smith
Level 22
Cedar Park
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Resolved
My best shot came up short
I think I met all the requirements but obviously am misinterpreting something. Tried debugging with cmd line input of single space between arguments and the 8 30 8 4 format and both add a line to the file that looks ok to me but the verification is none to happy.
01.02.2019
1691
views
3
comments
0
Ymje Sköld
Level 4
Bjorko
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
WHy won't my code work?
Isn't it true that all years that are leap years are divided by 4? In which case I do not need to check if it is also divisible by 400, nor do I need to find out if it is divisible by 100. A simple if-else should suffice. It's not passing, even though I've been checking with various numbers, both la
30.05.2019
2223
views
4
comments
0
Dona
Level 7
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
I can't figure it out anyone help me with this....
it shows error
14.06.2019
1068
views
2
comments
0
smile
Level 7
Tainan
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Resolved
Why can't I call a constructor by creating a new object in a constructor?
I run the code. The results are: 5.0 5.0 1.0 10.0 5.0 10.0 It did make the radius to 10.0, but it still failed. Why? What's the difference between "this" and an object? What is "the correct arguments" exactly?
16.06.2019
1964
views
3
comments
0
AK
Level 6
Mumbai
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
Please help.
public class Circle { public double x; public double y; public double radius; public Circle(double x, double y, double radius) { this.x = x; this.y = y; this.radius = radius; } public Circle(double x, double y) { //write your code here
10.04.2019
2265
views
4
comments
0
romeo
Level 5
Paramaribo
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
My code continues to display a & a (11 &14) instead of a & b (11 & 7)
Please help me understand why this is happening. :S
28.05.2019
1684
views
7
comments
0
Online Learner
Level 6
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
can anyone help me this out
21.06.2019
1334
views
2
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Big salary
Java Syntax
,
Level 10
,
Lesson 11
Resolved
Should I use sub string method to do it ?
Please friend's can you guide me
28.05.2019
1990
views
5
comments
1
Dedcom
Level 19
Lahore
Question about the task
GCD
Java Core
,
Level 4
,
Lesson 8
Resolved
im so frustrated
cant figure out why requirement 2 isnt passing when program is working fine
04.02.2019
1680
views
7
comments
0
iHappy Violence
Level 7
Saint Petersburg
Question about the task
You can't have too much of a good thing
Java Syntax
,
Level 4
,
Lesson 10
Archived
Help me
i not understand, why problem
22.06.2019
1166
views
1
comment
0
Satya Vath
Level 31
Vijayawada
Question about the task
Reinforce the singleton pattern
Java Core
,
Level 5
,
Lesson 12
Under discussion
Help
Please Help
16.06.2019
1186
views
4
comments
0
ProgrammerNewbie
Level 14
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Code does not work.
Hi, Somehow this does not work (e.g. produce the output) as it should work. Nevertheless, I cannot find my mistake.
12.06.2019
1466
views
3
comments
1
Basharah Batool
Level 5
Question about the task
Cats in the Universe
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
Whats wrong in my program?
Below is my code. Its running fine and giving correct output but CodeGym is not verifying it. Why??
19.05.2019
1495
views
5
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
Static cats
Java Syntax
,
Level 6
,
Lesson 11
Archived
How to use ArrayList?
I don't think ArrayList was taught before, how to use it and solve this problem?
30.08.2018
2107
views
3
comments
0
yash vadyakar
Level 2
Question about the task
Even to the moon!
Java Syntax
,
Level 2
,
Lesson 8
Resolved
what is this task all about.. can't figure it out. Its says convert earth weight in newton and than into lunar weight.. Please help!!
package com.codegym.task.task01.task0136; /* Even to the moon! */ public class Solution { public static void main(String[] args) { System.out.println(getWeight(888)); } public static double getWeight(int weightEarth) { //write your code here
14.08.2018
2956
views
5
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Do we have a pair?
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
having 1 error
if no number match than don't display anything.
05.06.2019
1283
views
4
comments
0
Show more
1
...
306
307
308
309
310
...
372
Please enable JavaScript to continue using this application.