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 )

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

Can u explain init() method is used in servlet for initialization then constructor also there for initializing variables.then what makes the difference between init() and default constructor in servlets?
Using init() only advisable than default constructor because we cannot initialize servlet using constructor because servlets are not directly instantiated by javacode, instead container create instance...
Anwar

What is meant by Java full stack and angular Java?

Fullstack development means the combination of UI technologies (client-side) + Backend technology (server-side). UI technology like Angular or ReactJs (Front end technologies). It's all about client-side...
Anuradha
What is an MVC and why is it important?
MVC (Model-View-Controller) is a software architectural pattern that separates an application into three interconnected components: 1. *Model*: Represents the data and business logic, managing data...
Kirti
0 0
5
Why do many software engineers not like Java?
Opinions on programming languages can vary, but some software engineers may express dissatisfaction with Java for reasons such as perceived verbosity, boilerplate code, and a slower pace of language evolution...
Guruprasad
0 0
5

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

Ask a Question

Related Lessons

Introduction to Course Content
Video about what we are going to learn throughout the Java Training Session .

1.1. Reverse an array in Java.
public class Main { public static void main(String args) { int arr = {1, 2, 3, 4, 5}; for (int i = 0; i < arr.length / 2; i++) { int temp = arr; arr = arr; arr = temp; } System.out.println(Arrays.toString(arr)); }}

Java and C trainer
Always think any conspect with real-time example like Object -- object must have states and behaviour then only we will call that thing is Object like fan is Object (rotating,color)

Crux Of The Basic Interview Question Asked Around It Professionals
Question: Explain PSVM() in Java. Answer: This question is asked from a differnet persctive. Person asking this question is looking for deep java concepts. If answer in your mind is something like...

What is a Programming Language
What is a Language? Language is a communication system of human. What is a programming Language? A programming Language is a formal constructed language design to communicate...

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