+ 3

Why is the javascript i learn in college is different from SOLOLEARN?

i am in the course now and we have never used 'var' we have been using 'String' and 'int' another difference is to print an output..i use 'System.out.print' SOLOLEARN: 'document.write' and most importantly where is public static void main? why are we using < > instead of { } to open and close a method. if you have the answers please tell me. i'm new at this and would like to know the difference. :)

6th Oct 2017, 12:43 PM
Geena Nana
Geena Nana - avatar
3 Antworten
+ 22
What you did was java in your college. what your doing on solo is Javascript. different languages really. links for differences between java & JavaScript... https://www.java.com/en/download/faq/java_javascript.xml How is JavaScript different from Java? https://stackoverflow.com/questions/245062/whats-the-difference-between-javascript-and-java What's the difference between JavaScript and Java? - Stack Overflow http://mobile.htmlgoodies.com/beyond/javascript/article.php/3470971 Java vs. JavaScript - HTML Goodies https://www.upwork.com/hiring/development/java-vs-javascript/ Java vs. JavaScript: What's the Difference? - Upwork
6th Oct 2017, 12:53 PM
Lord Krishna
Lord Krishna - avatar
+ 4
ooh thanks. all this time i thought we were learning javascript lol bit it's java nvm. i just got the names mixed up. thanks! lol time to switch on the app.
6th Oct 2017, 12:58 PM
Geena Nana
Geena Nana - avatar
+ 4
thank goodness i asked here lol if i asked my teacher he would've gave me a look lol. either way, I'm lost in the class too. lol now we're doing loops and validating emails lol anywho, take care!
6th Oct 2017, 1:01 PM
Geena Nana
Geena Nana - avatar