• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Key Differences between Java and Javascript

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hear that both languages can be used to make websites but I was wonder what is the difference between these two languages. I know that JavaScript was called Livescript before ti got the name JavaScript and that Java is a object orientated language. One thing I was wondering about for Java is what exactly is an Applet? Which language would be the most useful to learn if you want ot become a web programmer? I actually like both languages but I am more familiar with JavaScript as of now. I know I have a while to go before I can figure out everything I need to but with enough practice I think I can figure them both out.
 
Sheriff
Posts: 67762
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Except for a passing similarity in base syntax, and a poor choice of naming, Java and JavaScript have little to nothing in common.

Applets are a dead and obsolete technology, so you don't need to concern yourself with them unless you are charged with supporting a legacy applet.
 
Bartender
Posts: 15743
368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As for making websites, it really depends. The two languages are used for different things: JavaScript is mostly used for the client-side of web applications, while Java can be used for the server-side. But you can also make websites without using either of the two languages.
 
Marshal
Posts: 82459
594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An applet is a small fruit small application in a small window on its own. As Bear has told you,nobody writes Java® applets any more and there is probably no point in leaning about them.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic