+ 7

What are the differences between java and java script ?

Java & Java Script

7th Jun 2017, 10:53 PM
Nisa Soylu
Nisa Soylu - avatar
8 odpowiedzi
+ 4
Key differences between java and java script - Java is an OOP programming language while JavaScript 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.  -Javs code needs to be compiled while Javascript code are all in text.
7th Jun 2017, 10:59 PM
Raz
Raz - avatar
+ 2
java script is used for web pages to make text box buttons etc while java is used to make full application that's the short explanation
7th Jun 2017, 10:59 PM
Mark Lesniak
Mark Lesniak - avatar
+ 1
This is a potential interview question :) . Java - It is a programming language used for creating desktop applications or others. To compile java based programs you need JDK+JRE set up in your computer. Since java is pure object oriented programming language everything you do is under a class. On the other hand, Javascript is a client side programming language. You don't need anything except a browser for running a script. In javascript everything is objects/functions. There is no concept of classes. When I was trying to study same difference I went to this link: -http://crbtech.in/Java-Training/9-distinguishing-factors-javascript-java/
8th Feb 2018, 6:44 AM
pranit patil
pranit patil - avatar
+ 1
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.
21st May 2018, 7:10 PM
Hyde
0
- Javascript only run on web browser - Java runs everywhere
7th Jun 2017, 11:36 PM
DNABIRONG
DNABIRONG - avatar
0
The language java was a huge success for the developers and every programm or game was made with java fe Minecraft. It was like a trend And so the developers of js decided to call it javascript, so that it gets something of Javas popularity.
8th Jun 2017, 4:46 AM
StoffelJs
0
The reason that Java as in Java and Javascript is common because the person who made livescript thought that this livescript object oriented nature very much matches with Java... Hence the name Javascript
10th Jun 2017, 9:45 AM
Raju Gautam
Raju Gautam - avatar