Test
@Ultrilliam
``` body { color:green; border-radius:10px; } ```
seems to be working fine O-o
```public class StringExample { public static void main(String[] args) { String s1 = "Computer Science"; int x = 307; String s2 = s1 + " " + x; String s3 = s2.substring(10,17); String s4 = "is fun"; String s5 = s2 + s4; System.out.println("s1: " + s1); System.out.println("s2: " + s2); System.out.println("s3: " + s3); System.out.println("s4: " + s4); System.out.println("s5: " + s5); //showing effect of precedence x = 3; int y = 5; String s6 = x + y + "total"; String s7 = "total " + x + y; String s8 = " " + x + y + "total"; System.out.println("s6: " + s6); System.out.println("s7: " + s7); System.out.println("s8: " + s8); } }```
``` public class StringExample { public static void main(String[] args) { String s1 = "Computer Science"; int x = 307; String s2 = s1 + " " + x; String s3 = s2.substring(10,17); String s4 = "is fun"; String s5 = s2 + s4; System.out.println("s1: " + s1); System.out.println("s2: " + s2); System.out.println("s3: " + s3); System.out.println("s4: " + s4); System.out.println("s5: " + s5); //showing effect of precedence x = 3; int y = 5; String s6 = x + y + "total"; String s7 = "total " + x + y; String s8 = " " + x + y + "total"; System.out.println("s6: " + s6); System.out.println("s7: " + s7); System.out.println("s8: " + s8); } } ```
What did I do wrong?
\``` CODE HERE \``` not \```CODE HERE\```
....Ohhh.
``` public class StringExample { public static void main(String[] args) { String s1 = "Computer Science"; int x = 307; String s2 = s1 + " " + x; String s3 = s2.substring(10,17); String s4 = "is fun"; String s5 = s2 + s4; System.out.println("s1: " + s1); System.out.println("s2: " + s2); System.out.println("s3: " + s3); System.out.println("s4: " + s4); System.out.println("s5: " + s5); //showing effect of precedence x = 3; int y = 5; String s6 = x + y + "total"; String s7 = "total " + x + y; String s8 = " " + x + y + "total"; System.out.println("s6: " + s6); System.out.println("s7: " + s7); System.out.println("s8: " + s8); } }
there you go :P
Thank you.
which reminds me, I need to add to that at some point lol.
Just certain functions and such needs to be highlighted
also, I see your taking c++ :P
XD
I just picked up things to from everywhere to code my browser. It has a ton of glitches and for some reason keeps insulting me, but it is funny.
``` /* HelloWorld.java */ public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } ```
We can add the codes, but we can't operate them, right?
OH ITS JAVA...
at first glance I saw c++... x'D
I didn't look closely at the syntax x'D
``` <blockquote class="embedly-card"><h4><a href="https://questioncove.com/study">QuestionCove</a></h4><p>Message successfully sent. Hermes would be proud.</p></blockquote> <script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script>
@Ultrilliam I got an embed code for QC. :P
ooooook O-o
Can you add a spot for running the codes?
That is what codepen is for...
....Yeah but I don't have that.........
ITS FREE.
`loading. Hold on to your Butts....`
Thank you.
Join our real-time social learning platform and learn together with your friends!