Java Reference
In-Depth Information
The World Wide Web is software that makes sharing information across a
network easy for humans.
A URL uniquely specifies documents and other information found on the
Web for a browser to obtain and display.
This topic focuses on the principles of object-oriented programming.
Comments do not affect a program's processing; instead, they serve to
facilitate human comprehension.
Inline documentation should provide insight into your code. It should not
be ambiguous or belabor the obvious.
Java is case sensitive. The uppercase and lowercase versions of a letter are
distinct.
Identifier names should be descriptive and readable.
Appropriate use of white space makes a program easier to read and
understand.
You should adhere to a set of guidelines that establish the way you format
and document your programs.
All programs must be translated to a particular CPU's machine language in
order to be executed.
High-level languages allow a programmer to ignore the underlying details
of machine language.
A Java compiler translates Java source code into Java bytecode, a low-
level, architecture-neutral representation of the program.
Many different development environments exist to help you create and
modify Java programs.
Syntax rules dictate the form of a program. Semantics dictate the meaning
of the program statements.
The programmer is responsible for the accuracy and reliability of a program.
A Java program must be syntactically correct or the compiler will not
produce bytecode.
Object-oriented programming helps us solve problems, which is the pur-
pose of writing a program.
Program design involves breaking a solution down into manageable pieces.
Each object has a state, defined by its attributes, and a set of behaviors,
defined by its methods.
A class is a blueprint of an object. Multiple objects can be created from
one class definition.
Search WWH ::




Custom Search