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
hacks patel
Level 20
Ahmedabad
Question about the task
What's today's date?
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Just Month is in lowerCase
My output is look like Aug 18, 2013 help me to print month in upperCase
05.01.2019
2732
views
5
comments
3
Tej
Level 9
Hyderabad
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
anything wrong?
public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b) { // write your code here int sub = abs( a); int sub1 = b - 10; if(sub>sub1)
11.08.2019
908
views
1
comment
0
Anthony Chalk
Level 30
London
Question about the task
Minesweeper (Part 1/16)
Games
,
Level 0
,
Lesson 0
Under discussion
What am I doing wrong?
I'm not sure why this isn't working, can someone please help? Thank you
04.08.2019
1783
views
7
comments
0
Denis
Level 22
Kharkiv
Question about the task
Default values
Java Core
,
Level 5
,
Lesson 9
Under discussion
what is wrong, guys
help me pls
26.06.2019
1257
views
2
comments
0
Ornela
Level 11
Tirana
Question about the task
Mercantile intentions
Java Syntax
,
Level 3
,
Lesson 12
Under discussion
Problems with IntelliJ Idea
I want to run this code in IntelliJ Idea, and it keeps giving me an error, and directly another task that i didn't finish appears. What can i do to run just this code and ignore the other task? On the codegym compiler this works fine, but i wanted to become used to IntelliJ idea.
06.02.2019
1763
views
9
comments
1
Denis
Level 22
Kharkiv
Question about the task
A big fox is still a fox
Java Core
,
Level 3
,
Lesson 4
Under discussion
help me pls with this
a cant understand what is wrong
24.06.2019
1389
views
1
comment
0
Andrea
Level 20
Question about the task
Catching unchecked exceptions
Java Syntax
,
Level 9
,
Lesson 8
Resolved
Seeing a similar as the previous task
The way the code is written I thought I was meeting the requirements: -calling all three methods in the handleExceptions method -using only one try catch block -printout out of the exceptions Not sure what else could I am missing. Please advise.
11.08.2019
1303
views
1
comment
0
Anthony Chalk
Level 30
London
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
Completed but still don't undersatnd
So the code worked but I don't understand why. There are two lines of input so how does the program know which line I'm referring to?
08.08.2019
920
views
2
comments
0
SefoBe
Level 16
Paris
Question about the task
HashMap of 10 pairs
Java Syntax
,
Level 8
,
Lesson 3
Under discussion
Correct output but not accepted
Why is my output correct but the solution is not accepted ?
08.08.2019
1016
views
3
comments
0
Okabe Rintarou
Level 4
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Resolved
Please help! I can't find my error.
"The program should display the number of positive numbers in the original set." This is the condition I did not met. Can someone point out to me where is the error in my code?
11.08.2019
1044
views
1
comment
0
Voris
Level 10
Tashkent
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Why father isn't displaying correctly ?
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandFatherName = reader.readLine(); Cat grandFather = new Cat(grandFatherName); Stri
17.07.2019
1474
views
3
comments
1
Jen P
Level 26
Question about the task
Introducing properties
Java Core
,
Level 10
,
Lesson 2
Resolved
I am not sure what I need to do in this question at all.
So problem file requests to "populate the properties map with data from the file. You can read about .properties here: http://en.wikipedia.org/wiki/.properties". However, after done reading wiki page, all I know is that `.properties` is a file suffix .properties with key, value pairs, and even the
10.08.2019
1266
views
1
comment
0
vladimir.plamadeala@endava.com
Level 10
Chisinau
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
Why the last condition is not satisfied? In IntelliJ seems to work fine.
?
10.06.2019
1308
views
3
comments
1
hidden #10468516
Level 5
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Under discussion
not able to understand help!!
I am stuck that why it is not picking up the value what's wrong in my code
08.08.2019
1147
views
7
comments
0
Earil
Level 25
Paris
Question about the task
Exception when working with numbers
Java Syntax
,
Level 9
,
Lesson 6
Resolved
Need help understanding why the validity test accepts one answer and not the other - possible bug report -
Hello, I have two codes that I think are functionally identical, and I need help understanting why one is validated and the other is not. Here is NOT working code (ERROR : The program must catch a specific type of exception, not all possible exceptions (i.e. not Exception)) : public class Solutio
12.06.2019
1715
views
2
comments
1
Denis
Level 22
Kharkiv
Question about the task
Triangle of eights
Java Syntax
,
Level 4
,
Lesson 13
Under discussion
I DONT UNDERSTAND(
for(int i = 0; i < 10; i++) { for(int j = 0; j <= i; j++) { System.out.print("8"); } System.out.print("\n"); } In connection with what the program displays on the new line a number with one more additional digit 8? Please explain. I'm confused in this thread.
05.06.2019
1247
views
4
comments
0
Nitin raj
Level 12
Mumbai
Question about the task
Logging stack traces
Java Syntax
,
Level 9
,
Lesson 2
Resolved
Can anyone please debug my code
Why it is giving com.javaarush in class Name. Please correct it
05.08.2019
1548
views
1
comment
0
Thebe
Level 7
Benares
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
R or L
why these tasks are not being fulfilled.
19.03.2019
1780
views
2
comments
0
Zahadym Zahadum
Level 15
Moscow
Question about the task
Duplicating words
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
help
help ArrayList result = doubleValues(list); for (int i = 0; i < result.size(); i++){ System.out.println(result.get(i)); }
18.04.2019
1345
views
3
comments
0
khushbu Nirmal
Level 7
Mumbai
Question about the task
Calling a constructor from a constructor
Java Syntax
,
Level 5
,
Lesson 9
Under discussion
what's wrong in my code
help
18.11.2018
1645
views
7
comments
0
Savannah
Level 4
Memphis
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
Hello. What is wrong with my code please??
package com.codegym.task.task03.task0316; /* Escaping characters */ public class Solution { public static void main(String[] args) { System.out.println("This"+" "+"is"+" "+"a"+" "+"Windows"+" " +"path:" +" "+"\"C"+":"+"\\"+"ProgramFiles"+"\\"+"Java"+"\\"+"jdk1.8.0_172"+"\\"
09.08.2019
1159
views
2
comments
0
Divakar Reddy
Level 15
Nandyal
Question about the task
Static modifiers: part 1
Java Core
,
Level 5
,
Lesson 9
Under discussion
can anyone tell me where i commited mistake
help me with this
10.08.2019
1014
views
1
comment
0
KARAN BHOITE
Level 15
Nagpur
Question about the task
Greater than 10? You're not a good fit for us
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
please..
please give me ans ???
08.08.2019
1645
views
7
comments
0
abhijith arjun
Level 12
DeKalb
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
private Cat mother; private Cat father; can anyone explain these two lines. although i solved this problem. i have a bit confusion.
public class Solution { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String grandfathername = reader.readLine(); Cat catGrandfather = new Cat(grandfathername); String gra
09.08.2019
935
views
1
comment
1
KARAN BHOITE
Level 15
Nagpur
Question about the task
Census
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
please help.
what happend i dont know
10.08.2019
1026
views
1
comment
0
Jacqueline Lim
Level 9
Makati
Question about the task
In the blue depths of the stack trace…
Java Syntax
,
Level 9
,
Lesson 2
Under discussion
Why?
How can I fulfill the 2nd requirement? Is there any problem with my code?
13.11.2018
1540
views
4
comments
1
hidden #10361881
Level 19
Question about the task
Stack trace with 10 calls
Java Syntax
,
Level 9
,
Lesson 2
Resolved
closing the circle
Am I getting error because method10 is not calling another method? How do I close the circle?
27.03.2019
1512
views
4
comments
1
Cristian
Level 16
Bucharest
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
What is wrong in my code?
package com.codegym.task.task04.task0441; /* Somehow average */ import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); System.out.println("Enter the three numbers: "); int
09.08.2019
1119
views
4
comments
0
MICHAEL DUNLAP
Level 20
Bellevue
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
What case is causing this to fail?
I know my solution is a little convoluted, but I'm failing the requirement of words in ascending order, even though this solution works for all the cases I've tried and I am calling the isGreater method. Any nuggets of wisdom?
08.08.2019
1254
views
3
comments
0
Denis
Level 22
Kharkiv
Question about the task
Pharmacy
Java Core
,
Level 7
,
Lesson 10
Archived
help me pls
four condition
28.06.2019
1505
views
1
comment
0
Show more
1
...
283
284
285
286
287
...
366
Please enable JavaScript to continue using this application.