Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Do you need to know the java programming language to do java scriptinga?

I keep looking it up on google but I can't seem to find a clear answer, could someone explain to me the difference between the 2 and if I need to know one to do the other even though I probably will learn the two of them anyway. I'm checking out the java programming language but I can't figure out if I need to know one and the other, this might seem like a stupid question but then again I'm stupid when it comes to things fairly new to me.

5 Answers

Relevance
  • 9 years ago
    Favorite Answer

    Simple answer: No.

    When "JavaScript" was invented, Java was the hot new language and Netscape picked a name with Java in it just to get attention. There's no real connection beyond that. The boring name for JavaScript is EcmaScript, since it was the European Computer Manufacturers Association (ECMA) that published the international standard for the language. That's official, more or less, but most everyone still calls it JavaScript.

    As for what you need to know, the general "rule" is Java for applications, JavaScript for web pages.

    There is some use of JavaScript for general-purpose scripting. Window Script Host can use JScript (their version of JavaScript) for scripting Windows actions. Mostly, though, it's for web pages.

    Java is useful for desktop applications, enterprise computing, and for "applets" on web pages. (A Java applet is a sort of a "smart" window within a web page. They have lost much of their early appeal, since Flash, Silverlight and now HTML5 can do much of what applets can do, and tend to load and display much faster.)

  • 9 years ago

    Java and Javascript are two separate programming languages. Although they share some features, they are quite different. You can use either one without being familiar with the other.

  • Anonymous
    9 years ago

    JavaScript and Java are not related. There are many differences between the two.

    You do not need to know anything about Java in order to learn JavaScript.

  • Anonymous
    9 years ago

    Java has an ..java extension whereas java scripting may be .js or .jsp files you should know html and preliminary java like using system.out.println(in java) to out.println(in java scripting) to know java scripting which is actually meant for naive java users/developers not the rocket scientists of java .

    Source(s): -myself
  • How do you think about the answers? You can sign in to vote the answer.
  • 9 years ago

    They are two different approaches to Web Development. And are not inter-dependent. Java can do a lot more than JS...it is not limited to Web browsers.

Still have questions? Get your answers by asking now.