faq about Java Script

Status
Not open for further replies.

AleXXGaming

Notable Member
Joined
Mar 13, 2016
Messages
507
Reaction score
333
Java Script!


  • The programs you create are portable in a network. (Seeportability.) Your source program is compiled into what Java calls bytecode, which can be run anywhere in a network on aserver or client that has a Java virtual machine. The Java virtual machine interprets the bytecode into code that will run on the real computer hardware. This means that individual computer platform differences such as instruction lengths can be recognized and accommodated locally just as the program is being executed. Platform-specific versions of your program are no longer needed.
  • The code is robust, here meaning that, unlike programs written in C++ and perhaps some other languages, the Java objects can contain no references to data external to themselves or other known objects. This ensures that an instruction can not contain the address of data storage in another application or in the operating system itself, either of which would cause the program and perhaps the operating system itself to terminate or "crash." The Java virtual machine makes a number of checks on each object to ensure integrity.
  • Java is object-oriented, which means that, among other characteristics, an object can take advantage of being part of a class of objects and inherit code that is common to the class. Objects are thought of as "nouns" that a user might relate to rather than the traditional procedural "verbs." A method can be thought of as one of the object's capabilities or behaviors.
  • In addition to being executed at the client rather than the server, a Java applet has other characteristics designed to make it run fast.
  • Relative to C++, Java is easier to learn. (However, it is not a language you'll pick up in an evening!)
Java was introduced by Sun Microsystems in 1995 and instantly created a new sense of the interactive possibilities of the Web. Both of the major Web browsers include a Java virtual machine. Almost all major operating system developers (IBM, Microsoft, and others) have added Java compilers as part of their product offerings.

The Java virtual machine includes an optional just-in-time compiler that dynamically compiles bytecode into executable code as an alternative to interpreting one bytecode instruction at a time. In many cases, the dynamic JIT compilation is faster than the virtual machine interpretation.

JavaScript should not be confused with Java. JavaScript, which originated at Netscape, is interpreted at a higher level, is easier to learn than Java, but lacks some of the portability of Java and the speed of bytecode. Because Java applets will run on almost any operating system without requiring recompilation and because Java has no operating system-unique extensions or variations, Java is generally regarded as the most strategic language in which to develop applications for the Web. (However, JavaScript can be useful for very small applications that run on the Web client or server.)

Thanks

@edwjusti @Manwee
 
Is this considered as replying to old threads?
View reply.
 
Is this considered as replying to old threads?
Yes but this thread needs to be locked or moved to Off Topic...technically the rule is do not spam old threads to get lots of messages...but if I am replying to an old thread and breaking a rule, I am truly sorry but I am trying to help out :confused::oops:
View reply.
 
Advertising? Wot?
Well Java script is not related to BrokenLens and Java script is another program? I have no idea...at least move it to Off Topic or lock it... I might have made a mistake... oops
View reply.
 
Well Java script is not related to BrokenLens and Java script is another program? I have no idea...at least move it to Off Topic or lock it... I might have made a mistake... oops
I thought javascript was used for coding in brokenlens?
View reply.
 
Well Java script is not related to BrokenLens and Java script is another program? I have no idea...at least move it to Off Topic or lock it... I might have made a mistake... oops
But then again if you were to put a whole documentary on potatoes in the FAQ section, you won't call it advertising, same concept
View reply.
 
But then again if you were to put a whole documentary on potatoes in the FAQ section, you won't call it advertising, same concept
That is true...well this still needs to be locked or moved to 'off topic'
View reply.
 
Fine, just hate on someone who has only been here since January and is not COMPLETELY familiar with everything on rules.

Have a nice day
View reply.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Back
Top