Difference between Java and JavaScript
• Java is an object oriented programming language whereas JavaScript is more of a scripting language.
• JavaScript is used to make the web pages more interactive. However, Java can be used not only to make interactive web pages but can also be used to create server side applications and standalone programming.
• Java uses the concept of classes and objects that makes reuse of the code easier but there is no such thing in JavaScript.
• Java exhibits the properties like inheritance, data encapsulation and polymorphism whereas JavaScript does not.
No comments:
Post a Comment