CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2002
    Location
    Yugoslavia
    Posts
    6

    Difference between Java and JavaScritp

    What are the main diference between Java and JavaScript?

  2. #2
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,020
    Java is a compiled language - it compiles into bytecode which is then interpreted by the web browser. JavaScript is interpreted by the web browser. Since it is interpreted, syntax errors may exist in the script and you won't know about them until the code is executed.

    The syntax is quite different. Javascript has no types. In fact it is half way between C and C++.
    Succinct is verbose for terse

  3. #3
    Join Date
    Jul 2002
    Location
    Don't Know, Don't Care
    Posts
    346
    Just for the record, many people surfing the net, trying to learn easily confuse java and javscript, and many sites give out faulty info. Javascript is in NO WAY affiliated with java, it is not derived from it, nor is it even the same type of language, javascript is object oriented, java is class oriented. The only reason it's called javascript is because java was the big buzz word at the time (still is one) so they figured it was good marketing.

    C G C F A D--Feel the Noise

    "When your life goes nowhere and leads back to me, doesn't that tell you something?"
    ~Gray Area Fury

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured