GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 4 of 104    Print  
what is diffrence between java and java script?

  
Total Answers and Comments: 7 Last Update: October 27, 2007     Asked by: vijay 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: raj
 

Java and javascript both based on objects and their is a tight relation ship between these two.

The major difference between these two are:

1.Java is compiled language but javascript is an interpreted language.

2.Java is strongly typed language i.e,it is necessary to declare variables before use but it is not the case with javascript.

3.Java is used independently while javascript is used with in html tags and require web browser to run.

4.java files have the file extension of '.java' while javascript files have extension of '.js'

5.Java can be used for designing standalone applications as well as web pages also while javascript can only be used for designing wed pages.



Above answer was rated as good by the following members:
shinymoon29
October 22, 2005 06:50:43   #1  
vijay        

RE: what is diffrence between java and java script?

java is a pure objet orianted programing language.Java script is

Scripting programing language.There is no Relation Between java and

Javascript


 
Is this answer useful? Yes | No
November 19, 2005 06:50:53   #2  
raj        

RE: what is diffrence between java and java script?

Java and javascript both based on objects and their is a tight relation ship between these two.

The major difference between these two are:

1.Java is compiled language but javascript is an interpreted language.

2.Java is strongly typed language i.e it is necessary to declare variables before use but it is not the case with javascript.

3.Java is used independently while javascript is used with in html tags and require web browser to run.

4.java files have the file extension of '.java' while javascript files have extension of '.js'

5.Java can be used for designing standalone applications as well as web pages also while javascript can only be used for designing wed pages.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
December 06, 2005 05:35:34   #3  
anjana        

RE: what is diffrence between java and java script?
1. what is diffrence between java and java script?
2. You are the lead architect for a project that will require you interfacing with existing CORBA sys. . .
3. TCS Java Interview Questions
4. You want to create a Java stored procedure. You have written the Java program. What are two meth. . .
5. What is the difference between java script and java langauge.
6. Given: 1. // Point X 2. public class Foo { 3. public static void main(String[] args) throws . . .
7. How would call an external Java function which are not supported by DataStage?
8. Is there a way to get the original exception object from inside a nested or wrapped Exception (for e. . .
9. Internet explorer defaultly supports which script? A. java script B. jscript C. xml
10. What are the main differences between Java and C++?

 
Is this answer useful? Yes | No
December 22, 2005 11:47:27   #4  
Srini Gonuguntla        

RE: what is diffrence between java and java script?

Java is Object Oriented Programming language and where as Java Script is an object-based scripting language.i.e. there is no inheritance and creating of new classes is also not possible you can only make use of existing objects and their mthods.

Thnx&Regards

Srini Gonuguntla


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
February 03, 2007 01:10:59   #5  
hrushi        

RE: what is diffrence between java and java script?
Hello Raj. Thank you. it was really the worthy answer. Good u take time for the friends around.I am fresher in the java world and afarid of forgetting constructors for these so many methods to follow google is only option or any tips for the beginnerHrushi
 
Is this answer useful? Yes | No
May 27, 2007 01:35:48   #6  
vinay kumar        

RE: what is diffrence between java and java script?
really java is independently of any plateform. but java script is dependent only one.
java needs to environment of jdk of any operating system but java script needs html tag andits needs to web browser.

 
Is this answer useful? Yes | No
October 26, 2007 07:44:10   #7  
raj        

RE: what is diffrence between java and java script?
Java is a platfrom independent language. It is used for application programming.
But JavaScipt is used to view the presentation part into the web browser.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape