This commit is contained in:
Michal Malawski 2022-11-08 16:41:38 +01:00
parent a0385ee59e
commit 9915535a64
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import java.util.ArrayList;
public class Helpers { public class Helpers {
// Lesen einer Textdatei in ein Stringarray // Lesen einer Textdatei in ein Stringarray
public static String[] readTextdatei(String name) { public static String[] readTextdatei(String name ) {
String line; String line;
ArrayList<String> result = new ArrayList<String>(); ArrayList<String> result = new ArrayList<String>();
try { try {

View File

@ -1,5 +1,7 @@
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("Hello!"); Helpers.readTextdatei("passwd");
Helpers.writeTextdatei("");
} }
} }