Anti Essays :: Free "Java Methods" Essay
Below is a free essay on "Java Methods" from Anti Essays, your source for online free essays, free research papers, and free term papers. Anti Essays also has a database of thousands of other free essays, free research papers, and free college essays. You can search for more free essays from Anti Essays using the search box above.
This free essay is for research purposes ONLY. Do NOT submit essays from Anti Essays as your own. If you use information from this free essay, it is your responsibility to cite it. MLA and APA citations can be found at the bottom of the page.
Submitted by frostvapor on October 13, 2008
I. Introduction
II. A First Program in java: Printing a Line of text
a. A java application is a computer program that executes when you use the java command to launch the java virtual machine JVM.
b. // indicates that the remainder of the line is a comment. Programmers insert comments to document programs and improve their readability. This helps other people read and understand your program. The java compiler ignores comment. By convention we begin every program with a comment indicating the figure number and file name. A comment that begins with //is called and end of line comment, because the comment terminates at the end of the line on which it appears. A //comment also can begin in the middle of a line and continue until the end of that line.
c. Traditional comments can be spread over several lines. This type of comment begins with the delimiter.*, all text between the delimiter is ignored by the complier.
d. Java also provides Javadoc comment that are delimited by /** and */. Javadoc comment delimiters are ignored by the compiler. Javadoc comments enable programmers to embed program documentation directly in their programs. Such comments are the preferred java documenting format in industry. The javadoc utility program reads javadoc comments and uses them to prepare your programs documentation HTML format.
e. Programmers use blank lines and space characters to make programs easier to read. Together, blank lines, space character and tab characters are known as white space.
f. White space is ignored by the compiler.
g. Every programming Java consists of at least on e class declaration that is defined by you –the programmer. These are known s programmer defined classes or user defined classes. The class keyword introduces a class declaration in Java and is immediately followed by the class name. Keywords are reserved for use by java and are always spelled with all lowercase letters.
h. By...
You must Login to view the entire essay.
If you are not a member yet, Sign Up for free!
"Java Methods". Anti Essays. 8 Jan. 2009
<http://www.antiessays.com/free-essays/16916.html>
Java Methods. Anti Essays. Retrieved January 8, 2009, from the World Wide Web: http://www.antiessays.com/free-essays/16916.html