what is the difference between Java and JavaScript anyway?



Programming Help Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



what is the difference between Java and... Expand / Collapse
Author
Message
Posted 4/5/2009 7:34:19 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 4/13/2009 12:54:18 PM
Posts: 11, Visits: 4
major difference is how the language is presented to the end user (that's you when you're surfing). Java must be compiled into what is known as a "machine language" before it can be run on the Web. Basically what happens is after the programmer writes the Java program and checks it for errors, he or she hands the text over to another computer program that changes the text code into a smaller language. That smaller language is formatted so that it is seen by the computer as a set program with definite beginning and ending points. Nothing can be added to it and nothing can be subtracted without destroying the program.

JavaScript is text-based. You write it to an HTML document and it is run through a browser. You can alter it after it runs and run it again and again. Once the Java is compiled, it is set. Sure, you can go back to the original text and alter it, but then you need to compile again.

can any one add some more points to it plz....


praneeth arnepalli
Post #2827
Posted 4/6/2009 3:44:39 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 2/15/2011 2:04:48 AM
Posts: 105, Visits: 137
Gud comparison

http://www.edb.utexas.edu/multimedia/Java%20vs%20Javascript.pdf

Post #2944
Posted 4/7/2009 6:34:14 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 7/8/2009 3:39:45 AM
Posts: 11, Visits: 17
@Rajeeva

Thanks for posted good resource.

it'll help to many users.

Thanks
Jay


Offshore Game Development
Flash Game Development
Online Game Development



Post #2984
Posted 6/28/2009 1:47:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/28/2009 1:56:02 AM
Posts: 8, Visits: 2
its a lot of different between java and javascript, java script can use in html but java its a powerfull language program, i think rajeeva answer is good

try the other side
Post #4053
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: ProgrammingHelp, Viral Unity, Matt.Hill, DaveL, Alex.D

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 9:32am

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.187. 11 queries. Compression Disabled.