What's the difference between Java and JavaScript.you tell me about this brief?
What's the difference between Java and JavaScript.you tell me about this brief?
hai
Java was an excellent idea on paper
JavaScript is a scripting language
Java is a OOPL by which you can design and develop your program. It it is a platform independent language.
Where as java scripts is a scripting language by which you can also design and develop your program. You can use it as a client side validation in your site.
Not having too much differences, actually having many similarities in coding. Both are OOP language. The main difference between them is JavaScript must be inserted in HTML document to work and function well. Vice versa Java is a large language where you can develop stand along applications.
Here are some differences between the two languages:
• Java is a statically typed language; JavaScript is dynamic.
• Java is class-based; JavaScript is prototype-based.
• Java constructors are special functions that can only be called at object creation; JavaScript "constructors" are just standard functions.
• Java requires all non-block statements to end with a semicolon; JavaScript inserts semicolons at the ends of certain lines.
• Java uses block-based scoping; JavaScript uses function-based scoping.
• Java has an implicit this scope for non-static methods, and implicit class scope; JavaScript has implicit global scope.
Last edited by colesraymond; 09-17-2014 at 09:06 AM.
There's a world of difference between the two. Javascript is used for front-end web development while Java can only be used as a back-end language within a web environment. Java doesn't need a web browser to compile and execute like Javascript does. Java is compiled prior to runtime while Javascript is compiled at runtime. The syntax/reserved-words are also different.
Asia Affordable Web Hosting Provider
Hello all for details please visit this blog post http://www.htmlgoodies.com/beyond/ja...JavaScript.htm thanks .
Java is an Object Oriented Programming (OOP) language created by James Gosling of Sun Micro systems. JavaScript is a scripting language that was created by the fine people at Netscape and was originally known as Live Script. JavaScript is a (very) distant cousin of Java in that it is also an OOP language. Many of their programming structures are similar. However, JavaScript contains a much smaller and simpler set of commands than does Java. It is easier for the average weekend warrior to understand.
Java is a language for development of website but JavaScript is a scripting language for designing a web pages.
They are both similar and quite different depending on how you look at them. First their lineage:
Java is an Object Oriented Programming (OOP) language created by James Gosling of Sun Microsystems. JavaScript is a scripting language that was created by the fine people at Netscape and was originally known as LiveScript. JavaScript is a (very) distant cousin of Java in that it is also an OOP language. Many of their programming structures are similar. However, JavaScript contains a much smaller and simpler set of commands than does Java. It is easier for the average weekend warrior to understand.
Source: http://www.htmlgoodies.com/beyond/ja...JavaScript.htm
I'd like to say that if you want professional Java programming service, Neosofttech.com is the way to go to.
They offer experienced JAVA software professionals for permanent or temporary staffing requirements.
Moreover, their support is responsive and if you contact them, they will explain you everything in details.
Do you want to gamble? Here is ==>> ONLINE POKER
http://bestwebsitedevelopersindia.wo...ro-uno-choice/ - Best web designers India. Get a clear cost estimate and business potential of your web idea. Discuss your online plans in a free consultation session. Get started with fatbit.com
Hope the below link helps you,
http://www.htmlgoodies.com/beyond/ja...JavaScript.htm
Java is an object-oriented programming language. Java creates an application that can run on a virtual machine or browser.
JavaScript is an object-based programming language. JavaScript code runs on browser only.
|
Bookmarks