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 parameters in javascript?

0 Answers  


What is the use of blur function?

0 Answers  


What is the disadvantage of using innerhtml in javascript?

0 Answers  


write a programme to solve a formula for compound interest using html tags. I want to know how a formula containing degree (raise to the power) can be solved.

1 Answers  


What is the role of javascript in html?

0 Answers  






What do ellipses mean in javascript?

0 Answers  


What is called variable typing in javascript?

0 Answers  


what is interface ?

5 Answers  


e=1+x/!+x2/2!+x3/3!+.... in javascript

0 Answers  


How to get value of an element by class in javascript ?

0 Answers  


What is difference between undefined variable and undeclared variable?

0 Answers  


What is the difference between the operators ‘==‘ & ‘===‘?

0 Answers  


Categories