+ 14

[SUGGESTION] Quiz sugestion

since there are too many math-related question, why don't we submit debug-related question. short code with question to find the error. it will be very useful to learn syntax, grammar and debugging code.

20th Mar 2017, 5:12 AM
Agus Mei
Agus Mei - avatar
14 ответов
+ 9
I have one for Java-- public class Java{ public static void main(string[]args){ System.out.print("Hello World"); } } What's the error?
20th Mar 2017, 5:19 AM
Dev
Dev - avatar
+ 14
oh i get it now. string is not valid. it should be String.
20th Mar 2017, 6:54 AM
Agus Mei
Agus Mei - avatar
+ 12
@Davney that is good question. at first i think it is printIn but after running on play ground i realize that. i need more practice in Java.😥
20th Mar 2017, 6:58 AM
Agus Mei
Agus Mei - avatar
+ 11
is it printIn?
20th Mar 2017, 6:40 AM
Agus Mei
Agus Mei - avatar
+ 9
you are correct! it should be String not string:)
20th Mar 2017, 6:59 AM
Dev
Dev - avatar
+ 9
@gjh4cker i did it, but still pending. i submit more than 15 today.
20th Mar 2017, 1:35 PM
Agus Mei
Agus Mei - avatar
+ 4
We should be more dealing with finding the error! semantic errors and other not only calcution
21st Mar 2017, 12:58 PM
Ludovick Stanley, K
Ludovick Stanley, K - avatar
+ 2
try String not string
24th Sep 2017, 1:14 PM
Mustaq Shaik
Mustaq Shaik - avatar
+ 1
the disadvantage of this though is that one will see a lot of incorrect code and if one can't find the solution to that faulty code in the limited quiz time the wrong code will over time stick in one's head
20th Mar 2017, 7:46 AM
Arcturus
+ 1
Why don't you just create a question and submit it through Quiz Factory mate?
20th Mar 2017, 1:26 PM
gjh4cker
gjh4cker - avatar
+ 1
You are correct, the string is not valid. it should be String +7
21st Mar 2017, 9:34 AM
Mohammad Alrofaay Mohammed
Mohammad Alrofaay Mohammed - avatar
0
You have to save with the same class name cause you are using public
21st Mar 2017, 11:21 AM
Mustaq Shaik
Mustaq Shaik - avatar
0
class Demo { public static void main(String[] args) { byte a=10; byte b=20; byte c=a+b; system.out.print(c); What will be the output?
18th Sep 2017, 4:05 PM
Mustaq Shaik
Mustaq Shaik - avatar