Is Java and Javascript are Same??
you often heard the question that is java and javascript are similar languages and the answer to this question is absolutely noooo so you can ask why so let me tell you a brief intro of both these languages
Java: Java is a general purpose,class based object oriented language .Its is one of the most popular languages used to create desktop , mobile application,web servers etc
Javascript:Javascript is a high level just-in-time complied language and has dynamic typing just like python .It powers the web like almost every single website or web app is written in javascript .It is one of the most versatile language you can create website ,mobile application ,desktop application using javascript
Difference between java and javascript ..... | |
1.Java is a purely object oriented programming | 1. javascript is a multiparadim language |
2. Java is a multi-threaded language | 2. javascriptis single threaded language |
3. Java supports static typing | 3.javascript supports dymaic typing |
4.Java is compiled as well as interprited | 4. Javascript is interpreted |