diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-03-28 14:31:02 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-03-28 16:07:32 +0100 |
commit | 86920fcd21ea2631a809041e786abd851d1bd0e4 (patch) | |
tree | 3302b57e16f9700e8f8a25713f72ed9b472518c0 /Bachelorizer.java | |
parent | 1c288cd7be40c4be43373fbf4ceaefeb86337c03 (diff) |
use namespace dk.abcdefghijklmnopqrstuvxyzæøå.bachelorizer
Diffstat (limited to 'Bachelorizer.java')
-rw-r--r-- | Bachelorizer.java | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/Bachelorizer.java b/Bachelorizer.java deleted file mode 100644 index d30708e..0000000 --- a/Bachelorizer.java +++ /dev/null @@ -1,54 +0,0 @@ -import java.util.Arrays; - -/// Bachelorizer - bachelor programme registrar -/// -/// SPDX-License-Identifier: GPL-3.0-or-later -/// SPDX-FileCopyrightText: 2025 Jonas Smedegaard <dr@jones.dk> -/// -/// Tool for registering students -/// for activities in their bachelor programme. -/// -/// Core class usable in several ways -/// * as self-contained executable via method main() -/// * embedded in a larger system by instantiating Bachelorizer() -/// -/// * v0.0.1-draft -/// * initial release, as part of delivery "Portfolio 1" -/// -/// @version 0.0.1-draft -/// @see <https://moodle.ruc.dk/mod/assign/view.php?id=523186> -public class Bachelorizer { - - public String name; - public String[] activities; - - /// Bachelorizer constructor - /// - /// @param name name of student as String - /// @param activities chosen activities as String array - public Bachelorizer( - final String name, - final String[] activities - ) { - this.name = name; - this.activities = activities; - } - - /// JVM entry point - /// - /// @param args command-line arguments (ignored) - public static void main(final String[] args) { - - // Instantiation as dictated by assignment - final int population = 10; - final int[] observationpoint = new int[] {5, 5}; - Bachelorizer session = new Bachelorizer( - "Jonas Smedegaard", - new String[] {"CS-SMC2", "CS-SMC3"}); - - // minimal viable product - System.out.printf("Hi %s%nYou chose these activities: ", - session.name); - System.out.println(Arrays.toString(session.activities)); - } -} |