• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java vs. Javascript

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If one knows Java does one inherently Java Script?
 
J. Moritz
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let me rephrase that....

I am learning Java ....is it necessary to learn Java Script or will I inherently know JS by learning Java? ...Is JS a subset of Java?
 
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Moritz,
JavaScript is not a subset of Java.
It is different with Java although some its keywords are same with Java's keywords.
You usually use JavaScript for developing web application.
JavaScript is used to validate the user's entry before its value send to the server.

Imagine that you have a screen about Registration. You have to fill birth date on that. Before your birth date is sent to server, you have JavaScript's function to validate whether your input is in correct format of date or not. If you enter invalid date format, its function will alert you and not send your input to server.

Hope this help.. and correct me if I am wrong...

thanks
daniel
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic