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
Vaibhavi
Level 5
Vijayawada
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
please help..!!
Can anyone help to know where I am going wrong??
11.12.2019
833
views
4
comments
0
shaan mohd khan
Level 13
Jhansi
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
My code is throwing null pointer exception error on the 18th line. not able to find a way to resolve it.Can anyone help
package com.codegym.task.task09.task0930; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; /* Task about algorithms */ public class Solution { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedRe
12.12.2019
1955
views
5
comments
0
Sindhura
Level 15
Delhi
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
how to get comma in display- Aug 18 2013 output should be Aug 18,2013
package com.codegym.task.task09.task0922; import java.io.BufferedReader; import java.io.InputStreamReader; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; /* What's today's date? */ public class Solution { public static void main(String[] args) throws Exc
09.10.2018
2976
views
5
comments
0
Lelush
Level 7
Question about the task
Create a Rectangle class
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
PLEASE HELP ME
What is wrong with my code?
03.12.2019
1524
views
8
comments
0
chinna gnanesh
Level 9
Chennai
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
FourthReqNotMatching
Fourth Requirement is not matching
12.12.2019
1005
views
2
comments
0
Kris
Level 9
Englewood
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
The Code works, but does not satisfy the conditions. Wondering if there is a way to make this particular code work + satisfy the conditions.........Just looking for the shortest and fastest solution......
package com.codegym.task.task07.task0728; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Collections; /* In decreasing order */ public class Solution { public static void main(String[] args) throws Exception { BufferedReade
10.12.2019
1250
views
9
comments
0
jonathan D
Level 26
Lille
Question about the task
Deep cloning of a map
Java Multithreading
,
Level 1
,
Lesson 8
Resolved
Error in the equals method?
Hello, I don't understand where is my error (The cloned object's users map should be equal (comparison using equals) to the users map of the cloned object.). With my own tests everything seems alright regarding to the deep copy and the return value of the equals method. Any help is welcome ^^
28.11.2019
997
views
2
comments
0
chinna gnanesh
Level 9
Chennai
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Resolved
help me
Fourth req is failing help me
03.12.2019
1115
views
10
comments
0
Ivan
Level 22
Nope
Question about the task
Make a family
Java Syntax
,
Level 8
,
Lesson 11
Resolved
NullPointerException error
Guys, can you help me out? Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended Exception in thread "main" java.lang.NullPointerException at Lvevel8FinalTasks.MakeAFamily.MakeAFamily.main(MakeAFamily.java:15)
29.10.2019
2044
views
3
comments
2
MecoS
Level 16
Question about the task
Kind Emma and the summer holidays
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Please Help
I try to debug and insert sout on verifying month - 45 row - (it come in but did not remove)...
05.12.2019
1123
views
2
comments
0
krystian
Level 9
Kozle
Question about the task
Drawing a rectangle
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
Drawing a rectangle
Could you help why my code Does not work? public class Solution {
11.12.2019
898
views
1
comment
0
Connor
Level 8
Boston
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
I'm a little unsure about what it's asking.
When it says to make sure that the getDescription method doesn't return any null strings, I went to make a while loop that broke once there was an input such as this. public static class Idea{ public String getDescription() throws IOException { BufferedReader br = new BufferedRe
02.05.2019
2029
views
4
comments
0
Зоран Јањић
Level 8
Teslic
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Can someone please explain me what's going on here. Totally lost. ty
public class Solution { public static class Idea { public String a =" string"; public String getDescription(){ return a; } public static void printIdea(Idea idea){ System.out.println(idea.getDescription()); } }
24.10.2019
1515
views
3
comments
0
Somya Gupta
Level 4
Vrindavan
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Resolved
error
package com.codegym.task.task02.task0213; /* Pets need people */ public class Solution { public static void main(String[] args) { //write your code here Cat cat=new Cat(); Dog dog=new Dog(); Fish fish=new Fish(); Woman woman=new Woman();
20.08.2018
2470
views
10
comments
0
Jeremy Simons
Level 7
Peterborough, Cambridgeshire, UK
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Please help
My code works why won't it verify? Thank you
11.12.2019
838
views
2
comments
0
Jeremy Simons
Level 7
Peterborough, Cambridgeshire, UK
Question about the task
Streets and houses
Java Syntax
,
Level 7
,
Lesson 4
Archived
Please advise?
The code seems correct and seems to fulfill the objectives?
11.12.2019
944
views
1
comment
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Please help..!!
Can anyone know what mistake I am doing
10.12.2019
851
views
3
comments
0
Shawn
Level 3
Dallas
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
I don't get this!
Error given is: The min method must return the minimum of numbers a, b and c. Code: package com.codegym.task.task02.task0216;
10.12.2019
825
views
2
comments
0
Adam Maichrzik
Level 22
Katowice
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Only one question - The min(a, b, c, d) method must use the min(a, b) method.
Hi! Can somebody help me with this? I don't want the solution. If you can I just want from you to show me the right way of thinking so I can figure out this task by myself.
08.12.2019
1396
views
9
comments
0
Boris the Llama
Level 20
Maidstone
Question about the task
Searching for the right lines
Java Core
,
Level 9
,
Lesson 11
Resolved
Seems to work, but fails
It seems to pass the tests I do, but it wont verify. On the last condition it says "Consider the fact that the words list can have an arbitrary number of words". I've tried it with longer lines and it still seems to work, so unsure what it means?
09.12.2019
1105
views
2
comments
0
Hendra
Level 8
Medan
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
I can't find mistake in my code...what should I do?
package com.codegym.task.task04.task0428;
10.12.2019
799
views
2
comments
0
علي حجار
Level 18
Bursa
Question about the task
Display today's date
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
My answer it is like correct
screen display current date 22 11 2018 but there are a problem
22.11.2018
1954
views
4
comments
1
Seán de Roo
Level 4
Utrecht
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What's wrong with my code? It seems to be working when i test it out
int daysInNonLeapYear = 365; int daysInLeapYear = 366; if (year % 400 == 0) { System.out.println("Number of days in the year: " + daysInLeapYear + "."); } else if (year % 100 == 0) { System.out.println("Number of days in the year: " + daysInNonLeapYea
10.12.2019
890
views
1
comment
0
Niranjan Soni
Level 15
Bangalore
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 4
Archived
Not validated for case zero.
What's wrong with my code. Not validated for case zero.
23.09.2018
1665
views
8
comments
0
Vaibhavi
Level 5
Vijayawada
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
please help
Please help me in knowing where I am going wrong
10.12.2019
837
views
1
comment
0
Erfan Alam
Level 2
Rangpur
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Method and object
Isn't it confusing, because it looks like a method, And who teach me to creat an object under a class, CodeGym getting confusing for me. Tasks are coming with no pre exercises!!
21.11.2019
937
views
3
comments
1
ProgrammerNewbie
Level 14
Question about the task
Method in a try-catch
Java Syntax
,
Level 9
,
Lesson 11
Resolved
throws IOException
Hi, My code works fine while running. Unfortunately it fails the third condition. I know it is because of "throws IOException". However, when I had left that out, my code did not compile due to an unhandled IOException. Best regards
24.07.2019
4024
views
3
comments
0
Shawn
Level 3
Dallas
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Still can't figure this out.
Can someone help me find my errors? Code: package com.codegym.task.task02.task0204;
10.12.2019
844
views
1
comment
0
Tian Pro
Level 23
Cape Town
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Sorry I can't figure this out >.<
I'm still very much a beginner at this stuff, I might not be learning as fast as I should be. But I'm stuck on this one and kinda need help. Not sure how much of this code is wrong, perhaps all of it is, haha. Just let me know please :D
28.11.2019
918
views
3
comments
0
MecoS
Level 16
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Map did nit have 2 equals key...
For me the methods are ok but i didn't understand why the error?
05.12.2019
810
views
2
comments
0
Show more
1
...
241
242
243
244
245
...
366
Please enable JavaScript to continue using this application.