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
Java 25
All quests
All levels
Any status
Questions about tasks
Hot
Rahul Adlakha
Level 22
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
why is the compiler showing an error??
The comiler is showing an error for this code. public class Solution {
10/5/20
718
views
2
comments
0
Kaiyr Shayakhmetov
Level 22
Question about the task
Sequential file output
Java Core
,
Level 6
,
Lesson 13
Under discussion
Plz help: can't pass the validation for conditions 5&7
Hi. Could you give me a hint on what is wrong with the code? The output seems to be correct but validation fails.
4/20/20
1076
views
1
comment
0
Anitamalina
Level 18
København
Question about the task
Name register
Java Syntax
,
Level 4
,
Lesson 2
Resolved
The setName method must have a local variable fullName.
I get the error of "The setName method must have a local variable fullName." I don't understand that? Can anyone give a hint?
10/10/20
742
views
1
comment
0
Dyrits
Level 1
Question about the task
Prices 2
Java Core
,
Level 8
,
Lesson 11
Resolved
Can't satisfy the "-u" requirement...
I can't see why it is not working.
10/10/20
446
views
1
comment
0
Ismail ALi
Level 8
Fort Worth
Question about the task
People
Java Syntax
,
Level 5
,
Lesson 5
Resolved
WhAT dID i dO WRoNg hERe?
Help Plz.
10/10/20
602
views
4
comments
0
Dyrits
Level 1
Question about the task
Building a file
Java Core
,
Level 8
,
Lesson 11
Resolved
What am I doing wrong?
I can't pass any test...
10/10/20
572
views
1
comment
0
shis1011
Level 8
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
need help
how can i get positive value entered??
10/10/20
597
views
4
comments
0
Victoria
Level 11
Cape Town
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Where is my mistake?
I cant seem to find my problem, I even used '.equals' instead of "==" and it still isn't working. PLEASE HELP. Where did I go wrong?
10/10/20
661
views
3
comments
0
Wojtek
Level 23
Solec-Zdroj
Question about the task
Reinforce the adapter
Java Core
,
Level 9
,
Lesson 3
Under discussion
It seems to be correct output
What is wrong?
3/28/19
1630
views
7
comments
0
Ishika Paul
Level 8
Bangalore
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
Can please anyone point out why am I not able to meet the last two requirements?
I tried with various example the answer looks correct to me. Please help!
10/10/20
526
views
2
comments
0
Nina Tuttle
Level 4
Champaign
Under discussion
minimum of the three int numbers
Please can anybody help me with my code? I cannot find my error. It get the error message " min variable might not been initialized". But it has been . Thank you. public class Solution { public static int min(int a, int b, int c) { int min; if (a <= b && a <= c) {
10/8/20
723
views
3
comments
0
Daniel L. Tovar
Level 9
Question about the task
Display right away
Java Syntax
,
Level 3
,
Lesson 3
Resolved
Can anyone help me?
I believe that my solution to this task is correct but it keeps sending me an error saying that a class, interface or enum was expected on the main method.
4/7/20
1202
views
3
comments
0
Antonio
Level 6
Milano
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
I didn't get it, can anyone help me?
package com.codegym.task.task04.task0442; /* Adding */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); int a = Int
10/9/20
473
views
2
comments
0
AlfredW
Level 23
Denver
Question about the task
Extending AmigoOutputStream
Java Core
,
Level 8
,
Lesson 8
Under discussion
Ha ha ha, I don't even understand what it is I am being asked to do.
Literally not a clue.
9/26/20
493
views
5
comments
0
Sanjeevkumar
Level 22
Mumbai
Question about the task
Adapting multiple interfaces
Java Core
,
Level 9
,
Lesson 3
Resolved
I need hints!
don't know where i did a mistake.
8/15/20
909
views
3
comments
1
Vo
Level 41
Sofia
Question about the task
Finding data inside a file
Java Core
,
Level 8
,
Lesson 11
Resolved
Third condition fails regardless of the correct output
This is the third solution I am trying. What is wrong with the verification? I tried with both of the following formats: - id 3 productName green apple price 1.20 quantity 50 - 3 green apple 1.20 50 In addition I tried to convert everything to the respective variables (int, String and double). Than
10/9/20
574
views
2
comments
0
Sebastian
Level 3
Accra
Question about the task
Multiplication table
Java Syntax
,
Level 3
,
Lesson 6
Under discussion
my code doesn't seem to work. where am i wrong pls.
package com.codegym.task.task03.task0314; /* Multiplication table */ public class Solution { public static void main(String[] args) { //write your code here System.out.println(1 + " " + 2 + " " + 3 + " " + 4 + " " + 5 + " " + 6 + " " + 7 + " " + 8 + " " + 9 + " " + 10);
10/2/20
800
views
6
comments
0
David Haines
Level 13
La Crosse
Question about the task
Let's make the code do something useful!
Java Syntax
,
Level 9
,
Lesson 11
Resolved
What am I missing? Not comprehending?
currently getting this error message: Error in com/codegym/task/task09/task0929/Solution.java on line 38 cannot find symbol symbol: variable fileInputStream location: class com.codegym.task.task09.task0929.Solution
10/7/20
636
views
2
comments
0
Daniel
Level 15
Colnbrook
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Resolved
The result seems to be the right one.
Although the result seems to be the right one, I can't pass the verification. Any idea what am I doing wrong?
1/9/20
1976
views
4
comments
0
Lawson
Level 29
Lagos
Question about the task
Chat (part 17)
Java Multithreading
,
Level 6
,
Lesson 15
Resolved
Pls help
Pls help with the run method... how do I handle the Exception
10/8/20
543
views
2
comments
0
Russell
Level 2
Galmpton, Brixham
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
Not sure where its failing
In testing with the sequence 1,2,3,4,4,5,5,5,5,5 the displayed number was correct for the longest set of entered numbers - 5. but the program states that i should check that it returns correctly if the sequence of longest repeated numbers is located at the end of the list. So im a bit confused. An
10/8/20
647
views
1
comment
0
Antonio
Level 6
Milano
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Why is not working?!?!?!
package com.codegym.task.task04.task0427; /* Describing numbers */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
10/8/20
474
views
1
comment
0
amj
Level 7
Imphal
Question about the task
Shortest or longest
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
please help
the answer is correct but program has not match requirement
10/6/20
511
views
4
comments
0
Lawson
Level 29
Lagos
Question about the task
Time in the garden
Java Core
,
Level 7
,
Lesson 4
Resolved
Help
Pls what's my error here
8/31/20
596
views
3
comments
0
hacks patel
Level 20
Ahmedabad
Question about the task
10 thousand deletions and insertions
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
i don't know why error is occuring...
i don't know why error is occuring...
12/25/18
2487
views
11
comments
2
J VsGaming
Level 3
Litchfield
Question about the task
Hello, StarCraft!
Java Syntax
,
Level 3
,
Lesson 4
Under discussion
I feel like I'm close but can't quite get there.
package com.codegym.task.task03.task0307; /* Hello, StarCraft!
10/5/20
535
views
2
comments
0
Carly
Level 0
Under discussion
why is it telling me void type not allowed here?
import java.util.Scanner; public class HelloTester { public static void main(String[] args) { // Create a Scanner object Scanner input = new Scanner(System.in); System.out.println("Enter your name"); String name = input.nextLine(); Hello helloObj = ne
10/7/20
653
views
2
comments
0
sourav bamotra
Level 20
jammu
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Resolved
3rd and 4th requirement,
sorry about the format. I'm typing it from the phone keyboard only, so ignore the format ^_^ --> Code working fine on ide. But it's 3rd condition indicating me not to repeat displaying same bytes.
10/7/20
574
views
8
comments
0
Onur Bal
Level 27
Istanbul
Question about the task
Iterating through a file tree
Java Collections
,
Level 1
,
Lesson 2
Archived
Condition 3 Passes While Others Fail
Can anyone tell me what's wrong with my code? Since the third condition ("The contents of every file that is 50 bytes or smaller must be sorted by file name and written to the allFilesContent.txt file.") passes, you would think the first and second condition must pass as well. As for the fourth cond
10/7/20
651
views
6
comments
0
Antonio
Level 6
Milano
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Can anyone help pleaseee
package com.codegym.task.task04.task0421; /* Jen or Jen? */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); Strin
10/7/20
827
views
1
comment
0
Show more
1
...
129
130
131
132
133
...
374
Please enable JavaScript to continue using this application.