All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 2m28s
new file: resources/AllgemeinTest/UncurrierMain.jav modified: resources/KPSPresentation/Faculty.jav modified: resources/KPSPresentation/Main.jav new file: resources/KPSPresentation/MainFaculty.jav new file: resources/KPSPresentation/MainOL.jav modified: resources/KPSPresentation/MatrixOP.jav modified: resources/KPSPresentation/OL.jav modified: src/test/java/KPSPresentation.java
20 lines
489 B
Java
20 lines
489 B
Java
import java.lang.String ;
|
|
import java.lang.System;
|
|
import java.io.PrintStream;
|
|
import java.lang.Float;
|
|
import OL2;
|
|
|
|
class MainOL {
|
|
public static main(x) {
|
|
var ol = new OL2();
|
|
|
|
//the function main is applied to an integer
|
|
//var res1 = ol.m2(2);
|
|
//the main is applied to a double
|
|
//System.out.println(ol.m2(2.0));
|
|
//System.out.println(ol.m2("Hallo").toString());
|
|
var res2 = ol.m2("Hallo").toString();
|
|
System.out.println(res2);
|
|
|
|
}
|
|
} |