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
Sam
Level 2
Delhi
Question about the task
Where does a Person come from?
Java Syntax
,
Level 2
,
Lesson 2
Resolved
I don't get it ..isn't it right? still says: In the main method, create a Person object and immediately assign a reference to it to the variable person. ??
package com.codegym.task.task02.task0202; /* Where does a Person come from? */ public class Solution { public static void main(String[] args) { //write your code here Person Person = new Person(); } public static class Person { //write your code here
19.08.2018
2962
views
16
comments
0
David
Level 26
Bucharest
Question about the task
Counting words
Java Core
,
Level 9
,
Lesson 5
Resolved
Can anyone help me, Please!!!
I can't see what is wrong I know I could take someonelese's solution but I am not learning in this way.
29.06.2020
496
views
6
comments
0
Beata
Level 8
Essen
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
what is wrong with my code?
I already tested it with other values, it works, but it doesn't verify
30.06.2020
449
views
2
comments
0
Ash Ka
Level 13
Calgary
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
getSameFirstNameCount() method fails. Please help.
Attached the code. Please help!
31.05.2019
1428
views
5
comments
0
Tata
Level 16
Hisar, Haryana
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Resolved
I'm getting NumberFormatException. How to solve it.
where i'm wrong, please help.
29.06.2020
561
views
5
comments
0
Catherine
Level 23
London
Question about the task
Let's put together a rectangle
Java Syntax
,
Level 5
,
Lesson 7
Under discussion
Error message is confusing.
I don't understand what this error means... com/codegym/task/task05/task0513/Rectangle.java:25: error: method initialize(int,int,int) is already defined in class com.codegym.task.task05.task0513.Rectangle public void initialize (int top, int left, int width){
08.05.2020
553
views
4
comments
0
Tony Roy
Level 41
Victorville
Question about the task
Minesweeper (Part 7/16)
Games
,
Level 0
,
Lesson 0
Resolved
Same as everyone else. It seems to work but won't pass validation. The key bit of code is in openTile(int x, int y).
private void openTile(int x, int y) { if (gameField[x][y].isMine) setCellValue(x,y,MINE); else setCellNumber(x,y,gameField[x][y].countMineNeighbors); gameField[x][y].isOpen = true; setCellColor(x,y,Color.GREEN); }
03.03.2020
762
views
4
comments
0
Usha Mathivanan
Level 15
CHENNAI
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Resolved
Pls Help me what's wrong ?????
Only condition no.1 and no.4 is satisfied
26.06.2020
459
views
2
comments
0
Sarvesh
Level 11
Bangalore
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Can anyone help me idnetify my error ?
05.03.2019
1514
views
2
comments
0
sarthak pawar
Level 19
Nashik
Question about the task
Making a human
Java Core
,
Level 2
,
Lesson 9
Under discussion
what's wrong with this code???
????
28.06.2020
407
views
2
comments
0
Rita
Level 9
Viana do Castelo
Question about the task
Only for the rich
Java Syntax
,
Level 8
,
Lesson 8
Resolved
Why am I not meeting the last requirement?
I don't understand what I'm doing wrong, could somebody please give me a hint or something?
29.06.2020
546
views
3
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
TableAdapter
Java Core
,
Level 9
,
Lesson 3
Under discussion
Ive Tried everything
I cannot for whatever reason I am not doing the escape correctly. so this is what ive come up with. the output looks correct but still not verifying please help
29.06.2020
511
views
1
comment
0
Randall John
Level 19
East Cleveland
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Under discussion
Code works for the example but won't verify Please HELP
What am I doing wrong here?
28.06.2020
338
views
2
comments
0
Henrique
Level 41
São Paulo
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Cannot verify last requirement. Someone could help me, please?
I've already searched the other topics and couldn't find a proper answer to my case. The error message is: "The getPhoneNumber() method should return a valid phone number (see the examples), padded with zeros if necessary to get 10 digits. The phone number and its country code should be retrieved u
29.06.2020
383
views
2
comments
0
Denis
Level 22
Kharkiv
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Under discussion
Need help
Help me pls
29.06.2019
936
views
4
comments
0
Sindhura
Level 15
Delhi
Question about the task
Functionality is not enough!
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
not verifying :(
package com.codegym.task.task10.task1019; import java.io.*; import java.util.HashMap; import java.util.Map; /* Functionality is not enough! */ public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStrea
10.10.2018
1717
views
6
comments
0
Sebastian
Level 10
Medellin
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Resolved
Can someone please explain to me why is the not correct?
Can someone please explain to me why is the not correct?
18.06.2020
515
views
4
comments
0
Angel Stefan Arjoca
Level 26
Bucharest
Question about the task
Reading a file
Java Core
,
Level 3
,
Lesson 11
Archived
One hint, pls!
How i print in one line(string)?
29.06.2020
543
views
3
comments
0
Laurence
Level 10
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
ParseException error on Line 21, why?
I'm getting a jave.text.ParseException error on line 21, I can't seem to get rid of it, can anybody help?! If I add 'throws Exception' after methods then 'date1' and 'date2' both come back as 31 Dec 2012. Any help would be greatly appreciated!
28.06.2020
404
views
2
comments
0
Jack
Level 8
Brussels
Question about the task
Sorting three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
error of "decending" condition
Hi the code output is correct, yet i still get the error. Can you please help me? thanks
29.06.2020
348
views
3
comments
0
Stephen Haokip
Level 8
imphal
Question about the task
Time for 10,000 get calls
Java Syntax
,
Level 8
,
Lesson 6
Resolved
guys i m stuck
i need help
23.06.2020
343
views
2
comments
0
Alessio
Level 4
Under discussion
; at the end of s line
In any task I tried so far, I receive always the same error, is missing the ";" at the end of the line... but is not really missing... even if I write it correctly, I still receive the error saying that ";" is missing even if is not...
29.06.2020
305
views
1
comment
0
Ivan
Level 9
Uzhhorod
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
Please help me. What's wrong with my code?
Please help me. What's wrong with my code?
29.06.2020
337
views
2
comments
0
Solanki Dhruv
Level 18
Surat
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Where is mistake?
Whre is problem?
18.11.2018
1314
views
2
comments
0
Thomas Sixberry
Level 16
Rochester Hills
Question about the task
Whether it's a bird or a lamp
Java Core
,
Level 2
,
Lesson 2
Resolved
This is what the previous lesson taught me.
Why must I go to help section to figure this out? Furthermore, why does this print 3x Cat, Dog, etc?
08.02.2020
1187
views
3
comments
0
Bartosz
Level 25
Bialystok
Question about the task
Build a WHERE query
Java Multithreading
,
Level 2
,
Lesson 9
Under discussion
What is wrong here?
What is wrong here? Output seems to be fine, but it isn't validated
23.04.2020
761
views
2
comments
0
Ivan
Level 9
Uzhhorod
Question about the task
To the top of the list
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
what i did wrong?
what i did wrong?
28.06.2020
383
views
2
comments
0
VENKATES WARAN
Level 4
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
resolved
System.out.println("Your salary is: "+ (a+1000) + " dollars per month.");
09.06.2020
616
views
3
comments
0
Riley Terwilliger
Level 4
Asheville
Question about the task
Predictions
Java Syntax
,
Level 3
,
Lesson 8
Resolved
I dont know what it means
Im really confused. I have kinda gotten lost and not much makes sense anymore.
27.06.2020
622
views
5
comments
0
Jeremi Nuer
Level 7
San Francisco
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Hey all, I figured out a super simple solution, and give some hints
Note: this will not use any complicated things we haven't learned yet. Originally, I was trying to (like many others) account for every single possibility and then assign the variable for positive and negative numbers based on which possibility had occurred. This is not the way to do it. Instead, I
17.06.2020
534
views
2
comments
1
Show more
1
...
167
168
169
170
171
...
366
Please enable JavaScript to continue using this application.