Since “Java” is common that creates lots of confusion to those who are not familiar with programming languages or non technical persons. Both are different and they have their own usability. We can’t compare.
Just like a Car and a Bike we can’t compare. They have different features and they are used for different purposes. They may have few similarities like Transportation, Fuel Requirement, Speed etc. But that doesn’t mean a Car can replace bike or a Bike can replace a car.
Being more clear we can’t say that a This XYZ bike is better that ABC car.
But we can compare a Bike with another bike, a car with another car.
In the same way we can’t compare Java and Java Script.
Lets Know about the Java
Java is a full fledged and completely developed programming language. It is the most popular programming language and Software or Applications developed using Java are known as most secured applications.
Java can be used for different purposes like:
- System Software
- Web Applications and Websites
- Mobile Based Applications
- Game Development
Main Features of Java:
- Object Oriented Programming Language
- Platform Independent
- Java promised, “Write Once, Run Anywhere”.
Lets Know about the Java Script
It can be used in HTML text and run on browser.
It is used to manipulate DOM tree and to Capture the events of HTML elements.
- Java program needs huge memory, Java Script is very light weight.