+ 1

[DUPLICATE] What is the difference between java and java script

application difference and basic techniques of two

20th May 2018, 3:55 PM
Kalyan Vardhan
Kalyan Vardhan - avatar
2 Answers
0
Javascript runs on websites, it is good for handling logic and isn't strongly typed, by that I mean the variable keyword is var and every variable is determined by the engine. For Java you can create standalone applications that can run on any platform. Java is strongly typed, meaning that if you want to instanitate a variable of type int you would have to declare as follows: int a = 10; where as js is var s = 10; JS -> web logic Java -> standalone application
23rd May 2018, 3:18 PM
John
John - avatar
0
Major difference is JavaScript being a scripting language runs on a web browser and is used in many disciplines such as web applications, mobile apps , whereas java is a programming language which is used in software development most of the times
11th Aug 2019, 7:36 PM
Sumanth .p
Sumanth .p - avatar