Welcome

Anti Essays offers essay examples to help students with their essay writing.

Sign Up

Java Essay

Open Document

Below is an essay on "Java" from Anti Essays, your source for research papers, essays, and term paper examples.

Introduction
There are many languages which are used to develop web pages. Some of them are easy to follow some are a bit complicated. It depends on the developer and what language he gets familiar with. Examples of languages that are used in web development are Java and JavaScript. These two languages are similar in ways and different in other ways. In this paper we will see the differences and similarities between Java and JavaScript.
Java
Java has syntax very much similar to the C++ language. However, C++ is a language which is a combination of structured, generic and object-oriented programming. Java on the other hand is almost entirely an object oriented language. Java like C++ use comments in it’s syntax that gives descriptions of what different command lines are doing in the body of the program. An example of how to make a single line comment in the Java program is to write // two forward slashes in the beginning of the comment. That way the comment won’t be considered as part of the program. Another type of comments is the multiple line comments, this type requires the comment to begin with a forward slash asterisk (/*) and end with an asterisk forward slash (/*). An example of a simple Java program is the following program that displays the phrase Hello, world! :
/*
* Outputs "Hello, world !" and then exits
*/

public class HelloWorld {
  public static void main(String[] args) {
      System.out.println("Hello, world!");
  }
}

Java and JavaScript Uses - 3 -
JavaScript
“JavaScript is a client-side scripting language that allows Web page authors to develop interactive Web pages and sites. Although JavaScript is considered a programming language, it is also a critical part of Web page design and authoring. This is because the JavaScript language lives within a Web page’s elements. The language is relatively easy to learn, allowing non-programmers to quickly incorporate JavaScript functionality into a Web page. In fact, because it is...

Show More


Citations

MLA Citation

"Java". Anti Essays. 13 Dec. 2018

<http://cassandralynndesignllc.com/free-essays/Java-236002.html>

APA Citation

Java. Anti Essays. Retrieved December 13, 2018, from the World Wide Web: http://cassandralynndesignllc.com/free-essays/Java-236002.html