diff options
author | Nat Lasseter <user@4574.co.uk> | 2023-12-05 10:33:02 +0000 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2023-12-05 10:33:02 +0000 |
commit | 684ee6532546013dee31f98595bf8f27da950a4b (patch) | |
tree | 83728fd0adaa59cce3f0576d3565d7b4b279524f | |
parent | 36ccd05c18d4b147bd15f79509917c83806523d3 (diff) |
Add day template
-rw-r--r-- | dayXX.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dayXX.java b/dayXX.java new file mode 100644 index 0000000..bf50f5e --- /dev/null +++ b/dayXX.java @@ -0,0 +1,20 @@ +import java.io.IOException; +import java.io.RandomAccessFile; + +public class dayXX { + public static void main(String args[]) throws IOException { + RandomAccessFile input = new RandomAccessFile("test", "r"); + System.out.println("Day XX Part 1: " + part1(input)); + input.seek(0); + System.out.println("Day XX Part 2: " + part2(input)); + input.close(); + } + + public static String part1(RandomAccessFile input) throws IOException { + return "WIP"; + } + + public static String part2(RandomAccessFile input) throws IOException { + return "WIP"; + } +} |