From 5e587fc926cdfa259ff1db7d413cc28703d764f3 Mon Sep 17 00:00:00 2001 From: Maximilian Date: Mon, 8 Apr 2024 17:54:15 +0200 Subject: [PATCH] =?UTF-8?q?Aufgabe=20gel=C3=B6st?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 ----------------- bin/Console.class | Bin 0 -> 1169 bytes bin/DemoConsole.class | Bin 0 -> 1648 bytes bin/Unterzaehler.class | Bin 0 -> 861 bytes bin/Verbraucher.class | Bin 0 -> 445 bytes bin/Zaehler.class | Bin 0 -> 1049 bytes bin/ZaehlerUI.class | Bin 0 -> 2436 bytes src/Console.java | 29 +++++++++++++++++++++++++++ src/DemoConsole.java | 18 +++++++++++++++++ src/Unterzaehler.java | 21 ++++++++++++++++++++ src/Verbraucher.java | 13 +++++++++++++ src/Zaehler.java | 30 ++++++++++++++++++++++++++++ src/ZaehlerUI.java | 43 +++++++++++++++++++++++++++++++++++++++++ 13 files changed, 154 insertions(+), 18 deletions(-) delete mode 100644 README.md create mode 100644 bin/Console.class create mode 100644 bin/DemoConsole.class create mode 100644 bin/Unterzaehler.class create mode 100644 bin/Verbraucher.class create mode 100644 bin/Zaehler.class create mode 100644 bin/ZaehlerUI.class create mode 100644 src/Console.java create mode 100644 src/DemoConsole.java create mode 100644 src/Unterzaehler.java create mode 100644 src/Verbraucher.java create mode 100644 src/Zaehler.java create mode 100644 src/ZaehlerUI.java diff --git a/README.md b/README.md deleted file mode 100644 index 7c03a53..0000000 --- a/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## Getting Started - -Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code. - -## Folder Structure - -The workspace contains two folders by default, where: - -- `src`: the folder to maintain sources -- `lib`: the folder to maintain dependencies - -Meanwhile, the compiled output files will be generated in the `bin` folder by default. - -> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there. - -## Dependency Management - -The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies). diff --git a/bin/Console.class b/bin/Console.class new file mode 100644 index 0000000000000000000000000000000000000000..f79a595a7293317e8bec5caff4fddd4cbf64c46e GIT binary patch literal 1169 zcmZvbTT|0e5Xb+g7t)46F{Le_A`~wz73vKYi)iWK$XI2@I?SL?hxSl{X@Vhf;aq-$AyTm$LPZ#H4N(j*B&vobUU{u8;k@BnreM&kcAc9W z+%e=mP)6JxW1k^j4bqhuR7dbe&2oc6IHK{I;KEUmW*9%Qtyz1XOKibg9djIGm{2g@_ww4ozAIW9F5(hH z$gmhvozi659-*Wng-O|kD-2_~b6xTqDw3F%PFX6x=hR7G>e#PpxP}Bnj0$VWc2d`+ zC>#QJx&05L-V8~f$_{tRj>8XVG`ak{ii!f}6x{58k>6wu^T;y{y7sA{K?zy0X#qGr zlxF-khC9S^9goIbz&#BMxK9O%4<0vZf~nvUrwWf@Zm8QH`^%vqQJ1%W@M(6g{oi$YQ`owg4vq1QA36gYs~kAQ2lQEFj20BF7FkkhDf!_TbTsYSgCi zJ|B^7R#_(tC*=hnkZ;L11Wro=No7?Q(~o;^-*eCD+w;$Vhpz!FqhTQ;aO{q11(m?> z1fH@G6PS7-U&^8<{q5qT#tY?Wfy7PMclDw`G+$U3h*g57N+F5~8*wBACTp&*9`3ao zDqNEdPYI-Jfg`~^O zGx@^N!)abp-bMje1Wvc)u3`d5>J3-#m{eN&nqpoa2YWP`sbkK@HC(6u2D-8%!{soP z`_w;Q*s3J)DLLF#p6V!Hb+Qiq*Q&~E_JsJ{#uu0uh2}g)8Ul-k;gXSWbBqQAlHoRKPLJsgIyJA%G~1vf`h6o1 zaU_SWia^pKtCsQ^DYz94ew&n`uBEfPD%;)ew6JVpb+moDEofndw^a}JLPu3y)7w)+ z?R(uI(?njnqeIzVReC3Ac2cP02McQgxj}8N|1#KB#a@ZM+pJ1Q2jRXEft~*A@MZR+ zdkODJzsak~)q-GmuU$S$c*rtxaBaV>#)J>c*?Z;XVfp(hD$?`nu2$vA1inw=iNMKs z9TH~Eb17v-5?dqY4HX)*fPLThRao(4r=$3Ap9@?%BE>jz7Je2u_y3{%CH0iR1@=&s zF9nEj#lI0pi@PFc!8v~AFC_oyx>FpD8~l!Ow0i-Zk8?MH6PRR@DXwGmoHS{~3@s*I z@F%9zvj_O_Z(OKxef1EZ0NfAkS69utNZZ_#QsVVOJh~A39n-UkOl*FUuCoXD?3b9x z#4_>U-uz3$0lqXRzUpSZ(G5AoH{GnJ;3!PNC6;B@Nfu@Pwr5yQmb)Aao@2xksZ=>X zrgxpO&q<;|56mU literal 0 HcmV?d00001 diff --git a/bin/Unterzaehler.class b/bin/Unterzaehler.class new file mode 100644 index 0000000000000000000000000000000000000000..43c7d02aa345dd8018800e5a31d273f15b05079b GIT binary patch literal 861 zcmbV~-)qxQ6vw}(O`5LFx^|nttva_s8^waJ6=4j8L6{HKJ_tVCrk6G&Cgt{K4F4t{ z6x4wa;>eGqaUN#(#IIB)X} zp_7)*mRiJ90-X?Q&%!v=&k6fI|4f{VK_ueYV5C(T&xZb3s)-V5Fqdk0(jOD7<76ru zsG{k@L45;+O&2z5ge^aesoy{k6U?E&{pGVG=JL+$9{WIv*R+ zX`)BzV!^iL^lzz|z&#f?ai485vl#QR!SmQN`CDv=^DEY?$(anax#uWJRUlu6WOk87u1D8cx zobz%4+UW3(rP#&}<4m-RYpgVpX;$Uzb=)Xg4ft)UZ0`%)j~wJJYFV+|-JhUOS4iy=sh*SCM`pHbq{D(_d*ATjDu(~S42(?t@IS@e JVL!th`~kUcm(2hG literal 0 HcmV?d00001 diff --git a/bin/Verbraucher.class b/bin/Verbraucher.class new file mode 100644 index 0000000000000000000000000000000000000000..0aa4c2e91c0f81400c6730e1ba7dafe25d8b0d3d GIT binary patch literal 445 zcmZWl%TB^T6g{_;R!V`2h--H(Ch`Fq6Jx@P-~!YAv`%11X_K+_yEMU=xbOq~DC6zW zL=qNr-{;&j_viQP8^Ap-Tv&u|EOnwqm9C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