Sinopsis
In an object-oriented language, a program is divided into many separate units called objects. You can program and understand each type of object in isolation. Breaking a program into small, well-defined pieces in this way makes object-oriented programs easier to write, to understand, and to change.
An object typically includes two parts. First, it includes information. Just as each object in the real world has a color, a size, and a weight, Java objects contain their own unique data. Secondly, objects include instructions for working with this data; for example, a Button object might include instructions for drawing a button on the computer screen and for reacting to mouse clicks. Each set of instructions is termed a method. In general, doing useful work in Java consists mainly of asking objects to perform methods for you. An object responds to such a request by following the instructions that the method contains. Having all the instructions and data broken up into objects makes Java software modular, and thus easier to understand one piece at a time. Object-oriented languages also promote software reuse — that is, you may define a kind of object and use it in several different programs unchanged.
Content
- INTRODUCING JAVA AND XML
- JAVA BASICS
- JAVA PROGRAMMING
- XML BASICS
- XML DOCUMENT TYPE DEFINITIONS
- XML SCHEMAS
- THE SAX API
- THE DOM
- JDOM
- JAXP
0 komentar:
Posting Komentar