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
YSS
Level 16
New York City
Question about the task
Order of loading variables
Java Core
,
Level 5
,
Lesson 12
Resolved
I'm almost there but can't get it right. Thanks.
I got it to this but I'm struggling with the 0 and null and the end 6 and First name Thanks static void init() Static block public static void main Non-static block static void printAllFields null 0 Solution constructor static void printAllFields First name 6
20.12.2019
1394
views
3
comments
1
Jamie Pyette
Level 9
Sault Ste. Marie
Question about the task
Plan to conquer the world
Java Syntax
,
Level 3
,
Lesson 8
Resolved
I completed the task but still unsure
I'm a bit confused why asking for the number 1st in the place of name gives the proper output. In my mind, it would read " 8 will take over the world in Kevin years. Mwa ha ha. Id appreciate anyones opinion on this.
19.04.2020
1061
views
4
comments
0
Jason Ahn
Level 5
Calgary
Question about the task
Jen or Jen?
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Please help me
I have no idea what's wrong..Please help me.
20.12.2018
2017
views
4
comments
1
Mihaela
Level 16
Iasi
Question about the task
Maximum of four numbers
Java Syntax
,
Level 4
,
Lesson 6
Resolved
Help Please!
I don`t understand where is the problem. Please help!
28.01.2019
1843
views
2
comments
1
Radim Strapek
Level 6
Prague
Question about the task
Positive number
Java Syntax
,
Level 4
,
Lesson 7
Under discussion
Please help me find my mistake.
Please, have a look where I should repair my code.
03.05.2020
622
views
2
comments
0
priss
Level 18
Roosendaal
Question about the task
Synchronized notes
Java Core
,
Level 7
,
Lesson 4
Under discussion
help
println mehtod is unable to acess the note variable but why ?
28.04.2020
1118
views
3
comments
0
David
Level 5
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 16
Resolved
Result is double then the proper one
Hi, Please give me an advise what am I missing here? literally my output is double then the correct one Thanks in advance
12.04.2020
911
views
4
comments
0
Manish Sinha
Level 26
london
Question about the task
Prices
Java Core
,
Level 8
,
Lesson 11
Resolved
pls help knowing the issues to be fixed.
not able to verify the condition but when run in intellij , I am getting the expected output. I believe it would be worth highlighting the errors with respect to test cases for this program. Thanks.
03.05.2020
861
views
1
comment
0
Mindaugas Sertvytis
Level 4
London
Question about the task
Part of a calculator
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Last 3 req
Can't complete last 3 requirements any tips or advices?
06.03.2020
1045
views
6
comments
0
Manish Sinha
Level 26
london
Question about the task
Files and exceptions
Java Core
,
Level 8
,
Lesson 11
Resolved
Please help me knowing the issue in my code.
import java.io.*; public class Solution { public static void main(String[] args) throws IOException { //1.program should read file names from the console BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String fileName = null; try {
03.05.2020
1121
views
3
comments
0
Sourav Gunner
Level 19
Birtamode
Question about the task
Take your turn!
Java Core
,
Level 6
,
Lesson 13
Under discussion
Help me whats wrong here
whts wrong
09.09.2019
1172
views
3
comments
0
Onome Brownly-Otiede
Level 9
Galway
Question about the task
Pay raise
Java Syntax
,
Level 2
,
Lesson 2
Under discussion
Help Needed
I've been stuck on this for a week now and really don't know what's wrong, could someone please tell me exactly what's wrong with my code and why?
01.05.2020
965
views
3
comments
0
Naomi Breslin
Level 4
Auckland
Question about the task
Closest to 10
Java Syntax
,
Level 4
,
Lesson 4
Under discussion
Can someone explain this to me:
public static int abs(int a) { if (a < 0) { return -a; } else { return a; } } So I have already completed this task but I was just wondering if someone could explain to me exactly what the statement above is actually doing. It seems like
01.05.2020
983
views
3
comments
0
Rebekah H
Level 8
Gothenburg
Question about the task
Day of the week
Java Syntax
,
Level 4
,
Lesson 4
Resolved
There must a smoother way than writing an if statement for each weekday?
There must a smoother way than writing an if statement for each weekday? This just looks so clunky :/ if(a==1) b="Monday"; if(a==2) b="Tuesday"; if(a==3) b="Wednesday"; if(a==4) b="Thursday"; if(a==5)
02.05.2020
834
views
5
comments
0
Liliane Top
Level 17
Amsterdam
Question about the task
Request parser
Java Core
,
Level 5
,
Lesson 12
Resolved
This one is way way over my head
Could someone please direct me to more information about this topic. The only thing I could find was decoder() method that was not working at all. Oracle is even more vague about this topic and writes in a language that is incomprehensible to me. I have no idea where even to begin with this task. H
12.04.2020
1009
views
5
comments
0
Paula Jones-Spangenberg
Level 6
North Chesterfield
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
At my wits end with this one
Maybe I've been sitting here too long working on these, but I can't unscramble this anymore logically....or illogically... **sigh** it returns a stream of integers with the last (?) 3 being 0s which doesn't even match what the input is.
19.04.2020
938
views
2
comments
0
asif nawaz
Level 8
Mumbai
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
pls help me with solution
not able to complete the last task
13.04.2020
1035
views
9
comments
0
MLA
Level 16
Philadelphia
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Task checker is ignoring my if-conditional at the end. Why?
As you can see, I have an if conditional on line 27 designed to guard against scenarios where n > 0. When I run the program with n values equal or less than 0, the program works as intended. Despite this, the checker doesn't seem to think so. What am I missing?
10.04.2020
745
views
4
comments
0
Ria
Level 8
Jacksonville
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Task 5 failing - after several attempts
Unable to pass task 5 spent lot of hours on this one. Please help.
05.04.2020
936
views
6
comments
0
Michael Brimage
Level 19
Washington D.C.
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
I am not sure why my code is failing the 5th condition
the code works as it should with the exception of element 5. Please assist.
23.03.2020
719
views
3
comments
0
Raqib Gazi
Level 11
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Not sure why "The program should display the maximum of the N entered numbers" is not being met
I think I understand the problem. Cannot find the solution to this one. Any advice would be much appreciated.
21.03.2020
925
views
2
comments
0
Bartlomiej Drozd
Level 22
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Last condition is failing
Hi there, The code is fine whatever you throw at it (as far as I am concerned), yet it fails on the last one. Nothing is returned if n <= 0 Any help? Thanks
09.02.2020
976
views
5
comments
0
hidden #10461212
Level 13
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
Problem not passing task condition (display the maximum of the N entered numbers).
I'n not sure why this condition is still not passing... any suggestions that can help??
12.01.2020
1108
views
3
comments
0
Anthony Mack
Level 24
Waukesha
Question about the task
Task about algorithms
Java Syntax
,
Level 5
,
Lesson 12
Under discussion
What part of my code is not scanning that would show that the maximum number displayed is the maximum number entered?
What part of my code is not scanning that would show that the maximum number displayed is the maximum number entered?
27.12.2019
1177
views
4
comments
0
Willard Roseberry
Level 11
Brigham City
Question about the task
Escaping characters
Java Syntax
,
Level 3
,
Lesson 6
Resolved
Everything looks correct with this code buy it does not pass verification.
I do not see why my code is not working. public class Solution { public static void main(String[] args) { System.out.print("This is a Windows path:"); System.out.print("\"C:\\Program"); System.out.print("Files\\Java\\jdk1.8.0_172\\bin\"\n"); System.out.print("This is a
17.11.2019
1652
views
2
comments
0
Andrew Nguyen
Level 23
Toronto
Question about the task
Task about algorithms
Java Syntax
,
Level 9
,
Lesson 11
Resolved
Code does not sort aray
Hello everyone, Can you please tel me why my code cannot sort an array? Thanks
01.05.2020
961
views
3
comments
0
Joseph Cooper
Level 2
Philadelphia
Under discussion
print symbol.
I'm using system. out.printing , but when I check the program, output comes back , " Symbol not found ". What symbols am I looking for?
02.05.2020
629
views
1
comment
0
Patrick Denney
Level 17
Livermore
Question about the task
Longest string
Java Syntax
,
Level 7
,
Lesson 6
Archived
I can't get it to pass the last 2 conditions.
It works when I run it, but I can't get it to pass the last 2 conditions. I'm sure it is something simple. Thanks.
02.05.2020
692
views
1
comment
0
Andreas Dengler
Level 16
Bielefeld
Question about the task
Different methods for different types
Java Core
,
Level 5
,
Lesson 12
Under discussion
Help
it works perfectly fine but I cant pass the requirments
30.04.2020
908
views
6
comments
0
sirisha karanki
Level 10
Question about the task
Cat relations
Java Syntax
,
Level 6
,
Lesson 11
Under discussion
please help with father
can anyone pleasegive me a hint i dont understand here why father is not populating
02.05.2020
946
views
1
comment
0
Show more
1
...
195
196
197
198
199
...
367
Please enable JavaScript to continue using this application.