- 9

Alright i posted it, its public but it needs some fixing.

contact me on Kik- kik_le

19th May 2017, 3:31 PM
latrell hooks
latrell hooks - avatar
15 Respostas
+ 4
In Story Main your missing 2 } brackets before the "public static void printArray" function. Also, I'm pretty sure code playground doesn't work by putting 2 classes in different files. It will not recognize that you are trying to create an object of the Story Mode. You will need to combine them into the same file for codePlayground. Ex/ Like this: class StoryMain{ public static void main()....etc } class StoryMode{ public String method1()...etc } You also cannot add a space in your naming of methods. public String method 1 should be like I wrote it above: public String method1
19th May 2017, 5:45 PM
Rrestoring faith
Rrestoring faith - avatar
+ 5
If you got a question (about a code) just post it in here
18th May 2017, 3:27 PM
Maart
Maart - avatar
+ 5
a secret?
19th May 2017, 3:34 PM
jay
jay - avatar
+ 4
I mean litteraly what are you saying when you say 'it'. Which code, Story or Story Mode? They both don't work. You posted Java code as Javascript, those languages are not the same.
19th May 2017, 3:36 PM
Rrestoring faith
Rrestoring faith - avatar
+ 3
What is 'it'.
19th May 2017, 3:33 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
$$
18th May 2017, 4:04 PM
LordHill
LordHill - avatar
+ 1
oh sorry, this is like my first time I'm inexperienced, and they are suppose to work together, I have all the code there but i need help making it work, Story is the main and story mode it just the rest of the code, and I didn't know how to set it as Java code.
19th May 2017, 3:45 PM
latrell hooks
latrell hooks - avatar
+ 1
lol, it's not a secret😂
19th May 2017, 3:45 PM
latrell hooks
latrell hooks - avatar
+ 1
Latrell, listen to what people are telling you buddy. Java code in a JavaScript file, will never ever work. Your CPU has to interpret that code, it first has to build it. If you run a JavaScript file with a different language's code, it's not going to recognize the code. It's like if you asked me to write directions to you in English and I sent you directions in Porteguse. You wouldn't know what I said, hence it's not going to work.
19th May 2017, 4:10 PM
Nik
Nik - avatar
+ 1
You can. Just switch the language to Java in the Playground
19th May 2017, 4:15 PM
Maart
Maart - avatar
+ 1
Click the back button out of this convo, go to the page that has curly brackets, click the +, click Java. There you go
19th May 2017, 4:16 PM
Nik
Nik - avatar
0
it's just something simple, sentences suppose to make a story.
19th May 2017, 3:34 PM
latrell hooks
latrell hooks - avatar
0
oh yeah I understand that, but what I'm trying to say is, you can't use Java code on here can you?
19th May 2017, 4:12 PM
latrell hooks
latrell hooks - avatar
0
Thanks that's what I was asking.
19th May 2017, 4:16 PM
latrell hooks
latrell hooks - avatar
0
Thank you very very much for the advice.
19th May 2017, 5:56 PM
latrell hooks
latrell hooks - avatar