backup
This commit is contained in:
24
9/Rechteck.~ava
Normal file
24
9/Rechteck.~ava
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
*
|
||||
* Beschreibung
|
||||
*
|
||||
* @version 1.0 vom 11.03.2025
|
||||
* @author
|
||||
*/
|
||||
|
||||
public class Rechteck {
|
||||
|
||||
// Anfang Attribute
|
||||
public int seiteA;
|
||||
public int seiteB;
|
||||
// Ende Attribute
|
||||
|
||||
// Anfang Methoden
|
||||
|
||||
public void berechneFlaeche() {
|
||||
System.out.println("Fläche: " + (seiteA*seiteB));
|
||||
|
||||
}
|
||||
|
||||
// Ende Methoden
|
||||
} // end of Rechteck
|
||||
Reference in New Issue
Block a user