PDA

View Full Version : difference java and java script



pavankumar
10-31-2011, 08:02 AM
What's the difference between Java and JavaScript.you tell me about this brief?

joyanu
11-08-2011, 05:54 AM
hai
Java was an excellent idea on paper

JavaScript is a scripting language

ashokkumar
08-27-2012, 07:51 AM
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.

Roald
08-27-2012, 03:42 PM
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.

colesraymond
09-10-2012, 08:46 AM
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.

jamsen
01-11-2013, 10:07 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.

Adsystems
01-15-2013, 12:33 AM
Hello all for details please visit this blog post http://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm thanks .

trashau
01-15-2013, 04:20 AM
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.

partapamit
01-15-2013, 07:15 AM
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.

Nicely copy and pasted ,nice work budy ..... lol

ianblue
01-30-2013, 01:12 AM
Java is a language for development of website but JavaScript is a scripting language for designing a web pages.

Manov
02-26-2013, 06:40 AM
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/javascript/article.php/3470971/Java-vs-JavaScript.htm

Adam001
02-27-2013, 05:36 AM
I'd like to say that if you want professional Java programming (http://neosofttech.com/hire_java_j2ee_j2me_developers.htm) 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.

Raju
03-01-2013, 02:58 AM
Hello all for details please visit this blog post http://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm thanks .
Nice link provided by you thanks for it.

sabrinasai
03-12-2013, 06:01 AM
Hope the below link helps you,
http://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm

davidsmith21
05-31-2018, 06:29 AM
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.

vidhilekha
01-25-2019, 01:15 AM
Key differences between Java and JavaScript: Java is an OOP programming language while Java Script is an OOP scripting language. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. Java code needs to be compiled while JavaScript code are all in text.

roxieharvey
01-28-2019, 04:17 AM
Where as coffee scripts is a language by which you create and may design your own program. It can be used by you . Java is a OOPL by which you create and are able to design your own program. It this is a platform independent language.

Sherin
02-27-2020, 11:13 PM
JAVA

Java is an object oriented programming language.
Java applications can run in any virtual machine(JVM) or browser.
Objects of Java are class based even we can’t make any program in java without creating a class.
Java program uses more memory.
Java has a thread based approach to concurrency.




JAVASCRIPT

JavaScript is an object based scripting language.
JavaScript code run on browser only as JavaScript is developed for browser only.
JavaScript Objects are prototype based.
JavaScript requires less memory therefore it is used in web pages.
Javascript has event based approach to concurrency.

yuva12
04-06-2021, 06:18 AM
Java code must be compiled, and JavaScript code is all-text. ... JavaScript code is run on a browser only, while Java creates applications that run in a virtual machine or browser. Java is an OOP (object-oriented programming) language, and JavaScript is specifically an OOP scripting language.