Oracle Database Java Developer’s Guide 10g

Peter Kitson

ISBN : -

Order a printed copy of this book from Amazon --UNAVAILABLE--


Cover Design - Oracle Database Java Developer’s Guide 10g
 

For your free electronic copy of this book please verify the numbers below. 

(We need to do this to make sure you're a person and not a malicious script)

Numbers

 




Sample Chapter From Oracle Database Java Developer’s Guide 10g
     Copyright © Oracle Corp



Overview of Java

Java has emerged as the object-oriented programming language of choice. It includes
the following concepts:

a Java virtual machine (JVM), which provides the fundamental basis for platform independence
automated storage management techniques, the most visible of which is garbage collection
language syntax that borrows from C and enforces strong typing

The result is a language that is object-oriented and efficient for application-level
programs.

Java and Object-Oriented Programming Terminology

This section covers some basic terminology of Java application development in the
Oracle Database environment. The terms should be familiar to experienced Java
programmers. A detailed discussion of object-oriented programming or of the Java
language is beyond the scope of this book. Many texts, in addition to the complete
language specification, are available at your bookstore and on the Internet. See
'Suggested Reading' in the Preface for pointers to reference materials and for places to
find Java-related information on the Internet.

Classes

All object-oriented programming languages support the concept of a class. As with a
table definition, a class provides a template for objects that share common
characteristics. Each class can contain the following:

Attributes—static or instance variables that each object of a particular class possesses.
Methods—you can invoke methods defined by the class or inherited by any classes extended from the class.

When you create an object from a class, you are creating an instance of that class. The
instance contains the fields of an object, which are known as its data, or state.
Figure 1–3 shows an example of an Employee class defined with two attributes: last
name (lastName) and employee identifier (ID).