What is the difference between java and java script?

Answers were Sorted based on User's Feedback



What is the difference between java and java script? ..

Answer / kannappanksk

Java Script is object based language it is used for front
end validations.
java is object oriented language.object oriented language
supports OOP's,Object based not suppoted inheritence.

Is This Answer Correct ?    44 Yes 11 No

What is the difference between java and java script? ..

Answer / nazrul

1.Java is an OOP programming language while Java Script is
an OOP scripting language.

2.Java creates applications that run in a virtual machine or
browser while JavaScript code is run on a browser only.

3.Java code needs to be compiled while JavaScript code are
all in text



4.Java follows strong type checking where as Javascript is
very flexible in datatype(loosly typed). Supports types
which represents boolean,int,string

o Ex : Variables in Java is declared as datatype
<varname>; --> int num;
o But in Javascript variable declaration will be as var
<varname>; --> var myName;

5.Javascript support function declarations, but without
accessibility specifiers,parameter datatype,return type
• Javascript : function fcnName(str)
{
........function body..........
}
• Java : public int functionName(int no)
{
..........function body.........
}

Is This Answer Correct ?    32 Yes 2 No

What is the difference between java and java script? ..

Answer / vijay

Java is a powerful object-oriented language like c, c++
while JavaScript is an object based client side scripting
language.

Is This Answer Correct ?    33 Yes 10 No

What is the difference between java and java script? ..

Answer / rajesh gupta

java is an entire programming language of sun microsystem
while javascript is scripting language that is introduce by
netscape.

Is This Answer Correct ?    19 Yes 2 No

What is the difference between java and java script? ..

Answer / gagandeep kaur

java used to create standalone application and special
type of mini application called an applet

javascript doesn't create standalone and doesn't create an
applet.

Is This Answer Correct ?    16 Yes 0 No

What is the difference between java and java script? ..

Answer / amita

java script is a scripting language, it is used for
validations, you can use some of java methods in javascript
code.

java is a structured language like c, c++.

I think you can not fetch database from Javascript but in
java code you can do so.

Is This Answer Correct ?    19 Yes 7 No

What is the difference between java and java script? ..

Answer / uttam kumar

Java is object oriented oriented programming language which supports the Inheritance but Javascript is a Object based language which does not support the Inheritance.

Is This Answer Correct ?    14 Yes 2 No

What is the difference between java and java script? ..

Answer / preet

java uses the concept of classes and objects.
there is no such things used in java script.

Is This Answer Correct ?    8 Yes 2 No

What is the difference between java and java script? ..

Answer / preet

Java exhibits the properties like inheritance, data encapsulation and polymorphism whereas JavaScript does not exhibits these properties.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More JavaScript Interview Questions

what is difference between client side scripting and server side scripting?

6 Answers   IBM, NIIT,


What is the main difference between Map collections and other collections such as Set.

0 Answers  


Which built-in method returns the calling string value converted to lower case?

0 Answers  


How do I view javascript files in chrome?

0 Answers  


What are the characteristics of javascript ‘strict mode’?

0 Answers  


Please write the Code of simple javascript calculator withot eval() function

0 Answers  


What is question mark in javascript?

0 Answers  


How do you organize your JavaScript code?

0 Answers   Arigo Infotech,


What is the default data type in javascript?

0 Answers  


What is the use of 'bind' method in JavaScript?

0 Answers  


How to redirect a url using JavaScript?

0 Answers  


How do I add a javascript event handler to an html page element?

0 Answers  


Categories