|
INTERVIEW QUESTIONS
WEB
JAVA SCRIPT
DETAILS
Question: How is JavaScript different from Java?
Answer: JavaScript was developed by Brendan Eich of Netscape Java was developed at Sun Microsystems. While the two languages share some common syntax, they were developed independently of each other and for different audiences. Java is a full-fledged programming language tailored for network computing it includes hundreds of its own objects, including objects for creating user interfaces that appear in Java applets (in Web browsers) or standalone Java applications. In contrast, JavaScript relies on whatever environment it's operating in for the user interface, such as a Web document's form elements.
JavaScript was initially called LiveScript at Netscape while it was under development. A licensing deal between Netscape and Sun at the last minute let Netscape plug the "Java" name into the name of its scripting language. Programmers use entirely different tools for Java and JavaScript. It is also not uncommon for a programmer of one language to be ignorant of the other. The two languages don't rely on each other and are intended for different purposes. In some ways, the "Java" name on JavaScript has confused the world's understanding of the differences between the two. On the other hand, JavaScript is much easier to learn than Java and can offer a gentle introduction for newcomers who want to graduate to Java and the kinds of applications you can develop with it.
|
|
|
Category |
Java Script Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9443 users |
Added on |
9/21/2014 |
Views |
67538 |
Rate it! |
|
|
Question:
How is JavaScript different from Java?
Answer:
JavaScript was developed by Brendan Eich of Netscape Java was developed at Sun Microsystems. While the two languages share some common syntax, they were developed independently of each other and for different audiences. Java is a full-fledged programming language tailored for network computing it includes hundreds of its own objects, including objects for creating user interfaces that appear in Java applets (in Web browsers) or standalone Java applications. In contrast, JavaScript relies on whatever environment it's operating in for the user interface, such as a Web document's form elements.
JavaScript was initially called LiveScript at Netscape while it was under development. A licensing deal between Netscape and Sun at the last minute let Netscape plug the "Java" name into the name of its scripting language. Programmers use entirely different tools for Java and JavaScript. It is also not uncommon for a programmer of one language to be ignorant of the other. The two languages don't rely on each other and are intended for different purposes. In some ways, the "Java" name on JavaScript has confused the world's understanding of the differences between the two. On the other hand, JavaScript is much easier to learn than Java and can offer a gentle introduction for newcomers who want to graduate to Java and the kinds of applications you can develop with it. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How can JavaScript be used to personalize or tailor a Web site to fit individual users?
|
View Answer
|
|
Explain about the Boolean functions present in Javascript?
|
View Answer
|
|
Explain about strings in JavaScript?
|
View Answer
|
|
Explain about defining numbers in Java Script?
|
View Answer
|
|
Explain about arrays in Java Script?
|
View Answer
|
|
Explain about Cross site scripting?
|
View Answer
|
|
What are the rare cases when Java Script will not function?
|
View Answer
|
|
What are the precautions taken by the web browsers to contain malicious activity with Java Script?
|
View Answer
|
|
Explain about the security functions presents in JavaScript?
|
View Answer
|
|
What is a JavaScript engine?
|
View Answer
|
|
State some simple usages with Javascript?
|
View Answer
|
|
Explain about Variadic functions?
|
View Answer
|
|
Explain about run time environment of Javascript?
|
View Answer
|
|
Explain functions as methods?
|
View Answer
|
|
Explain functions as object constructors?
|
View Answer
|
|
Explain about inner functions and closures present in Function level programming?
|
View Answer
|
|
Explain about the structured programming features of Java Script?
|
View Answer
|
|
Explain in brief about Java script?
|
View Answer
|
|
How to create a function using function constructor?
|
View Answer
|
|
What does the delete operator do?
|
View Answer
|