Promotion
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
Janusz
Level 11
Radomsko
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
What I have to do?
What does it mean "You must initialize an existing string field with a new ArrayList."?
07.12.2018
1447
views
2
comments
0
Kennon
Level 9
Seattle
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Having issues with this task
I can make this code "work" but not verify. The verification says to make sure it calculates everything properly. I have tried many different versions of this task and I am not getting what I am missing. Any help would be appreciated. Thank You.
08.12.2018
1967
views
4
comments
0
Justin Case
Level 11
Cork
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Resolved
This is working fine in IntelliJ but gets flagged on the create 2 small arrays... How come?
public static void main(String[] args) throws Exception { //write your code here int[] big = new int[20]; BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); String s; for (int i = 0; i<20 ; i++){ s = r.readLine();
12.12.2018
1339
views
2
comments
0
ann
Level 4
Dusseldorf
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
My code compiles, but doesn`t fulfill the last condition
I have used BufferedReader and I have written a code, whose output doesn`t match the code. I need to somehow assign a value to name and y, even though it´s supposed to be read from the keyboard. Can anyone help?
03.12.2018
1443
views
5
comments
0
Swati
Level 8
Pune
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
I dont understand about parent
Here parent means either mother/father..we can use that constructor like this.but giving compilation error as "cannot find symbol parent".can anyone explain plz.. My code as: public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new
08.12.2018
1127
views
2
comments
0
Xubres
Level 16
Uranus
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Why is this not working? It works if I don't add the ==0 condition, but as soon as I add it, when the number is negative or zero it loops more than 3 times???
package com.codegym.task.task04.task0429; /* Positive and negative numbers */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); int count = 0; int c
09.12.2018
1249
views
5
comments
0
Swati
Level 8
Pune
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
Giving Compilation error,I checked but not able to catch error
Compliation errror as - com/codegym/task/task06/task0621/Solution.java:75: error: missing return statement } public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
10.12.2018
1048
views
1
comment
0
Eric Patridge
Level 4
New Rochelle
Question about the task
Red scare
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
Requirement 3 is incorrect.
According to the verification: The year must consist of four digits and be at least 1900. The year must consist of four digits and be GREATER than 1900.
09.12.2018
1353
views
3
comments
0
Benjamin Winchester
Level 17
Savannah
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Correct Output, Not Validating (Repost 2)
Another repost so current code can be seen.
04.12.2018
1401
views
7
comments
0
Thango Ö
Level 9
Chennai
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
I dono what wrong on it..help me
H
08.12.2018
1137
views
2
comments
0
Vignesh Vickey
Level 2
Coimbatore
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
Calling function
04.12.2018
982
views
2
comments
0
Solanki Dhruv
Level 18
Surat
Question about the task
User, loser, coder and programmer
Java Core
,
Level 4
,
Lesson 8
Resolved
Where is the problem?
?
07.12.2018
1563
views
2
comments
0
Dedcom
Level 19
Lahore
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Resolved
whats the problem here?
i cant find the error
04.12.2018
1848
views
11
comments
0
ann
Level 4
Dusseldorf
Question about the task
Cat register
Java Syntax
,
Level 4
,
Lesson 2
Resolved
Can I create a new object and then increase its value by 1?
I have tried before using this, but I had the error, that I can't reference a non-static variable from a static context. package com.codegym.task.task04.task0404; /* Cat register */ public class Cat { private static int catCount = 0; public static void addNewCat() { //write you
07.12.2018
1782
views
3
comments
0
Djordje
Level 19
Question about the task
Static modifiers: part 2
Java Core
,
Level 5
,
Lesson 9
Resolved
code is working, i can't see what is wrong with condition 4.
package com.codegym.task.task15.task1515; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Static modifiers: part 2 */ public class Solution { public static int A; public static int B; public static int MIN; static {
06.12.2018
1594
views
2
comments
0
Hafsah Jilanee
Level 10
Karachi
Question about the task
Minimum of three numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
"The min method must return the minimum of the numbers a, b, and c." error is shown...someone please help
I keep getting an error "The min method must return the minimum of the numbers a, b, and c."
01.12.2018
1367
views
2
comments
0
Aaron
Level 2
Germantown
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Declarations
So my questions are listed below: 1. Why do we declare the ConvertCelsiusToFahrenheit method in the class first and not just declare it in the method. 2. Why do do we need to declare celsius to a double in the code, double TF=(double)((celsius)*9.0/5.0)+ 32;, when we have already declared it as a
06.12.2018
1212
views
2
comments
0
Ana Georgievska
Level 2
Skopje
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
Can someone help pls, what is wrong...
04.11.2018
1676
views
6
comments
0
Hankster
Level 9
Cleveland
Under discussion
How do I show both Conditions window and Solution window side by side when completing tasks?
How do I show both Conditions window and Solution window side by side when completing tasks? I have seen others with this view but can't figure out how to do it. thanks
06.12.2018
1172
views
2
comments
0
Martin Evtimov
Level 22
Chicago
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Resolved
I'm missing something
Hi guys, Program works just fine but I'm not doing the task right, any hints?
12.09.2018
1605
views
3
comments
0
deekshit kurnutala
Level 7
Mumbai
Question about the task
Family relations
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
meaning of the code
explain me the meaning of the code
04.12.2018
1237
views
1
comment
0
Abhishek Rangari
Level 22
Nagpur
Question about the task
Following a pattern
Java Core
,
Level 6
,
Lesson 13
Resolved
why it is running infinite ?
In run mode it is working as expected but while verifying it is running infinite. Please can anyone help me on this.
04.12.2018
1697
views
5
comments
0
Collin M
Level 22
Germiston
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What is wrong in this code?
Can anyone see what is wrong in this code? I tried different implementations without any success so i guess there's something wrong i just can't see or understand. Please help!
12.08.2018
2126
views
9
comments
0
imran khan
Level 6
islamabad
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
can anyone help whats wrong with this code
Help plz
04.10.2018
1303
views
4
comments
0
Jaisingh
Level 14
Hyderabad
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
what is a trianle with the specified side, i did not get that, please any body explain me that with the example
15.09.2018
1556
views
5
comments
0
deekshit kurnutala
Level 7
Mumbai
Question about the task
Implement the print method
Java Syntax
,
Level 2
,
Lesson 1
Under discussion
can you help me how the output exactly looks ?
can you help me how the output exactly looks ?
04.12.2018
1514
views
2
comments
0
Juan Gallardo
Level 10
Edmonton
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Resolved
There's an error in the instructions
The description says to match the house number to the right family living in it, but the example shows the city that the house is in. The solution is to use a Map, but it's not clear whether it should be an map or
04.12.2018
1251
views
1
comment
0
Sowmya
Level 3
San Jose
Under discussion
What's wrong with my code
package com.codegym.task.task01.task0132; /* Sum of the digits of a three-digit number */ public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { //write your cod
30.11.2018
1281
views
2
comments
0
Benjamin Winchester
Level 17
Savannah
Question about the task
Chicken factory
Java Core
,
Level 4
,
Lesson 6
Under discussion
Correct ouput, not validating (Repost)
Reposting with code my code from IntelliJ. This meets every condition.
04.12.2018
1378
views
6
comments
0
Benjamin Winchester
Level 17
Savannah
Resolved
IntelliJ runs past tasks whe selecting "Run"
When I select "Run" to test a solution (or use Alt+Shift+F10), IntelliJ runs a past solution. I have selected "Edit Configuration" in Run dropdown, and removed configurations from past class builds so it can rebuild the currently active class, but it still pulls up an old file from a past lesson.
18.11.2018
1802
views
3
comments
0
Show more
1
...
348
349
350
351
352
...
366
Please enable JavaScript to continue using this application.