Changeset 398 in Java_Quellcode_SOOP_Vorlesung for oop/DatumTest.java


Ignore:
Timestamp:
Dec 12, 2017, 9:40:15 AM (7 years ago)
Author:
tr
Message:

Datum angepasst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • oop/DatumTest.java

    r245 r398  
    44
    55    public static void main(String[] args) {
    6         Datum d = new Datum(21, 11, 2016);
    7        
     6        Datum d = new Datum(12, 2, 1900);
     7
    88        System.out.println(d);
     9
     10        for (int i = 1; i <= 24; i++) {
     11            d.erhoehe();
     12            System.out.println(d);
     13        }
    914    }
    10 
    1115}
Note: See TracChangeset for help on using the changeset viewer.