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

How can I learn Java from home?
Hi Divya, There are several ways to learn Java from home. 1. You can find trainer on UrbanPro. 2. You can find free resources available online like youtube or javaranch, stackoverflow 3.You can connect...
Divya
0 0
5
What are the best books to learn Java?
you can buy any book to learn java but for beginner's Herber Schild is prefer best
Prashant
0 0
6
What are the topics covered under core Java?
The major topics are listed below: 1. Java Basics - Variables, Data types, Operators, Control Statements,Strings, Arrays and Functions. 2. Object Oriented Concepts - Classes, Objects, Constructors, Inheritance,...
Sahil
0 0
6
Which is a good Java training and placement institute for a fresher in Bangalore?
I know an institute in HYderabad which is giving 100% job guarantee or 100% fee refund. They have office in bangalore also, not sure whether they are offering this program in Bangalore. Please visit their...
Raja
0 0
5
Why using Overriding in Java ?
There was a student who always pronounces "University" as "Univerkity". His teacher got angry and called the parents and asked to know the reason. Teacher got shocked as they are pronouncing "Capacity"...
Shivendra

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

Ask a Question

Related Lessons

Object Oriented Programming Concepts :
Class : Class is user defined data type. Class is a logical representation of an Object. That means Class is used to define an object, how you want to create your software object. For Example...


Java :: Inner Class Concepts
Java:: Inner Class Concepts--------------------------------- Inner class concepts introduced in Java v1.1 - as a part of AWT Event Handling improvements.When to use Inner class: - Without existing One...
M

Marimuthu P.

2 0
0

1.2. Find the largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 2, 3, 4, 5}; int max = arr; for (int i = 1; i < arr.length; i++) { if (arr > max) { max = arr; } } System.out.println("Largest Element: " + max); }}

Simple Input and Output in CoreJava
We can use any of the following options based on the requirements to accept data from the user in corejava and show them Integer Input Output Character Input Output Float Input Output INPUT AND...

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