Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams


Difference between JavaScript and Java

difference java javascript

  • Please log in to reply
&nsbp;

#1 DesGuru

DesGuru

    Senior Member

  • Designer
  • 220 posts

Posted 30 October 2012 - 07:50 PM

JavaScript programming language, is not component of the Java platform.
JavaScript, doesn’t create stand-alone applications and applets. JavaScript is placed inside HTML documents, to provide interactivity levels to web pages that cant be achieved with the simple HTML.

A number of differences between Java and JavaScript are listed below
•Java is a programming language while Java Script is a scripting language.
•Java creates applications that run in a browser or virtual machine but JavaScript code runs on browsers.
•JavaScript code is all in text and doesn’t need to be compiled while Java code needs to be compiled.
•Java and JavaScript require different plug-ins.
  • lalelemu likes this

#2 anirban09p

anirban09p

    Junior Member

  • Designer
  • 26 posts

Posted 21 January 2015 - 04:24 AM

Java is a programming language designed to run applets in a Java Virtual Machine on any computer/device that supports a Java Virtual Machine.  Java applets generally do not interact with the Web page itself, but usually runs as a "standalone" program embedded in a Web page.  ParaChat software offers a Java applet option so you can embed a Java chat room in your web page.

JavaScript (originally known as "LiveScript") is a scripting language that runs inside of an Internet browser to manipulate and enhance the contents of Web pages. JavaScript is designed to expand the capabilities of a web page so that it behaves more like a program than just a static page of text and images.


  • lalelemu likes this

#3 rinomasaya

rinomasaya

    Junior Member

  • Designer
  • 1 posts

Posted 10 April 2017 - 06:56 AM

JavaScript is an object-oriented scripting language that allows you to create dynamic HTML pages, allowing you to process input data and maintain data, usually within the browser.

 

Java is a programming language, core set of libraries, and virtual machine platform that allows you to create compiled programs that run on nearly every platform, without distribution of source code in its raw form or recompilation. More on....Java and Javascript

 

Rino


  • lalelemu likes this

#4 Donkey_Dash

Donkey_Dash

    Junior Member

  • Client
  • 12 posts

Posted 30 May 2017 - 05:33 AM

Its easy. Javascript does not create applets or stand alone applications.  In the most common form. javascript resides inside HTML documents.


  • lalelemu likes this

#5 RajGawdi

RajGawdi

    Member

  • Designer
  • 70 posts

Posted 15 June 2017 - 10:17 AM

Difference: 

 

  1. Java is an OOP programming language while JavaScript is an OOP scripting language.
  2. In Java, there are classes, and instances, as separate concepts. But In Javascript, does not use classes. In JavaScript, you don't define classes and create objects from these classes.
  3. Java and Javascript are similar like Car and Carpet are similar.

  • lalelemu likes this

#6 pranitpatil0503

pranitpatil0503

    Junior Member

  • Client
  • 1 posts

Posted 15 November 2017 - 05:39 AM

The difference between Java programming and javaScript is not understood very well normally. Many confuse it to be the same. If one wants to start a career as a developer, one needs to understand the proper difference.

1.Environment to execute: 2.OOP:

Java happens to be Object Oriented Programming language, and however JavaScript likewise bolsters class and object, it’s more similar to an OO scripting language.

3.Constructors:

Java has idea of constructors, which has some extraordinary properties e.g. constructor chaining and guaranteeing that super class constructor keeps running before sub class, then again JavaScript constructors are simply one more function.

4.NullPointerException:

JavaScript is considerably more sympathetic than Java, you don’t have NullPointerException in JavaScript, your variable can acknowledge various types of data on account of JavaScript is powerfully written language..more


  • lalelemu likes this

#7 GRADY

GRADY

    Junior Member

  • Client
  • 1 posts

Posted 10 October 2019 - 10:04 AM

Java code must be compiled, and JavaScript code is all-text. ... JavaScript code is run on a browser only, while Java creates applications that run in a virtual machine or browser.

 

Java is an OOP (object-oriented programming) language, and JavaScript is specifically an OOP scripting language.







Also tagged with one or more of these keywords: difference, java, javascript

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users