Get premium membership and access questions with answers, video lessons as well as revision papers.

Briefly describe Java.

      

Briefly describe Java.

  

Answers


Kavungya
This is a powerful and flexible language that can be used to create applets that run inside web pages. An applet is a program that is executed from within another program. Applets created by Java can be used for many tasks such as displaying graphics, getting input from the user, and playing sounds. Java is often confused with Javascript, but they are two different languages. According to its designers, Java was intended to be:
1) Object – Oriented, Robust and Secure
2) Fairly architecture neutral and Portable
3) High-performance: Its performance is currently poor, but new JVM implementations that employ just-in-time compilation are helping to improve Java's speed.
4) Dynamic: Java is fairly dynamic, but not as much so as other interpreted languages like LISP or Perl.

Java security is better than many other embeddable languages, but still has significant problems to overcome, both in its security model and in various implementations. The fundamental structural component of a Java program is the class. All data and methods in Java are associated with some class, there is no 'global' data or functions as in C++.
JavaScript Language
This language was developed to provide dynamic and interactive content on web pages. With Javascript it is possible to communicate with HTML, create animations, create calculators, validate forms, and more. Unlike Java language,
which can be used to develop entirely standalone applications, JavaScript works primarily with Web pages. JavaScript has object-oriented features. The syntax of JavaScript is similar to that of C or Java, but simpler and not as rich.
In Javascript, any variable can contain data of any type, and conversion is mostly automatic. The language definition includes extensive facilities for controlling and manipulating parts of web pages. The present versions of Javascript include a complicated security model for restricting the hostile capabilities of scripts embedded in web pages.
Kavungya answered the question on May 17, 2019 at 06:53


Next: The following are standard electrode potentials of some half-cell reactions. Use the data to answer the questions that follow.
Previous: Describe the Ada language (1983).

View More Computer Programming Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions