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
Joy Majumdar
Level 16
Kolkata
Question about the task
Turnip
Java Core
,
Level 3
,
Lesson 11
Resolved
What's problem in here please help with it ?
Where is the trick ?
17.07.2019
1354
views
2
comments
0
Raj Mishra
Level 15
India
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
My last validation is failing, but unable to frame a scenario in support of my last validation
Any way the sum of any three sides will always be greater than the third side (except 0,0,0). I am unable to frame the logic on my last validation. Please help?
09.09.2019
1583
views
1
comment
0
Binesh
Level 16
Question about the task
Software update
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Last Requirement is not getting satisfied. Please clarify what could be wrong?
while (true) { String city = reader.readLine(); if (city.isEmpty()) break; String family = reader.readLine(); cities.put(city, family); } //Print the Map Key, Value Pairs System.out.println(cities); String city = read
11.08.2019
1508
views
9
comments
1
Henry
Level 6
Stuttgart
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
assistance
I do not know what is expected to be done.
02.09.2019
1281
views
2
comments
0
kollipara tanusha
Level 2
Delhi
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Resolved
i solved in many ways but still i am getting error please give any tip
public static void sum(int a, int b) { int c = a + b; System.out.println(c); }
26.03.2019
1461
views
4
comments
0
Rosita
Level 2
Oceanside
Question about the task
As simple as 2+2
Java Syntax
,
Level 1
,
Lesson 8
Resolved
No instructions on how to call a method
Am missing something? I am not seeing in the lesson where it tell us how to call a method? Is it in an earlier lesson? After a few trial and errors I figured it out but, should't "how to call a method" be added the lesson?
26.06.2019
1050
views
2
comments
0
Lavina Korani
Level 3
Jaipur
Question about the task
Kiss my shiny metal rear actuator
Java Syntax
,
Level 1
,
Lesson 5
Resolved
Why it is wrong?
String Text = "Kiss my shiny metal rear actuator!"; System.out.printIn(Text); Why it is wrong?
17.04.2019
1214
views
5
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Resolved
A little Hint is appreciated. Please Help
14.04.2019
1105
views
2
comments
0
Gioele
Level 1
Monfalcone
Question about the task
Snake (Part 18/20)
Games
,
Level 0
,
Lesson 1
Under discussion
What am i doing wrong?
In the setDirection() method i've done what is write to do, but it fails all the checks. I don't know why, but when in the method i change both the 2 if statements for the UP and DOWN: if(snakeParts.get(0).y == snakeParts.get(1).y); into this : if(snakeParts.get(0).y != snakeParts.get(1).y); th
12.08.2019
1285
views
1
comment
0
Djole
Level 41
Belgrade
Question about the task
CashMachine (part 11)
Java Collections
,
Level 9
,
Lesson 15
Resolved
?
public class LoginCommand implements Command{ private static final String CC = "123456789012"; private static final String PIN ="1234"; @Override public void execute() throws InterruptedOperationException { while(true) { ConsoleHelper.writeMessage("Enter 12-digi
08.09.2019
997
views
2
comments
0
Lukas Smetana
Level 10
London
Question about the task
Catching custom exceptions
Java Syntax
,
Level 9
,
Lesson 8
Under discussion
Cant make it work
Why? Help please
09.08.2019
1489
views
1
comment
0
Denis
Level 22
Kharkiv
Question about the task
Counting commas
Java Core
,
Level 8
,
Lesson 5
Under discussion
Last condition
help me pls, guya
28.06.2019
1313
views
2
comments
0
Nicolas Huet
Level 41
Provins
Question about the task
A wise man thinks once before speaking twice
Java Multithreading
,
Level 6
,
Lesson 8
Resolved
I don't see it
I don't see what other objects than "this" could be used here. I tried current Thread it also failed. I don't see in the previous solutions a clue (but I might have missed it) and after research on internet I only find "this" or a specific object already created like an instance with is created usin
07.09.2019
1245
views
2
comments
0
Satya Vath
Level 31
Vijayawada
Question about the task
Counting commas
Java Core
,
Level 8
,
Lesson 5
Resolved
Please Help
What is the Problem Here
18.04.2019
1529
views
2
comments
0
Alexandru Savu
Level 4
Brasov
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Can you help?
import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String a = br.readLine(); String b = br.readLine(); Solut
08.09.2019
1330
views
2
comments
0
Haridas Lakayil
Level 8
Hyderabad
Under discussion
What is wrong in my code
package com.codegym.task.task04.task0409; /* Closest to 10 */ public class Solution { public static void main(String[] args) { displayClosestToTen(8, 11); displayClosestToTen(7, 14); } public static void displayClosestToTen(int a, int b) { int c = abs(a-10);
09.09.2019
918
views
1
comment
0
krishnaprasanna doddapaneni
Level 2
Hyderabad
Question about the task
One variable is not enough
Java Syntax
,
Level 1
,
Lesson 3
Resolved
getting error in this can anyone give me carilifation
package com.codegym.task.task01.task0111; /* One variable is not enough */ public class Solution { public static void main(String[] args) { int a=20; int b=15; String name ="S"; System.out.println(a); } }
30.01.2019
1645
views
5
comments
0
Theodosia J Goodman
Level 1
Wilmington
Question about the task
Contract
Java Syntax
,
Level 1
,
Lesson 6
Resolved
Here's the answer!!!
Whatever code you put it's correct. it's the website that keeps giving an error. just copy and paste: ... NOTE: it can either be System.out.printIn(""); or System.out.printIn();
02.03.2019
1507
views
3
comments
2
Mega tok
Level 2
Jakarta
Question about the task
A variable on our screen
Java Syntax
,
Level 1
,
Lesson 3
Resolved
compiled but comment missing
at the code analysis states: Missing a Javadoc comment.: Solution.java, line: 9, column: 5 what is actually expected?
28.04.2019
1187
views
1
comment
0
szu2
Level 2
Warsaw
Question about the task
Square of a number
Java Syntax
,
Level 1
,
Lesson 8
Archived
explanation - how do I solve this one?
I don't understand the structure(s) that we have to use here. public class Solution { public static void main(String[] args) { int a = sqr(5); System.out.println(a);//write your code here } public static int sqr(int a) { return a * a; I did this and got a righ
22.03.2019
2795
views
10
comments
0
Denis
Level 22
Kharkiv
Question about the task
Displaying a stack trace
Java Core
,
Level 6
,
Lesson 3
Under discussion
LAST CONDITION
What i can do this?
27.06.2019
1476
views
5
comments
0
Aman
Level 2
Chopda
Question about the task
Only 20 will do
Java Syntax
,
Level 1
,
Lesson 4
Resolved
In the main method, place plus and minus signs correctly so that the variable result is equal to 20. Signs must be placed only in the line where the variable result is declared. Do not change the order of the variables in this line. Each variable must be preceded by either a plus or minus sign.
public class Solution { public static int a = 1; public static int b = 3; public static int c = 9; public static int d = 27; public static void main(String[] args) { int result = - a - b - c - d; System.out.println(result); } }
28.04.2019
2177
views
3
comments
0
Shaik Gousiya
Level 2
Mumbai
Question about the task
Amigo is very smart
Java Syntax
,
Level 0
,
Lesson 2
Resolved
How to understand errors?
23.08.2019
1155
views
2
comments
0
Shaik Gousiya
Level 2
Mumbai
Question about the task
Amigo is very smart
Java Syntax
,
Level 0
,
Lesson 2
Resolved
How to overcome errors?
How to understand errors?
23.08.2019
1140
views
2
comments
0
Udayan Gupta
Level 2
bangalore
Question about the task
No comments needed
Java Syntax
,
Level 0
,
Lesson 8
Resolved
i have a problem please help me out
please help me out
30.03.2019
1142
views
2
comments
1
Philip T-D
Level 18
San Diego
Question about the task
Human class constructors
Java Syntax
,
Level 10
,
Lesson 11
Under discussion
I guess I am missing something. How can there be more constructors which "make sense"?
I guess I am missing something. How can there be more constructors which "make sense"?
23.04.2019
1624
views
6
comments
0
Bryce Lindley
Level 9
Olympia
Question about the task
Arithmetic mean
Java Syntax
,
Level 5
,
Lesson 5
Resolved
Am I on the right track?
Any tips would be great :)
08.09.2019
1132
views
2
comments
0
Aditya
Level 2
Raipur
Question about the task
Minimum of four numbers
Java Syntax
,
Level 2
,
Lesson 8
Resolved
Can anyone have a look at my code?
I'm unable to pass the last test but in the test section getting correct outputs. Thanks in advance.
01.09.2018
1579
views
4
comments
0
Profj
Level 20
Lagos
Question about the task
In decreasing order
Java Syntax
,
Level 7
,
Lesson 12
Resolved
Please help.
This also works perfectly, but not verifying.
08.06.2019
1650
views
4
comments
0
past cham
Level 6
Delhi
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
how to solve
how to solve
22.03.2019
1496
views
3
comments
0
Show more
1
...
280
281
282
283
284
...
371
Please enable JavaScript to continue using this application.