What is the difference between Java and JavaScript?

Asked by Last Modified  

4 Answers

Learn Java

Follow 1
Answer

Please enter your answer

Digital Marketing, Stock Market, Web Designing and Lots More With over 20 years Experience

java script is used for website while java is used for mobile and web application development
Comments

IT Corporate Trainer with 9 years of experience in Edu tech

Both languages use a C-style syntax, but they each have some differences. For example, Java uses a very Object-Oriented Programming (OOP) language syntax, created using classes and objects. Whereas JavaScript uses a text-based programming syntax in the style of C, it uses Java-like naming conventions...
Comments

Engineering background teacher with 5+ years of teaching experience.

Java and JavaScript are distinct programming languages with different purposes: Java: A general-purpose, object-oriented programming language. Typically used for building standalone applications, backend systems, and Android apps. Requires compilation before execution (compiled language). JavaScript: ...
read more
Java and JavaScript are distinct programming languages with different purposes: Java: A general-purpose, object-oriented programming language. Typically used for building standalone applications, backend systems, and Android apps. Requires compilation before execution (compiled language). JavaScript: A scripting language primarily used for web development. Executes in web browsers to enhance interactivity and user experience. Interpreted language, meaning code is executed line by line by the browser. Despite their similar names, Java and JavaScript have different syntax, use cases, and execution environments. They are often used together in web development, but they serve different roles in the development stack. read less
Comments

C Language Faculty (Online Classes ) Having 10 Years Experience

What is the Difference between Java and JavaScript? Java is an OOP programming language, and it helps to create applications that function in a virtual machine or browser, while JavaScript is an OOP scripting language. Also, the JavaScript code runs on a browser only.
Comments

View 2 more Answers

Related Questions

Why Java is not a Pure Object oriented Programming Language?
Bcoz java does not support - All predefined types are objects All operations performed on objects must be only through methods exposed at the objects.
Profile Photo
Amit Kumar
0 0
View Comments9
What are the technologies to learn for a Java backend developer?
One of the most critical skills of a backend developer is a depth of knowledge in backend programming languages. This includes proficiency in PHP, Java, Python, Perl, Ruby, and Node JS.
Profile Photo
Ankita
0 0
View Comments5
What are the difference between abstract class and Interface?
Abstraction : Hiding unnecessary details of object and shows only essential features of Object to communicate. abstract class : partially defined Object interface :Complete specification of Object class : Complete definition of Object
Profile Photo
Ashish

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Java : Compile-time Versus Runtime optimization
While designing and development, one should think in terms of compile-time and run-time.It helps in understanding language basics in a better way.Let's understand this with a question below : What...
S

Mastering in Java Programming
Core java topics What is Java?Execution Model Of JavaBytecodeHow to Get Java?A First Java ProgramCompiling and Interpreting ApplicationsThe JDK Directory StructureUsing Eclipse Data types and Variables What...
Profile Photo

1.3. Find the second largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 3, 4, 6, 5}; int max = Integer.MIN_VALUE, secondMax = Integer.MIN_VALUE; for (int i = 0; i < arr.length; i++) { if (arr >...
Profile Photo

JAVA Online Training
What is Java? Java is a technology developed by James Gosling at Sun Microsystems, Sun Microsystems is now a part of Oracle Corporation. This is one of the most powerful & securable language used to...
Profile Photo

Recommended Articles

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you