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
Alexey
Level 7
Chernihiv
Question about the task
Playing Javarella
Java Syntax
,
Level 7
,
Lesson 9
Resolved
1st Requirement not working
Maybe im not undestend task. Help me please.
23.03.2019
1087
views
2
comments
0
AJITA SINGH
Level 2
Vishakhapatnam
Question about the task
Our first converter!
Java Syntax
,
Level 2
,
Lesson 2
Resolved
what is wrong with my code.I cannot meet one of the conditons that is 3. The convertCelsiusToFahrenheit method should not display anything.
package com.codegym.task.task01.task0130; /* Our first converter! */ public class Solution { public static void main(String[] args) { System.out.println(convertCelsiusToFahrenheit(41)); } public static double convertCelsiusToFahrenheit(int celsius) { double
14.03.2019
1738
views
3
comments
0
ARIJIT SAHA
Level 3
Kolkata
Question about the task
Display the square of a number
Java Syntax
,
Level 1
,
Lesson 3
Resolved
Here is my code shown below. Don't know where is the problem? I can't pass the fourth condition. Kindly help me.
package com.codegym.task.task01.task0140; /* Display the square of a number */ public class Solution { public static int number = 25; public static void main(String[] args) { //write your code here int number = 4; System.out.println(number*number); } }
15.08.2018
1534
views
5
comments
0
Joy Majumdar
Level 16
Kolkata
Question about the task
Minimum of N numbers
Java Syntax
,
Level 8
,
Lesson 11
Resolved
You run the program and it is just taking & taking keepon taking input
Glad to hear my fault
22.03.2019
1255
views
4
comments
0
Ashutosh Sharma
Level 8
Delhi
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
Why no output showing in this code?? I have used for each loop for traversing the list instead of for loop.
public class Solution { public static void main(String[] args) throws Exception { ArrayList list = new ArrayList(); list.add("rose"); // 0 list.add("love"); // 1 list.add("lyre"); // 2 list = fix(list); for (String s : list) { System
22.03.2019
1118
views
2
comments
0
Emanuele Gurini
Level 18
Porto Recanati
Question about the task
A name is a name
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Who would like to help me to find the typo error?
Hey guys, i think that more eyes works better than two, then, someone would like help me to find typo error in my code? I am a very quiet person but now i feel that i could punch my plush teddy bear. Help my teddy bear, please.
22.03.2019
1529
views
4
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Resolved
Can't be verified
Similar to the other task, am I misunderstanding the requirements? The example shows that each parameter ends with only one " " if its length is shorter than 8, 30, 8, 4 characters.
03.03.2019
1311
views
3
comments
0
szu2
Level 2
Warsaw
Under discussion
Code meaning - Introducing the program
Could someone please explain to me the code below? I'm sorry, I know it is a very basic level but I'm not sure I get it. PACKAGE NAME package com.futujava.lesson2; import java.io.IOExeption; /** * User: General * Date: 12/21/12 * Time: 11:59 */ CLASS NAME public class Task1 {
22.03.2019
1223
views
2
comments
0
Darko Jakimovski
Level 18
Kriva Palanka
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Resolved
I can't get the order of the output right. I really don't get it
The output that I get is as follows: love lyre love And it won't confirm my task because of that
21.01.2019
1842
views
4
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Number algorithms
Java Core
,
Level 10
,
Lesson 10
Resolved
Cannot pass the verification
I tried two methods to limit the time to 10 seconds, but after a lot of googling I can't find anyway to limit the memory use. I tested in the main, either way works for the time control, but the verification still times out. Any suggestions please? Thanks in advance.
14.03.2019
1613
views
5
comments
0
Bill Wu
Level 29
Wellington
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Resolved
help please, can't verify
I tested it and the result seems fine, and I even deleted the last " " (space), but still can't be verified...
03.03.2019
1293
views
3
comments
0
Alex Balandinos
Level 18
Lusaka
Question about the task
We don't need repeats
Java Syntax
,
Level 8
,
Lesson 8
Under discussion
Removal of firstname failing need help
13.03.2019
1218
views
2
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Threads and bytes
Java Core
,
Level 8
,
Lesson 11
Under discussion
Can you tell me where i do a mistake?
public class Solution { public static Map resultMap = new HashMap(); public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String filename =""; while(reader.ready()){ if(
20.03.2019
1861
views
8
comments
0
Lex Medeiros
Level 18
San Jose
Question about the task
18+
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Could you point out what is wrong with my code?
Could someone tell me what I am doing wrong? Below is the code and here is the error I get: /* Use the keyboard to enter the name and age. If the age is less than 18, display "Grow up a little more". */ package com.codegym.task.task04.task0422; /* 18+ */ import java.io.*; public class Solu
21.03.2019
1296
views
5
comments
0
vikr@nt
Level 9
Cincinatti
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Resolved
What is wrong with my code?
I'm basically getting two errors and I've seen the inputs from previous help questions. I'm doing pretty much same. Anybody can you please guide me 1. Remove the last string and insert it at the beginning. Rinse and repeat 13 times. I'm doing it here : for (int i = 0; i<13; i++){ St
09.02.2019
1700
views
6
comments
1
Anirban Mitra
Level 2
Kolkata
Question about the task
Don't feel like it? Do it anyway.
Java Syntax
,
Level 1
,
Lesson 8
Resolved
what's wrong here
string s ="If you feel like it,do the task.If you don't feel like it.do it anyway"; System.out.println(s); System.out.println(s); System.out.println(s); System.out.println(s); System.out.println(s); System.out.println(s); System.out.println(s); System.out.println(s); System.out.println(s); System.ou
21.03.2019
1418
views
5
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Synchronized notes: part 2
Java Core
,
Level 7
,
Lesson 4
Under discussion
I have general question not about this task.
If we want synchronized something in some method can we always use word synchronized after access modifiers in method instead of synchronized block? I am not sure but i suppose it is much more convenient.
01.03.2019
1130
views
1
comment
0
Hashirama
Level 26
Port-Harcourt
Question about the task
Your own FileWriter
Java Core
,
Level 9
,
Lesson 11
Archived
Hi guys
Please what am I doing wrong? The mentor says: 1. Be sure that the FileConsoleWriter class's write(char[] cbuf, int off, int len) throws IOException method also writes the data to the console. 2. Be sure that the FileConsoleWriter class's write(String str, int off, int len) throws IOException method
12.03.2019
1887
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
CRUD
Java Core
,
Level 7
,
Lesson 10
Under discussion
How properly solve last and 3rd requirement ?
need hint
12.03.2019
1554
views
3
comments
0
Julián Orellana
Level 20
Guayaquil
Question about the task
Reading and writing to a file: CodeGym
Java Core
,
Level 10
,
Lesson 2
Under discussion
help me , i have this error : Check why an exception occurs in the save/load methods.
package com.codegym.task.task20.task2002; import java.io.*; import java.util.ArrayList; import java.util.List; import java.util.Date; import java.util.*; import java.text.*; import java.lang.IllegalArgumentException; /* Reading and writing to a file: CodeGym */ public class Solution { publ
13.03.2019
1439
views
1
comment
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Symbol frequency
Java Core
,
Level 8
,
Lesson 11
Under discussion
How to resolve this task?
I tried to resolve this task in this way bacause i could not find online other way
19.03.2019
1284
views
1
comment
0
Darshan SP
Level 2
Mysuru
Under discussion
task01 : task0127
public class Solution { public static void main(String[] args) { //write your code here int b = sqr(5); System.out.println("the square of 5" +b); } public static int sqr(int a) { return a * a; } } please help that i did that program to work but failed
20.03.2019
1300
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Under discussion
What should i improve in my solution?
need help
20.03.2019
1030
views
1
comment
0
Ryan
Level 14
Ashburn
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Working But Req 3 Still Fails
I have tested this program and it always displays the longest string(s). I also passed the display of multiple strings if multiple are longest, I am not sure how I can meet req 4 and not req 3. Below is the input (lines 1-5) and output (line 6) of the test another question was told to run: qwe qwe
16.02.2019
1773
views
1
comment
1
Arko Sarkar
Level 8
Mumbai
Question about the task
Min and max in arrays
Java Syntax
,
Level 7
,
Lesson 12
Under discussion
What is wrong here?
For values 1 to 20, I'm getting output: 20 1 So what's the error?
01.09.2018
1939
views
7
comments
0
Akash sah
Level 8
Kathmandu
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Under discussion
where is the problem
i cant find the mistake
16.02.2019
1268
views
4
comments
0
jaime
Level 5
Barcelona
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
What is wrong? I really don't get it.
What is wrong? I really don't get it.
06.02.2019
1909
views
5
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
i do not know how to resolve 3rd point
need help
08.01.2019
1745
views
5
comments
0
Derek
Level 11
Apex, NC
Question about the task
Rule of the triangle
Java Syntax
,
Level 4
,
Lesson 4
Resolved
not passing 'verify', but seems to run correctly.
Seems to work when I run, but not passing the 'verify' stage. Any ideas? package com.codegym.task.task04.task0415; /* Rule of the triangle "The triangle is possible." - if a triangle with these sides could exist. "The triangle is not possible." - if a triangle with these sides cannot exist. */
19.03.2019
1879
views
1
comment
0
Andrew
Level 29
Seattle
Question about the task
Word search
Java Core
,
Level 10
,
Lesson 10
Resolved
What am I missing?
Any clues as to why it's not verifying? Also I can't think of a way to avoid all the repeated code. Thoughts?
19.03.2019
1425
views
1
comment
0
Show more
1
...
331
332
333
334
335
...
366
Please enable JavaScript to continue using this application.