 In this module, we will be looking at the key differences. And of course, in the next module also, the 10 key differences between Java and JavaScript. Okay. And this is in one module, I'll be looking at four key differences. Remember, it's the key differences. There are many more differences. There can be there are actually key means which are the fundamental differences. Okay, which we'll be covering why because in this course, I am spending a lot of time on JavaScript also and people get confused. Maybe JavaScript is similar to Java or Java is similar to JavaScript. So that is going to be settled in this module and the next module. So let's look at the outline. Look at the background. Okay. Background. Why what are the differences? What are the similarities? There are certain similarities also. I will tell you, but those are just cosmetic similarities. You will be understanding the concept. Then the execution environment of Java is very different from JavaScript. JavaScript is script traditionally usually executes within the client's browser static versus dynamic type language. The data type, which is assigned to a variable, how it's fixed, how it changes in JavaScript, port of closures and of course object oriented programming. So these are the things which will be covered in this module. Background. Now nothing is common between Java and JavaScript. Nothing. The only thing common between Java and JavaScript is that I have this Java over here and I have Java over here. That is all. Okay. I have car. I have carpet. These are entirely two different things. There is certain similarity. Car and car over here. That's all. There's nothing. This is just a cosmetic similarity. So that is how Java and JavaScript are similar. The entirely different things. JavaScript runs at the client side. Although there is no.js that was developed in 2009, which allows execution outside the browser environment. But that's about it. JavaScript is limited to the client browser. And it's the choice of the client, whether to allow JavaScript to run or not. Writing, compilation, execution of Java is very different from JavaScript. Java is everywhere. Java is in mobile phones. Java is in devices. Java is everywhere. Even in toasters also, certain types. Okay. And of course, Java is used by a used in Android and others. JavaScript has limited application domain. JavaScript is for interactivity. Okay. Like flash and validation validation means that at the client side, when the data is entered using JavaScript, it is checked without running a script without using the processing power of the server at the client and it's checked. That is one application of JavaScript is validation. Now let's look into more details. Execution environment of Java and JavaScript is very different. Java is compiled, interpreted, and then binary bytecode. Right. So is the binary code, which is run on a certain environment, right, which is not the case for JavaScript JavaScript is executed by the browser. Okay. It is executed by the browser and supported by most of the browsers. Okay. Java was developed by Sunsystem JavaScript by Netscape. Initially, it was called life script, but then it started to be called JavaScript. And that's why I'm talking about in this module. Java news JDK or Jerry. Okay. But usually every modern browser supports JavaScript static and dynamic type language Java. When in Java, you declare a variable, the type of the variable at the compile time and the type stays the same. That is not the case in JavaScript, except different types of variables. And when this type of this, this is performed. Okay. Then it corrects the type. Of course, there is the equity check also. They're different. I'm not going to go into details in this module, but when the time comes in the subsequent module, we look into more details, more differences, support of closures, JavaScript pass function as an argument. That is not the case for Java. So they're different. Java is pure object oriented programming paradigm. Okay. JavaScript is scripted OP. They're different. Java, you develop large systems is very powerful. It's very stable. A lot of functionality you can develop entire systems using Java and they are developed, but JavaScript is and is usually not used for never. For making enterprises. JavaScript sits close with CSS cascading style sheets with HTML for certain types of applications with limited domain. Of course, that is not the case for everywhere, but usually is the case Java is much better deployed and much better controlled using jar war and air. We see they are different things. They're different animals altogether. I believe you get the point.