COMPARISON OF JAVASCRIPT AND JAVA
JavaScript
- Easy to learn and use
- Useful for simple tasks
- Not developer's kit required
- JavaScript code is written directly in HTML and it does not require compiling
Java
- Complicated to learn and use
- Useful for complex tasks
- Requires Java developer kit to create applets
- Java programs are saved in separate files and must be complied before they can be run