added ws202425 courses
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
|
||||
/**
|
||||
* Vorlage.java
|
||||
*
|
||||
* Programmfragment, das Tastatureingaben ermoeglicht
|
||||
*
|
||||
*/
|
||||
|
||||
import java.util.Scanner;
|
||||
|
||||
// Klassenname MUSS = Dateiname sein
|
||||
class Vorlage {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
// Boilerplate Code - bitte erstmal einfach verwenden, Details folgen später
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
String str = scanner.next();
|
||||
int i = scanner.nextInt();
|
||||
|
||||
// Methoden für weitere Datentypen existieren
|
||||
// siehe API
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Vorlage
|
||||
Reference in New Issue
Block a user