Oracle Database Java Developer’s Guide 10g |
|||
|
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) | ||
|
Sample Chapter From Oracle Database Java Developer’s Guide 10g Copyright © Oracle Corp |
|||
Overview of JavaJava has emerged as the object-oriented programming language of choice. It includesthe 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 TerminologyThis section covers some basic terminology of Java application development in theOracle 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. ClassesAll object-oriented programming languages support the concept of a class. As with atable 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).
|
|||