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
Pioniio
Level 22
Schaffhausen
Resolved
task0905: Why is number of methods 3
Hi task0905 In the blue depths of the stack trace…: My solution works fine. But i don't understand why the number of methods in the stack trace is 3 (variable int deep). We have main method (method 1) which calls getStackTraceDepth method (method 2), hence two methods. Why isn't the answer 2 then? t
27.05.2019
1158
views
2
comments
0
Jacob Warren
Level 8
Tampa
Under discussion
How to run a program in IntelliJ IDEA?
I am trying to test my program using the run command in IntelliJ but it is blurred out. The only way that I have found is going up to run tab on mac and doing a special run since the solution.java is in a different location is this the only way to actually run the program?
25.05.2019
1221
views
1
comment
0
Naman
Level 2
Thana Bhawan
Under discussion
Text should consist of 9 lines
I have created blank lines instead it shows text should consist of nine lines
29.04.2019
1188
views
1
comment
0
Evghenii
Level 13
Chisinau
Question about the task
Positive and negative numbers
Java Syntax
,
Level 4
,
Lesson 7
Resolved
What yhe problem? Can somebody to explayn me?
I dont see what mistake I do?
27.04.2019
1654
views
8
comments
1
Girish
Level 5
Chicago
Under discussion
How to unlock the lessons
How to unlock the lessons
27.05.2019
1297
views
1
comment
0
Mohamed Nagy
Level 7
Alexandria
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
whats the problem guy please help
the last condition fails why??
17.05.2019
1294
views
3
comments
1
dpp
Level 8
Colombo
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Runs perfectly but doesn't pass the test
When I run it all the conditions are satisfied but the verification says that the 1-999 thing is not satisfied
26.04.2019
1121
views
2
comments
1
Steven Mcilhone
Level 17
Belfast
Question about the task
HashMap of Objects
Java Syntax
,
Level 8
,
Lesson 3
Resolved
unsure what to do
see code
07.05.2019
1356
views
7
comments
0
Chiritoiu Cristian
Level 4
Bucharest
Question about the task
What's the cat's name?
Java Syntax
,
Level 4
,
Lesson 2
Under discussion
Help the cat get a name using the setName method
I need more tips for doing this task. Some code would be great!
27.01.2019
3157
views
6
comments
0
harshshah
Level 9
Gandhinagar
Question about the task
Deep and pure love
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Dispaly dosen't match\
Didn't able to find the mistake in white space...!
08.04.2019
1263
views
7
comments
0
Jyothi
Level 20
Question about the task
Working with dates
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
verify failing. please advise
Screen output from the program (System.out) 120 false
30.12.2018
1343
views
2
comments
0
WatWat
Level 9
Vancouver
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Separate Methods for sum and product not working
I thought I would be able to create to separate methods to calculate a sum and a product. public class Solution { public static void main(String[] args) { int c = 5; int d = 7; sum(c, d); product(c, d); } public sum(a, b){ System.out.print(a + b)
02.10.2018
1292
views
6
comments
0
Ahmed
Level 23
Amsterdam
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Can't understand the validator any more?!
Why I got this error/ im making a list with 20 numbers? What is wrong?
23.05.2019
1520
views
6
comments
0
John Michael Montuya
Level 10
Cebu City
Question about the task
Even and odd digits
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Question about static int variables on the code.
So, the last task (Odd or Even). I don't see the following int variables initialized to zero anywhere, but the program somehow works just fine without errors: public static int even; public static int odd; What am I missing? TIA!
25.05.2019
1510
views
8
comments
0
Payal Agarwal
Level 17
Bucharest
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
My querry
Why you are dividing numbers by 10 and 100??
24.05.2019
1461
views
2
comments
0
Dupi
Level 22
Guangzhou
Question about the task
Writing to a file from the console
Java Core
,
Level 3
,
Lesson 11
Under discussion
i was defeated!!!!!
Somebody Help!?
27.05.2019
1085
views
2
comments
0
vengadesh
Level 5
chennai
Question about the task
Three numbers
Java Syntax
,
Level 4
,
Lesson 6
Under discussion
what the error occur in my code pls tell me???
package com.codegym.task.task04.task0424; /* Three numbers */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { BufferedReader index =new BufferedReader (new InputStreamReader(System.in)); int n1=Integer.parseI
20.05.2019
1371
views
11
comments
0
Nithin
Level 35
Hyderabad
Question about the task
Cat code won't compile
Java Syntax
,
Level 7
,
Lesson 12
Resolved
what is wrong with this code
Please help me solve this
24.05.2019
1208
views
4
comments
0
dave
Level 14
Lancaster
Question about the task
Animal set
Java Syntax
,
Level 8
,
Lesson 11
Under discussion
Can there issue with using removeAll()?
public static void removeCats(Set pets, Set cats) { pets.removeAll(cats); }
10.04.2019
1216
views
2
comments
0
Monica Nicoleta
Level 7
Arad
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
I cannot see the error. Please help!
Can anyone help me understand where is the mistake, please?
04.02.2019
1276
views
3
comments
0
Deepak Chandra
Level 16
Visakhapatnam
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Resolved
Help please
Don't know why the third condition is failing. I am getting the output right but its not verifying.
18.05.2019
1360
views
2
comments
1
Juan Pablo C
Level 8
Osorno
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
"The task failed to pass testing" Whats wrong with this? Plz help
I Tried on jdoodle.com and it's all Ok Used the example values at "conditions" and got the right answers
26.05.2019
1447
views
0
comments
0
Razvii
Level 16
Timișoara
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
If a triangle with the specified sides cannot exist, you need to display: "The triangle is not possible." ! WHAT IS WRONG ??
I dont know what i wrong..
24.05.2019
2355
views
4
comments
0
Vaishnavi
Level 8
Waukesha
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
What did I do wrong?
My code works perfectly, but does not fulfill the last requirement that it must fully match the task conditions. What did I do wrong?
15.04.2019
1496
views
5
comments
0
Swati
Level 8
Pune
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Resolved
where to use abs method?
I dont understd where to use abs method and what is its use?
31.10.2018
1662
views
6
comments
0
Halmstark
Level 6
Warsaw
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Archived
Im pretty sure the code works correctly
Can anyone tell me what is wrong here?
20.05.2019
1427
views
4
comments
0
Adnan Razzaq
Level 15
Bamberg
Question about the task
Seasons on Terra
Java Syntax
,
Level 4
,
Lesson 4
Resolved
why is it not verfiying? can someone guide?
package com.codegym.task.task04.task0411; /* Seasons on Terra */ public class Solution { public static void main(String[] args) { checkSeason(12); checkSeason(4); checkSeason(7); checkSeason(10); } public static void checkSeason(int month) {
25.05.2019
1086
views
2
comments
0
Joe
Level 2
Chennai
Under discussion
In level 2 lesson 1 the task what way is it related to objects. how to code no headway
In level 2 lesson 1 the task what way is it related to objects. how to code no headway Condition requesting to add solution class print Not exactly sure how that can be called - The main method should call the Solution class's print method exactly twice. the print method should display string 4
21.05.2019
813
views
2
comments
0
satish
Level 15
kadapa
Question about the task
One large array and two small ones
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
how to print the array elements
using for loop to print arrays is not working why?
24.05.2019
1112
views
2
comments
0
romeo
Level 5
Paramaribo
Question about the task
Product of 10 numbers
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
How could i have made this code better?
I feel like I approached this the most basic way possible. Is there a better way I could have approached this? public static void main(String[] args) { //write your code here int a = 1; int b = 2; int c = 3; int d = 4; int e = 5; int f = 6;
25.05.2019
995
views
1
comment
0
Show more
1
...
312
313
314
315
316
...
367
Please enable JavaScript to continue using this application.