Java Applet Tutorial Object Oriented Programming Java, like JavaScript, is an object oriented language.
Objects are just another way of defining and manipulating data.
If an object spawns two child objects, each child is separate from the other. Data modified in one child does not affect the corresponding data in the other child, although both children inherit from the parent. Any changes made in a function can affect other parts of the program. The data is, in effect, placed in one big bucket. Great care and extensive testing are necessary to ensure the integrity of the whole.