Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Java or Javascript

Posted on 1998-07-21
3
Medium Priority
?
227 Views
Last Modified: 2013-12-16
Well I'am a bit confuse, this maybe a dumb question and since I would like to study Java I would like to know what is the difference of Java from Java script?
Thank you.
0
Comment
Question by:lmr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:lmr
ID: 1227484
Edited text of question
0
 

Accepted Solution

by:
Gamestor earned 300 total points
ID: 1227485
Hi Imr,
The only similarities between Java and JavaScript, that I know of, are the syntax, both are object oriented and open- and cross-platform.  Other than that, there are many differences between the two.
First of all, JavaScript doesn't require compilation prior to execution since its text-based code runs directly within the browser.  Java does require compilation.  This means that JavaScript's code and HTML's code can be included in one HTML file, whereas Java's code resides in a class file and can only be included in the HTML file using <APPLET ..../APPLET>.
Secondly,  Java has classes and supports class inheritance while JavaScript only has built-in sets of objects that can't be classified as classes.  JavaScript's object references are checked at runtime, whereas Java's object references are checked at compile time.
Third, Java requires variable's types to be declared, whereas JavaScript doesn't.
Fourth, Java is designed for programmers to develop applets and stand alone applications, whereas JavaScript is designed for webpage authors to dynamically control the interaction of their pages.
In general, if you are only interested in creating awesome webpages, JavaScript is one of the best ways to go.  Other than that, I think you should start with Java.  After you have mastered you Java skills, JavaScript shouldn't be hard for you to learn at all.  Just keep in mind that JavaScript was originally designed to create the link between Java and HTML.

I hope this will help you a little bit.
Gamestor
0
 

Author Comment

by:lmr
ID: 1227486
Thanks agan,You're indeed a big help
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question