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 are the advantages of javascript?

0 Answers  


What and where are the best javascript resources on the web?

0 Answers  


what is flux in javascript?

0 Answers  


What are screen objects?

0 Answers  


How do I save javascript?

0 Answers  






Are Javascript and JScript the same?

0 Answers  


Between JavaScript and an ASP script, which is faster?

0 Answers  


what is the purpose of using jsp?

1 Answers  


what is onfocus and onblur events in java script?

2 Answers  


What is the microsoft version of javascript?

0 Answers  


Why it is not advised to use innerhtml in javascript?

0 Answers  


accessdenied javanet disconnet

0 Answers   Reliance,


Categories