General Knowledge Questions and Answers - 1385
Questions and Answers
Prepare for Interview
How is JavaScript different from Java?
"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. "

More Questions :
  • How do you convert numbers between different bases in JavaScript?
  • What are the boolean operators supported by JavaScript?
  • unescape(), escape()
  • decodeURI(), encodeURI()
  • What does isNaN function do?
  • What does 3+4+"7" evaluate to?
  • What would be the output of the following statements?
    var object1 = { same: 'same' };
    var object2 = { same: 'same' };
    console.log(object1 === object2);
  • What is this? var myArray = [[[]]];
  • How is JavaScript different from Java?
  • How can JavaScript be used to improve the "look and feel" of a Web site? By the same token, how can JavaScript be used to improve the user interface?
  • How to create arrays in JavaScript?
  • What is the difference between a web-garden and a web-farm?
  • How to determine the state of a checkbox using Javascript?
  • How about 2+5+"8"?
  • What is the difference between SessionState and ViewState?
  • What does the EnableViewStateMac setting in an aspx page do?
  • Name the numeric constants representing max,min values
  • What does javascript null mean?
  • What is the difference between undefined value and null value?
  • Does javascript have the concept level scope?
  • Test your English Language
  • Comics of the Day
  • Greatest Fashion Models
  • Types of love in your Life
  • Celebration of Nag Panchami
  • Surprising Health Benefits Of Tea
  • Watches You Cant Stop Watching
  • Varanasi
  • Finishing Moves In WWE
  • Small Things That Can Bring You Joy
  • Shah Jahan
  • Beat the Heat
  • Xmas Cake Ideas
  • Cologne
  • Munshi Premchand
  • Most Expensive Games Ever Made
  • What to Eat in Goa
  • The Crocodile and Monkey
  • Monthly Investment Savings Calculator
  • Class 9 - Antonyms
  • Vasant Panchami
  • Essential Tips For Job Success
  • loading...

    Did you Know :

    Book : eternal india
    Author : indira gandhi.
    More ...

    Shlok Consultants