Objektorientierung (CP): Unterschied zwischen den Versionen

Aus Philo Wiki
Wechseln zu:Navigation, Suche
(first)
 
K (add content)
Zeile 2: Zeile 2:
  
 
*[http://download.oracle.com/javase/tutorial/java/concepts/object.html Objekte]
 
*[http://download.oracle.com/javase/tutorial/java/concepts/object.html Objekte]
 +
 +
An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life. This lesson explains how state and behavior are represented within an object, introduces the concept of data encapsulation, and explains the benefits of designing your software in this manner.
 +
 
*[http://download.oracle.com/javase/tutorial/java/concepts/class.html Klassen]
 
*[http://download.oracle.com/javase/tutorial/java/concepts/class.html Klassen]
  
 +
A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavio
 +
 +
*[http://download.oracle.com/javase/tutorial/java/concepts/inheritance.html Vererbung]
 +
 +
Inheritance provides a powerful and natural mechanism for organizing and structuring your software. This section explains how classes inherit state and behavior from their superclasses, and explains how to derive one class from another using the simple syntax provided by the Java programming language.
  
  

Version vom 3. Dezember 2010, 09:48 Uhr

The Java Tutorials

An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life. This lesson explains how state and behavior are represented within an object, introduces the concept of data encapsulation, and explains the benefits of designing your software in this manner.

A class is a blueprint or prototype from which objects are created. This section defines a class that models the state and behavior of a real-world object. It intentionally focuses on the basics, showing how even a simple class can cleanly model state and behavio

Inheritance provides a powerful and natural mechanism for organizing and structuring your software. This section explains how classes inherit state and behavior from their superclasses, and explains how to derive one class from another using the simple syntax provided by the Java programming language.