Java is an OOP programming language while Java Script is an OOP scripting language. Key differences between Java and JavaScript: Webpages is basically designed using HTML, but HTML can’t perform any logical or mathematical operations so to make it do that we use Java Script. JavaScript is mainly used for client side scripting.It is a scripting language. In a 2-tier architecture, i.e., a Cliemt-Server architecture there are two parts, one is the client(eg:-home computer) and other is the server(eg-DHCP server of your ISP). This means, for example, that the compiler won’t let you compare a String and an int, or an int and a Boolean. It offers true object orientation and so it’s variables are strongly typed. Java is a very strongly typed object oriented language that derives from a C heritage. The syntax and keywords like for while etc are almost same in java and JS Java is for backend development whereas javascript is for frontend developer. People often get confused because of the names. Java and JavaScript are different programming languages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |