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
satya vath
Level 9
Mumbai
Question about the task
Fixing the mistakes of youth
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Why amn't I satisfying with the last condition
package com.codegym.task.task06.task0620; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /* Fixing the mistakes of youth */ public class Solution { public static int max = 100; public static void main(String[] args) throws IOException {
20.11.2018
1399
views
6
comments
0
Swati
Level 8
Pune
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Help to find wrong one
Hi,Here I compared every num1,num2 and num3 with remaining two.and tried to display middle one. running successfully,but not verified.
17.11.2018
1261
views
1
comment
0
hidden #10362262
Level 9
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Hey, can you help me figure out what is wrong? I am getting the correct answer, but failing the requirement of the middle number?
Can you help me see what I am missing as far as the input scenarios are concerned? Thank you!
20.11.2018
1171
views
1
comment
0
Xuhaib
Level 7
Lahore
Question about the task
Remove and insert
Java Syntax
,
Level 7
,
Lesson 6
Under discussion
errrr
why the error?
20.11.2018
1221
views
2
comments
0
Arko Sarkar
Level 8
Mumbai
Question about the task
String array in reverse order
Java Syntax
,
Level 7
,
Lesson 4
Under discussion
How to solve this?
Can do 1 string, but 10 strings is getting very difficult. Loops aren't helping as char[] cannot be dereferenced or char[] cannot be assigned to char[] and all other errors coming!
30.08.2018
1944
views
3
comments
0
MrNemO
Level 19
Pale
Under discussion
Has anyone else had this problem?
Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA All files are up-to-date ----------------------------- I can't finish any task to get dark matter , so I can't go to the next level and learn further. Please HELP.
25.10.2018
1381
views
2
comments
0
SAYAN SAMANTA
Level 10
Bangalore
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
tell me whats happened here?
package com.codegym.task.task06.task0617; /* Notepad for new ideas */ public class Solution { public static void main(String[] args) { Idea idea = new Idea(); Idea.printIdea(idea); } public void printIdea(Idea idea){ System.out.println(idea.getDescriptio
21.08.2018
1561
views
5
comments
0
KryptoBlack
Level 7
Mumbai
Question about the task
Notepad for new ideas
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Return Confusion...
In line 19 return null is the only option i think there is if i need to only return a non-empty string. Or skip that return statement completely but then how should I avoid this error "Solution.java:19: error: missing return statement". Something like this, public static class Idea { p
28.10.2018
2215
views
2
comments
0
Benjamin Winchester
Level 17
Savannah
Question about the task
Month number
Java Syntax
,
Level 8
,
Lesson 11
Resolved
Output is right, it is still failing
When I test the code with "Run" is works, but fails when I verify.
19.11.2018
1745
views
2
comments
0
Vishal Patil
Level 5
Question about the task
Crossing the road blindly
Java Syntax
,
Level 4
,
Lesson 4
Resolved
What do I do here to solve this question?
How do we go about solving this question? A little hint would be appreciated.
29.07.2018
1599
views
5
comments
0
Mais
Level 4
Hebron
Question about the task
Pets need people
Java Syntax
,
Level 2
,
Lesson 5
Under discussion
i can't understand why this is not true!!
>Here's the compiler output: com/codegym/task/task02/task0213/Solution.java:15: error: cannot find symbol fish.ownar = woman;
19.11.2018
1311
views
2
comments
0
Sokhibjon
Level 14
Tashkent
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
can u guys plz help me?
whats wrong with it why it is saying don't change or add comments total nonsense !!
16.11.2018
1160
views
2
comments
0
Rad
Level 8
Maidstone
Question about the task
Longest sequence
Java Syntax
,
Level 8
,
Lesson 6
Under discussion
i need help
my code is not working properly,pls let me know what mistake i did
18.11.2018
1287
views
1
comment
0
anhe
Level 5
fairfax
Question about the task
Number of days in the year
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
output is crrect, but not accept
what is the problem
06.11.2018
1523
views
2
comments
0
uggu
Level 18
Kaunas
Question about the task
Fixing the mistakes of youth
Java Syntax
,
Level 6
,
Lesson 11
Resolved
Alternative to if statement
I got the exercise right. My question is how does this part work: max = a > b ? a : b; as a noob I would have used an if statement. How is this kind of statement called?
17.11.2018
1311
views
3
comments
0
Joe Burner
Level 1
Dallas
Question about the task
The great purge
Java Syntax
,
Level 1
,
Lesson 8
Under discussion
I have commented out the two unused variables, I am still getting errors.
package com.codegym.task.task01.task0125; /* The great purge */ public class Solution { public static void main(String[] args) { // String s = "15"; //variable not used a = 5; // int z = 18; //variable not used int d = 18; c = a + d; b = " is
13.11.2018
1268
views
3
comments
0
Sheheryar
Level 7
Islamabad
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
HELP ME OUT HERE PLZ
its shows the correct answer even with negative numbers but it's still giving me error
17.11.2018
1593
views
2
comments
0
james Hellums
Level 1
Lawton
Question about the task
Kind words for the teacher
Java Syntax
,
Level 0
,
Lesson 4
Under discussion
Where to input code
where do I input the code on the assignments ?
16.11.2018
1232
views
2
comments
0
Derek Jones
Level 4
Kettering, Ohio
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
Keep Failing the "Don't Change or Add Commands" Check
I've tried different formatting, thinking that the issue is that the check is looking for a specific format but without luck. This includes putting the comment symbol in the first column, including space, no space or tabs between the symbol and "System..." and everything else that I could think of
15.11.2018
1197
views
3
comments
0
Ahmed
Level 8
Al Muharraq
Question about the task
Somehow average
Java Syntax
,
Level 4
,
Lesson 16
Under discussion
Why is the program failing to display the middle of three numbers requirement?
checked Inputting 1 2 3 in different orders, program is working correctly
16.11.2018
1259
views
2
comments
0
Abhilash Ravichandran
Level 10
Kigali
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Under discussion
Compilation error on repeated inputs
I am getting a NoSuchElementException in line 19. How should I overcome this?
08.11.2018
1246
views
1
comment
0
M suleman
Level 20
Lahore
Question about the task
Most frequent bytes
Java Core
,
Level 8
,
Lesson 3
Under discussion
how print most occur byte?
public class Solution { public static void main(String[] args) throws IOException { String fname; Scanner scan = new Scanner(System.in); fname = scan.nextLine(); FileInputStream in = new FileInputStream(fname); int temp=in.read(); int c=0;
10.11.2018
1581
views
3
comments
0
Riya
Level 8
Karnal
Question about the task
R or L
Java Syntax
,
Level 7
,
Lesson 9
Under discussion
the program is not running
It is showing Program ran too long and closed Why
16.11.2018
1108
views
2
comments
0
Ujjwal Singh
Level 2
Mumbai
Question about the task
Uh... Happy New Year!
Java Syntax
,
Level 1
,
Lesson 4
Under discussion
Not able
I am not getting space between "new" and "year" in the same line.
18.10.2018
1276
views
4
comments
0
hidden #10362262
Level 9
Question about the task
Describing numbers
Java Syntax
,
Level 4
,
Lesson 7
Archived
Is null String "" the same as displaying nothing? To pass last requirement
How do I pass the last condition? That is to display "nothing". Is the null String "" the same as displaying nothing? Thank you!
15.11.2018
1170
views
2
comments
0
Juan Gallardo
Level 10
Edmonton
Question about the task
Expressing ourselves more concisely
Java Syntax
,
Level 7
,
Lesson 6
Archived
This program should be passing
Any ideas?
11.11.2018
1375
views
3
comments
0
nithya lmk
Level 4
Bangalore
Question about the task
Sum of the digits of a three-digit number
Java Syntax
,
Level 3
,
Lesson 12
Resolved
can someone tell the error?
package com.codegym.task.task01.task0132; /* Sum of the digits of a three-digit number */ public class Solution { public static void main(String[] args) { System.out.println(sumDigitsInNumber(546)); } public static int sumDigitsInNumber(int number) { int sum ;
21.08.2018
2009
views
6
comments
0
Xuhaib
Level 7
Lahore
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
Is the error logical or syntax related?
Line no# 40
15.11.2018
1346
views
1
comment
0
kirti
Level 8
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
HELP
what is the problem in my code....
27.08.2018
1717
views
5
comments
1
Luis Filipe Forra
Level 6
Almada
Question about the task
2 + 3 = 5
Java Syntax
,
Level 0
,
Lesson 8
Under discussion
Why my code doesn't pass the tests?!?!?!?!
Don't understand why? Can anyone help me?
15.11.2018
1004
views
1
comment
0
Show more
1
...
351
352
353
354
355
...
366
Please enable JavaScript to continue using this application.