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
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
1468
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
1496
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
1414
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
1699
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
1679
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
1605
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
1237
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
1573
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
1380
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
1418
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
1436
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
1536
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
1589
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
2496
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
1680
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
1848
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
1644
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
1225
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
913
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
1269
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
1113
views
1
comment
0
null
Level 17
New York City
Question about the task
Going national
Java Syntax
,
Level 8
,
Lesson 11
Archived
My solution
public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String s = reader.readLine(); String[] strings = s.trim().split("\\s+"); for (String str: strings){ str = st
24.05.2019
1032
views
3
comments
0
Courtney Cooper
Level 2
Westminster
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Resolved
I keep getting an error regarding the number of lines...
Where did I go wrong?
03.05.2019
1353
views
4
comments
0
Jacob Warren
Level 8
Tampa
Question about the task
Improving functionality
Java Syntax
,
Level 5
,
Lesson 12
Resolved
Okay what is actually wrong with this code?
I know that it is a little bit messy and probably not the most condensed it could be but it works with every single set of numbers that I plugin. I have absolutely no idea why this isn't working. I did it before got it right and then it didn't save.
25.05.2019
1741
views
0
comments
0
Mohamed Nagy
Level 7
Alexandria
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Resolved
hey guys i wondering why should i suffer from this little things please tell me what's the problem here
please help me in this code
16.05.2019
2327
views
13
comments
2
Tejashree
Level 7
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
not sure what is wrong
package com.codegym.task.task04.task0416; /* at the beginning of each hour, the green signal is on for three minutes, then the signal is yellow for one minute, and then it is red for one minute. Then the light is green again for three minutes, etc. Use the keyboard to enter a real number t that r
24.05.2019
1571
views
4
comments
0
satish
Level 15
kadapa
Question about the task
StringHelper class
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
i cant understand the problem
how to return 5 times
23.05.2019
1424
views
2
comments
0
dean
Level 8
Deutschland
Question about the task
Shuffled just in time
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
whats missign here
thanks
23.05.2019
1208
views
4
comments
0
dean
Level 8
Deutschland
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
missign 1
what am i missing?? :9
23.05.2019
1493
views
8
comments
0
vengadesh
Level 5
chennai
Question about the task
This age doesn't work for me…
Java Syntax
,
Level 4
,
Lesson 1
Under discussion
that should make how object is working for calling a different function and "this" keyword function pls help me
package com.codegym.task.task04.task0401; /* This age doesn't work for me… */ public class Solution { public static void main(String[] args) { Person person = new Person(); System.out.println("Age: " + person.age); person.adjustAge(person.age); System.out.prin
16.05.2019
1487
views
5
comments
0
Show more
1
...
317
318
319
320
321
...
371
Please enable JavaScript to continue using this application.