summary refs log tree commit diff stats
path: root/java/output
diff options
context:
space:
mode:
authorSudipto Mallick <smlckz@termux-alpine>2024-01-24 16:44:31 +0000
committerSudipto Mallick <smlckz@termux-alpine>2024-01-24 16:44:31 +0000
commit6766b6479a1d30680c1eb59df4c4b720eb22ce1c (patch)
tree19af8079fbed64732f891da09c69356153cc0170 /java/output
parent8fb719f58f91d1f1f187a1db974682fb3736ee05 (diff)
downloadzadania-6766b6479a1d30680c1eb59df4c4b720eb22ce1c.tar.gz
Implement Java Assignment #15 and more
java/{code/ParentWithTwoChildren.java, output/ParentWithTwoChildren.typ, text/ParentWithTwoChildren.typ}: Code, output and assignment text for Java assignment #15
java/state.sql: Update for Java assignment #15
java/template.typ: Allow for long program description to be left aligned
and justified, instead of centered
java/tobedone: Update to show assignment numbers (implicitly `rowid`)
Diffstat (limited to 'java/output')
-rw-r--r--java/output/ParentWithTwoChildren.typ9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/output/ParentWithTwoChildren.typ b/java/output/ParentWithTwoChildren.typ
new file mode 100644
index 0000000..de253ec
--- /dev/null
+++ b/java/output/ParentWithTwoChildren.typ
@@ -0,0 +1,9 @@
+#import "/template.typ": highlight-output
+#highlight-output[```
+Parent: ID: 1, Name: John Doe, Address: 123 Main St.
+ChildOne: ID: 2, Name: Jane Doe, Address: 456 Elm St.
+    Marks: 85
+ChildTwo: ID: 3, Name: Mike Smith, Address: 789 Oak St.
+    Qualification: B.Tech, Salary: 50000.0
+```]
+