shamsmosowi / git-bot

0 stars 0 forks source link

What's the differences between Java and Javascript? #18

Open bofeiw opened 1 year ago

shamsmosowi commented 1 year ago

Hi,

The main difference between Java and JavaScript is that Java is a compiled programming language while JavaScript is an interpreted scripting language. Java is a statically typed language, which means that the type of data is checked at compile time. On the other hand, JavaScript is a dynamically typed language, which means that the type of data is checked at run time.

Java was mainly used to create and run applications on a server, while JavaScript was mainly used to create and run scripts in a web browser. Java is a full-fledged programming language, while JavaScript is mainly used for client-side scripting.

I hope this helps!