From db6b2a2a6e38dc77357212c0c616785c5ed7ae10 Mon Sep 17 00:00:00 2001 From: Sage The DM Date: Sat, 23 Nov 2024 21:34:00 +0100 Subject: [PATCH] help me lord --- .../abstractAufgabe/.vscode/settings.json | 7 +++ Code/Steiner/abstractAufgabe/README.md | 18 ++++++++ Code/Steiner/abstractAufgabe/bin/App.class | Bin 0 -> 558 bytes Code/Steiner/abstractAufgabe/bin/Auto.class | Bin 0 -> 1012 bytes Code/Steiner/abstractAufgabe/bin/Boot.class | Bin 0 -> 1011 bytes .../abstractAufgabe/bin/Fahrzeug.class | Bin 0 -> 454 bytes Code/Steiner/abstractAufgabe/src/App.class | Bin 0 -> 405 bytes Code/Steiner/abstractAufgabe/src/App.java | 10 +++++ Code/Steiner/abstractAufgabe/src/Auto.class | Bin 0 -> 903 bytes Code/Steiner/abstractAufgabe/src/Auto.java | 12 ++++++ Code/Steiner/abstractAufgabe/src/Boot.class | Bin 0 -> 902 bytes Code/Steiner/abstractAufgabe/src/Boot.java | 11 +++++ .../abstractAufgabe/src/Fahrzeug.class | Bin 0 -> 367 bytes .../Steiner/abstractAufgabe/src/Fahrzeug.java | 14 ++++++ .../geometryAbstarct/.vscode/settings.json | 7 +++ Code/Steiner/geometryAbstarct/README.md | 18 ++++++++ Code/Steiner/geometryAbstarct/bin/App.class | Bin 0 -> 1238 bytes Code/Steiner/geometryAbstarct/bin/Form.class | Bin 0 -> 598 bytes Code/Steiner/geometryAbstarct/bin/Kreis.class | Bin 0 -> 1335 bytes .../geometryAbstarct/bin/Position.class | Bin 0 -> 787 bytes .../geometryAbstarct/bin/Rechteck.class | Bin 0 -> 1427 bytes Code/Steiner/geometryAbstarct/src/App.java | 24 +++++++++++ Code/Steiner/geometryAbstarct/src/Form.java | 17 ++++++++ Code/Steiner/geometryAbstarct/src/Kreis.java | 18 ++++++++ .../geometryAbstarct/src/Position.java | 30 +++++++++++++ .../geometryAbstarct/src/Rechteck.java | 21 +++++++++ Code/Steiner/giroKonto/.vscode/settings.json | 7 +++ Code/Steiner/giroKonto/README.md | 18 ++++++++ Code/Steiner/giroKonto/bin/App.class | Bin 0 -> 902 bytes Code/Steiner/giroKonto/bin/Konto.class | Bin 0 -> 1789 bytes Code/Steiner/giroKonto/src/App.class | Bin 0 -> 727 bytes Code/Steiner/giroKonto/src/App.java | 16 +++++++ Code/Steiner/giroKonto/src/Konto.class | Bin 0 -> 1575 bytes Code/Steiner/giroKonto/src/Konto.java | 40 ++++++++++++++++++ .../simpleCalender/.vscode/settings.json | 7 +++ Code/Steiner/simpleCalender/README.md | 18 ++++++++ Code/Steiner/simpleCalender/bin/App.class | Bin 0 -> 833 bytes .../simpleCalender/bin/SimpleCalendar.class | Bin 0 -> 883 bytes Code/Steiner/simpleCalender/src/App.class | Bin 0 -> 662 bytes Code/Steiner/simpleCalender/src/App.java | 14 ++++++ .../simpleCalender/src/SimpleCalendar.class | Bin 0 -> 666 bytes .../simpleCalender/src/SimpleCalendar.java | 15 +++++++ 42 files changed, 342 insertions(+) create mode 100644 Code/Steiner/abstractAufgabe/.vscode/settings.json create mode 100644 Code/Steiner/abstractAufgabe/README.md create mode 100644 Code/Steiner/abstractAufgabe/bin/App.class create mode 100644 Code/Steiner/abstractAufgabe/bin/Auto.class create mode 100644 Code/Steiner/abstractAufgabe/bin/Boot.class create mode 100644 Code/Steiner/abstractAufgabe/bin/Fahrzeug.class create mode 100644 Code/Steiner/abstractAufgabe/src/App.class create mode 100644 Code/Steiner/abstractAufgabe/src/App.java create mode 100644 Code/Steiner/abstractAufgabe/src/Auto.class create mode 100644 Code/Steiner/abstractAufgabe/src/Auto.java create mode 100644 Code/Steiner/abstractAufgabe/src/Boot.class create mode 100644 Code/Steiner/abstractAufgabe/src/Boot.java create mode 100644 Code/Steiner/abstractAufgabe/src/Fahrzeug.class create mode 100644 Code/Steiner/abstractAufgabe/src/Fahrzeug.java create mode 100644 Code/Steiner/geometryAbstarct/.vscode/settings.json create mode 100644 Code/Steiner/geometryAbstarct/README.md create mode 100644 Code/Steiner/geometryAbstarct/bin/App.class create mode 100644 Code/Steiner/geometryAbstarct/bin/Form.class create mode 100644 Code/Steiner/geometryAbstarct/bin/Kreis.class create mode 100644 Code/Steiner/geometryAbstarct/bin/Position.class create mode 100644 Code/Steiner/geometryAbstarct/bin/Rechteck.class create mode 100644 Code/Steiner/geometryAbstarct/src/App.java create mode 100644 Code/Steiner/geometryAbstarct/src/Form.java create mode 100644 Code/Steiner/geometryAbstarct/src/Kreis.java create mode 100644 Code/Steiner/geometryAbstarct/src/Position.java create mode 100644 Code/Steiner/geometryAbstarct/src/Rechteck.java create mode 100644 Code/Steiner/giroKonto/.vscode/settings.json create mode 100644 Code/Steiner/giroKonto/README.md create mode 100644 Code/Steiner/giroKonto/bin/App.class create mode 100644 Code/Steiner/giroKonto/bin/Konto.class create mode 100644 Code/Steiner/giroKonto/src/App.class create mode 100644 Code/Steiner/giroKonto/src/App.java create mode 100644 Code/Steiner/giroKonto/src/Konto.class create mode 100644 Code/Steiner/giroKonto/src/Konto.java create mode 100644 Code/Steiner/simpleCalender/.vscode/settings.json create mode 100644 Code/Steiner/simpleCalender/README.md create mode 100644 Code/Steiner/simpleCalender/bin/App.class create mode 100644 Code/Steiner/simpleCalender/bin/SimpleCalendar.class create mode 100644 Code/Steiner/simpleCalender/src/App.class create mode 100644 Code/Steiner/simpleCalender/src/App.java create mode 100644 Code/Steiner/simpleCalender/src/SimpleCalendar.class create mode 100644 Code/Steiner/simpleCalender/src/SimpleCalendar.java diff --git a/Code/Steiner/abstractAufgabe/.vscode/settings.json b/Code/Steiner/abstractAufgabe/.vscode/settings.json new file mode 100644 index 0000000..e112a70 --- /dev/null +++ b/Code/Steiner/abstractAufgabe/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/Code/Steiner/abstractAufgabe/README.md b/Code/Steiner/abstractAufgabe/README.md new file mode 100644 index 0000000..7c03a53 --- /dev/null +++ b/Code/Steiner/abstractAufgabe/README.md @@ -0,0 +1,18 @@ +## 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/Code/Steiner/abstractAufgabe/bin/App.class b/Code/Steiner/abstractAufgabe/bin/App.class new file mode 100644 index 0000000000000000000000000000000000000000..b3142edabe33f63cd957e6def68144cdf8f7f99e GIT binary patch literal 558 zcmZut$xZ@65Pgl{3?nMCx#GUy68Qj^L`^u2deD#guYuRDFKEe*ic@%|S|G=;-m$L0Tbyr=NAbqr-OnJh(HhL}7T}hBi6mP;IlR zkUoiSjE5m)bI4#=VcfT&IqNB)UQFAB(x?)l<2KC||1l#?`rsXW@gvp)(n~Eeti6k<8@Eiu%I+@L z+m(&51fGmH22yn3q_2C}J5alqs>l NinSlt>+Gbk@eSr%VoLx3 literal 0 HcmV?d00001 diff --git a/Code/Steiner/abstractAufgabe/bin/Auto.class b/Code/Steiner/abstractAufgabe/bin/Auto.class new file mode 100644 index 0000000000000000000000000000000000000000..061d84595e76bbce4bca6be4c897705f5adb9831 GIT binary patch literal 1012 zcmaJl!h3zVpepx^2T4@EU;P(sKL@`7YtR^)0;L`w8*s{!!-Ps!aCH?^a zfIifu55D;3k22m}NZd+eHajzS=FFLM&%M8XpZ);w3{MOs7*fvztqi0XG7UcPK8c{u zkbde&NAEGL7Mn->m{(mc`_-2A9NDjx+H|X~dcs5!SqlqDGvu0%6#K!bBfJCNaRo!Z zsk+>4bI%Fm*=9-)9H01`;j1;`k$e-mRIsC}??|mC&4Q0=CKxs>T)|c1?F+phJ-bpY&8L?qbFN$1#0`e^5g&@W zl3lLfJ9 z;sN4nZ$O^Ts)YJ#X0Z~G5p)kk?87L-0K-dox5(!(V~`1qnJUJVe2LL z?J#kh*@r*B3_NY~;Lz>~&!$px-xn1I>$Q}^tGi+78+gF5J!issX&HFLu=#&z*qo6E zR5|J?Y6c)dE9!C@4T|J{xTttpIsG7JG z<6?BS^bPs)2`-=F8gK&pUsjWDF46~Li|{knB(`ZUfgRkYIYVc6>961(MPbk1$3r~E F#vf)3`$+%* literal 0 HcmV?d00001 diff --git a/Code/Steiner/abstractAufgabe/bin/Boot.class b/Code/Steiner/abstractAufgabe/bin/Boot.class new file mode 100644 index 0000000000000000000000000000000000000000..ac5a8cf8b5e5dedf0ee6e4c773d4ec18a0908873 GIT binary patch literal 1011 zcmaJ<%W@Jy6g>@ufpL^bUdBh9D2YH6d~Zgx5Gxg{Fj_^5EL=6vfeFJjHPghxFYyEX z0bRtZEZn&BqbzR^R5=mKML%x$xu?%PeSiHv{{i47o*PIoq+Us>45Sz`d%PEX5~D6d z`i1MeYL{W9SU=&Xyy|hkTWzSo^}9}~Nm(`75hjwzT3A4uAy;>OaWERRL~zJko?yt= zWt)3V9=JN59;Q^!4T-<5Uv-Gb=Yt44^9qB}5+6lZ_zcNnshPzRRtzjNEXJ_oP>F$s zRjd(8jua`L2zF)lJ*icsS@3~lf??glb=)A{u22Wjv&+TOY^PNOiK{U# zMt6(fkT0L%+Bt3lXR!Ze%~GZrv09W#_$g}=TNEX*jeE3a=9s>!b{UlGLJ!U!{r0#DyQ=M;T9B zhzk~TpXZ!=XXfYk>l?r|PF+}n+E~rg7rlvHID+;9HAo!+Z( zSqxf7Y8j~1z{*!*WHWYAqpdR=vu@FQ!%v>`4>aDGS!mHV3uXlld3AEytR0tV9HPUF ryh2r|c7*O$b3`xfRfg|qyfP@|szuQ&Wc(6P%J64;@QD-3=jf9^JE~BI literal 0 HcmV?d00001 diff --git a/Code/Steiner/abstractAufgabe/src/App.class b/Code/Steiner/abstractAufgabe/src/App.class new file mode 100644 index 0000000000000000000000000000000000000000..a51d41adbe4de97e64be2b257445009cd4bcefa8 GIT binary patch literal 405 zcmZut%SyvQ6g`tiCyiBW?L%v;xQh?$(uE>av8$?!7NNMB#34*+CnY5MU2Yn%;0O3o z;vF~LI0N@_IOiVj{r>s<0&s~V9~-E1G(0qYSZHzVdD!>iqGkHFsoER|936(zwbClP zVX%XfX9njkd6f*?L#5?oJ`ZI&7U7H#XD*axXa+CCsdy8;nb2`>l%-0?S4QZMl01#% zKpC>vUo0*Rt%3?RN!-t~gn>k&=5B;b&*i#q7e@X(=w3^l?n?EV5?zC|Pe literal 0 HcmV?d00001 diff --git a/Code/Steiner/abstractAufgabe/src/App.java b/Code/Steiner/abstractAufgabe/src/App.java new file mode 100644 index 0000000..b9da557 --- /dev/null +++ b/Code/Steiner/abstractAufgabe/src/App.java @@ -0,0 +1,10 @@ +// Hauptprogramm App +public class App { + public static void main(String[] args) { + Auto auto = new Auto("Ferrari"); + Boot boot = new Boot("Titanic"); + + auto.bewegen(); + boot.bewegen(); + } +} diff --git a/Code/Steiner/abstractAufgabe/src/Auto.class b/Code/Steiner/abstractAufgabe/src/Auto.class new file mode 100644 index 0000000000000000000000000000000000000000..ef28a1730d0fabdf4988976cd8b24ae2bb37b215 GIT binary patch literal 903 zcmaKq&2G~`5Xb+UG;wSU3H_jykK&fJBxyNdf)&z9ttr|B9W4agV(#WGynO`?ELzD{vE(0JhWh-VB#v4Eo8B>OxAS^ z*Rf&XhJl+5*~gyr^b>})QtO1D@|w@3TWjmklWx8IhGD6pdV(R}@}xM3gN_J~c*iG; z(Gl;3DSX{=Q>5wwwmY2cQP+t{>m2M$BwnNm8^As@aHy03as zK8vj!wr$)+(ZG(4U6_Tob?GL7gC7 zp$~XKM60Fpe1R73p~O&p&LbyD<}l~@=f@wP`=NGteC+f@=#UnVB2i^n5BNYdlN}_IcdRtBKljXCr{NtOrK;g(Cws zdcc-agLuebzm!sh4L^Y;q))R*Q;kWtUvSy;MO2&w*5@&2EEfWgMnkc{{oRcJVdq42 zb$zzgQ;7!m{kEq?-M|Beow@oJu`z7^-w#_f)dmeUkOEB#Oj<2EZPPhL|7>ON8`u}x zFI#Nz)0N^d^4lUf;%$#2 zMq8YVo{$X5Vl1>;DhfKH;l_*RbER}8Hnfp}Y2coX``EDY01iVgUJZ4?hp&b1t8SQ0 zV>5#-8`~%t*s-w-lS;=jhD?L^gAXF=QQ{2ZDAdBI;wmCdegf~R>RTe$#4osCBgmf6 zhukNk)naLWgBJEsWY~VeLnkigFz4jw#~+{jfp&Ow;&g@Y9P=;~L4{$>=L1n!vcvVU ztNSzxHJ3VM*j?1S`DzR+WB#j@1UZbEJ!zm6cieI&9LVHt0?R3D8A>NneX*TQpD5KV9Dc2KI$U z4AzLF0q5Cqo$(>|-6P MG|!M{p59x3011odIRF3v literal 0 HcmV?d00001 diff --git a/Code/Steiner/abstractAufgabe/src/Boot.java b/Code/Steiner/abstractAufgabe/src/Boot.java new file mode 100644 index 0000000..f1fa05a --- /dev/null +++ b/Code/Steiner/abstractAufgabe/src/Boot.java @@ -0,0 +1,11 @@ +// Klasse Boot +public class Boot extends Fahrzeug { + public Boot(String name) { + super(name); + } + + @Override + public void bewegen() { + System.out.println("Das Boot " + getName() + " fährt auf dem Wasser."); + } +} \ No newline at end of file diff --git a/Code/Steiner/abstractAufgabe/src/Fahrzeug.class b/Code/Steiner/abstractAufgabe/src/Fahrzeug.class new file mode 100644 index 0000000000000000000000000000000000000000..6e19196afcd44b421e73198dcfd87511e049b1e5 GIT binary patch literal 367 zcmZXPy-veG5QJx)!;XzfLP$yqI>$()qyW(%rHVokM1Kw^<0!dEmJJe51ri8}f(PKC z5OWqkMVi^Y-TC%*Kfm5T0GwhNL18~c3;h5G0R{qP_1Xyf)1|)G zd0~s{LNH9W+oK!8mz!I{-DzRXtX^lPyw=%@l^{3OtQkB=M%ye6nRzg|v4U3OCPnj2 zT`tU|aP;0p-<6N1&QIJ@F#>dA?7$bae>;NS|H4<<(kv=<#Jd#l6nM_fti?P)n;P 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/Code/Steiner/geometryAbstarct/bin/App.class b/Code/Steiner/geometryAbstarct/bin/App.class new file mode 100644 index 0000000000000000000000000000000000000000..bae093585ef1443c2125fa5b903ce23a4decbe1f GIT binary patch literal 1238 zcmZuw+iuf96r637+A$`WgtpuYDcAG@fpRC@p+Lcf(n1hIJUH%>E+ls3I6(OxegK40 z1QIX2A@MixikNj0DnuW=yJz>D*_qkn@4r8P1#l6M3=9YiUTroFqy(H7-Yc(E_kvpK ze)Wa)V}YRyDp2tyCKV?t0;%iava~RWjEyvg1h%*;koVe+s*E0b)w&eOxuNgXD_*2@ z+}ljWE2<@sc6n8qFbz)y0wcwz?)sHWaioG;Szlw#zVT%rVUK>MgLoG;|Pul7)=dXr-j2C@SLbv5IAPzIA)mpRw{ob z;LB_)x`|z7x38UMn>ZcP%SCTlwb>J?BD1vhvo>yOglsS2 zRusxsOPaX-*RjC!R}#xAGWzyT!_YB8cu|c=`3<^>gc_@fYOZ?nsid*mw?ND4uPG~! z1se}^XPZ6W0?loKX-i={^5spXo7`j{AJt8Xaaujdp9vhP8ABWmMkUUIb9!oxRf%+hn>g0 z!~*stceF#ZoCi2(COf!4)xqLAfouXa%h AI{*Lx literal 0 HcmV?d00001 diff --git a/Code/Steiner/geometryAbstarct/bin/Form.class b/Code/Steiner/geometryAbstarct/bin/Form.class new file mode 100644 index 0000000000000000000000000000000000000000..1a8b3f1b47e953647b7b254c68395d2f3f4d4fd4 GIT binary patch literal 598 zcmZWlTT2^37(J7nWV3O-*2YV`Um!`ry!cdGUj!i#v|tJNxQSyNNp@vjMGO5;3W{K% zKcGLVc)n3l@L^`Y%lXbZ-~9Xk_!q!;toz6*=-nh8_|OVtr_p89=tps{vEMm0-Ao~W z9HkwjFwuJJ9b~DEds_;{v*g@nHi;EVtsgHj>xFMNw%NAARQ2Onvsr6XbSF77C3qMP z5nx2YtJc~9=pjTN1s@Znf2Ay89Fv0kOhZ*65ad({A4P@HmW|Ec#h_!-pHZjp%qHEa z-;Po%`Abn}C-$7)TCy%psw9}g`aq@rfUy4M9;1ISemFP(fKOj_ zeMaA-eCueYd6!8Ak_lBnvPs^vq?%!M)AcIME6hmfWR;8NFi#^=TVUjI&c`C>HBBr* ntcsNeU%}_=cPQU5$U#I4t~l&O!e_vFhleDBEnW1Jnl<`aa4K2kg z9{d15%JTM1kWf%Q%=GQs=Pu_izyBQm0&ow{3`7{(o_j+224W1cW!I}Q#64b?b)SJ1 z=&~pssqQljri(j#pU+jfvpu(_Jn3xb3WY*ugY5EdS(u0-VZngKFmNU|v(W*DP77^_ zGjtWDBVN{PTf$rCTUEi(TXajjy1_lE?@eV)RV1Zi6oWK#l=xZ<} zxp2zD6R(?0V(B2!wpyd$D2DdWLY69ya2TR#oz@u68yIKkZt>ahm8e;;F+nJ|PG+gF z0@9sZCHjhrAb2fj5~+(8CNag3*cNKl^`(+7`L@!T;?a#@myt1$rszjH3t3E4`N-&P zkV!#I|fHCr*K25I4;j9+25zE5hb!DESA{=Wblu(hUhXu-7R?F6 z^~Rn!1OC1R|7vSTlvJ*@ZcP_?UahW4C30PHEVd)hu<$ON7&~BZbH}FfvX2^Rr`e3n zGImWW(%0;8fow)2P;eaK<*VHH1ufY!!_=v|oW<0@3d8vSp|qS~SujB(7^O*Ji0I`a zDN3?|cKUbFt%4ZofzIso=-5w~*;MQYl3z&^L6_DC)@@`FN0R>Cq?->d&;vb#8q2RHB=mf^UVKjSy3kSFq9y3`AaELkJ05^_l^%5RLu!kZH(>WGMfE9Xa#){$& ap(4189G$vkkLX*%W4h_xeuAecVCXLeAT3+~ literal 0 HcmV?d00001 diff --git a/Code/Steiner/geometryAbstarct/bin/Position.class b/Code/Steiner/geometryAbstarct/bin/Position.class new file mode 100644 index 0000000000000000000000000000000000000000..e248c1af0b4ccd2d5145496df9bcd3560be32f66 GIT binary patch literal 787 zcmZ`$%TD7!5UfcYJ2)m}1IsIch22Z=fqVc9mz7qE6!8!!f};~g!6<7>iCN&ExFGS6 zIP3@TQHbiX2`dy1-R|k>sj4nNzdZc|u#F!Matg)$coZgK967KQD(Au9pg9PlesiyT zu6v1sx?;2#*9!K}Fbb0$g+im%+UO`)zv5HvA`j0)5z`9!#ztof3Ns!Gu%-Iq!GX zO@5rNzSMmkx#V5-u!tq8);!d(M9jnZV%XEaLm{7j!{3yZvCg?XZOJhxoEajUS)vHp z#AS8D37MPmA5rpa_bB`IdsJ@O%Av|!g~eQ8w)x0GnU81LSxcW`4qtg9fT2;Q5~3Ul z=CP2`H2Iagf`5nd4T}`qHqDX&^wNP0P|33Fh{hdG%O1AT_b$yfT_LU*g!y!8EXmF! zDJ)MEQu!!kcA^k^JxR!a9;HGSNVoWj5OG8tsE>_5pja`UraxfCuRq}1`(|ZxRU=@X a4y+i^)bP@HyHd6tAVNsI+ literal 0 HcmV?d00001 diff --git a/Code/Steiner/geometryAbstarct/bin/Rechteck.class b/Code/Steiner/geometryAbstarct/bin/Rechteck.class new file mode 100644 index 0000000000000000000000000000000000000000..bee1e958170c9dd36c75f9ad136e71fd87a64c98 GIT binary patch literal 1427 zcmaJ>+j0{}5IrNwS|P24ZwfdVvjzi_AUJ^}BoT3fl^6>II5A~zPa|n!EtYm%yCVvx z@*(++q=Hk$Ltc2}qo|zOl`3-VLaMEu?(I2!`gG5{d;jJi0N!p&#tj8vIqZ2~gJ^ zl}8$`iyS5eP8}Ou***b*lP)HZwX10t4zlz#{Xjh!^jj)?BwIaZooVW}>}|`?xAxGP zFbN#d%y{lpYv?Qlf;fS2ihwp%_Z`Yk5|5(ZwZP7AWi}v#BHB_?p;m zxzZe246ERZgDRUa^0~N*PpBd{J&Bn#Y|x5}Pe<;jGi=^<7dP-Z#qG;oRo6jVn#aEB zaupdF7)o=Rb+NLejmqOoeC6P#z-(OEVd^fv#y0}ao~@=w!lh%{XZxJr(u1(A)_vQf z$x$1wSx9QOrnQMoDEICw)770QkMD5X!S@2o|Hp>{Hh z)f|2lXg*7(##4UajYRNd;Bm&hQBS?Hxax_D*Y{2AUyIL^C%i$>i5(kn54y?|oQ_5i zsIcCX9L>nV2B+wVT*nFE;I6>pheLUO6Sc6!=}dEoQvCDy#VZ~@zSI1YgFTOVTE8I^ zd*`ZG7S8^SLba56jbgPl@fuTq#JlV$&M*p$bNHX+?pf}irDrwSi#e2Nf$xuSipX|# zn%`3KYMv|0WiDo7k>>10Kuh3boEb9tiP1KyP(5QAEF2la z5X0N#g&00X;02r=!as@A0q6h3V)X#a2Ph}6Yt_Fn#i#fNp8*H>;{RpOV4C?BDZ&zS k*|J??5^0z@jT)^KZt=PW#Sy6U`2p*+>?Lsr4cx>0zhI9&iU0rr literal 0 HcmV?d00001 diff --git a/Code/Steiner/geometryAbstarct/src/App.java b/Code/Steiner/geometryAbstarct/src/App.java new file mode 100644 index 0000000..07ff73d --- /dev/null +++ b/Code/Steiner/geometryAbstarct/src/App.java @@ -0,0 +1,24 @@ +public class App { + public static void main(String[] args) throws Exception { + Kreis myKreis = new Kreis("blau", 10, 5, 1); + Rechteck myRechteck = new Rechteck("gelb", 0, -12, 2, 5); + + System.out.println("Werte vor der modifizierung"); + zeichne(myKreis, myRechteck); + + System.out.println("modifikationen"); + myKreis.position.bewegen(12, -11); + myRechteck.position.bewegen(33, 12); + myKreis.aendereRadius(3); + myRechteck.aendereGroesse(23, 12); + + System.out.println("Werte nach der Veränderung"); + zeichne(myKreis, myRechteck); + + } + + private static void zeichne(Kreis myKreis, Rechteck myRechteck) { + myKreis.zeichnen(); + myRechteck.zeichnen(); + } +} diff --git a/Code/Steiner/geometryAbstarct/src/Form.java b/Code/Steiner/geometryAbstarct/src/Form.java new file mode 100644 index 0000000..6aeb824 --- /dev/null +++ b/Code/Steiner/geometryAbstarct/src/Form.java @@ -0,0 +1,17 @@ + +public abstract class Form { + protected String farbe; + protected Position position; + + public Form(String farbe, int x, int y) { + this.farbe = farbe; + Position tempPosition = new Position(x, y); + this.position = tempPosition; + } + + public Position getPosition() { + return position; + } + + protected abstract void zeichnen(); +} diff --git a/Code/Steiner/geometryAbstarct/src/Kreis.java b/Code/Steiner/geometryAbstarct/src/Kreis.java new file mode 100644 index 0000000..6572aad --- /dev/null +++ b/Code/Steiner/geometryAbstarct/src/Kreis.java @@ -0,0 +1,18 @@ +public class Kreis extends Form { + private int radius; + + public Kreis(String farbe, int x, int y, int radius) { + super(farbe, x, y); + this.radius = radius; + } + + public void aendereRadius(int myInt) { + this.radius += myInt; + } + + @Override + public void zeichnen() { + System.out.println("Zeichne Kreis an der Position (" + getPosition().getX() + ", " + getPosition().getY() + + ") mit dem radius " + radius); + } +} diff --git a/Code/Steiner/geometryAbstarct/src/Position.java b/Code/Steiner/geometryAbstarct/src/Position.java new file mode 100644 index 0000000..2ed9c0c --- /dev/null +++ b/Code/Steiner/geometryAbstarct/src/Position.java @@ -0,0 +1,30 @@ +public class Position { + int x; + int y; + + Position(int x, int y) { + this.x = x; + this.y = y; + } + + public int getX() { + return x; + } + + public void setX(int x) { + this.x = x; + } + + public int getY() { + return y; + } + + public void setY(int y) { + this.y = y; + } + + public void bewegen(int x, int y) { + setX(x); + setY(y); + } +} diff --git a/Code/Steiner/geometryAbstarct/src/Rechteck.java b/Code/Steiner/geometryAbstarct/src/Rechteck.java new file mode 100644 index 0000000..22d7a6b --- /dev/null +++ b/Code/Steiner/geometryAbstarct/src/Rechteck.java @@ -0,0 +1,21 @@ +public class Rechteck extends Form { + private int hoehe; + private int breite; + + public Rechteck(String farbe, int x, int y, int hoehe, int breite) { + super(farbe, x, y); + this.hoehe = hoehe; + this.breite = breite; + } + + public void aendereGroesse(int hoehe, int breite) { + this.hoehe = hoehe; + this.breite = breite; + } + + @Override + public void zeichnen() { + System.out.println("Zeichne ein Rechteck an der Position (" + getPosition().getX() + ", " + getPosition().getY() + + ") mit der Breite " + breite + " und der Höhe " + hoehe); + } +} diff --git a/Code/Steiner/giroKonto/.vscode/settings.json b/Code/Steiner/giroKonto/.vscode/settings.json new file mode 100644 index 0000000..e112a70 --- /dev/null +++ b/Code/Steiner/giroKonto/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/Code/Steiner/giroKonto/README.md b/Code/Steiner/giroKonto/README.md new file mode 100644 index 0000000..7c03a53 --- /dev/null +++ b/Code/Steiner/giroKonto/README.md @@ -0,0 +1,18 @@ +## 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/Code/Steiner/giroKonto/bin/App.class b/Code/Steiner/giroKonto/bin/App.class new file mode 100644 index 0000000000000000000000000000000000000000..b468243643309e30da1e9bc9846e420d944bf4c5 GIT binary patch literal 902 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 ShR?7^*;lyFasM`dSN{Q&gl8lG literal 0 HcmV?d00001 diff --git a/Code/Steiner/giroKonto/src/Konto.java b/Code/Steiner/giroKonto/src/Konto.java new file mode 100644 index 0000000..bf9ac24 --- /dev/null +++ b/Code/Steiner/giroKonto/src/Konto.java @@ -0,0 +1,40 @@ +public class Konto { + private String kontonummer; + private double kontostand; + + public Konto(String kontonummer, int kontostand) { + if (kontonummer.length() == 10) { + this.kontonummer = kontonummer; + this.kontostand = kontostand; + } else + System.out.println("Es ist fehler beim erstellen des Konto aufgetreten"); + } + + public String getKontonummer() { + return kontonummer; + } + + public double getKontostand() { + return kontostand; + } + + public void abheben(double betrag) { + if (kontostand >= 0) { + this.kontostand -= betrag; + } else + System.out.println("Fehlermeldung #1225"); + } + + public void einzahlen(double betrag) { + if (kontostand >= 0) { + this.kontostand += betrag; + } else + System.out.println("Fehlermeldung #5221"); + } + + @Override + public String toString() { + return "Konto [Kontonummer=" + kontonummer + ", Kontostand=" + kontostand + "CHF]"; + } + +} diff --git a/Code/Steiner/simpleCalender/.vscode/settings.json b/Code/Steiner/simpleCalender/.vscode/settings.json new file mode 100644 index 0000000..e112a70 --- /dev/null +++ b/Code/Steiner/simpleCalender/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/Code/Steiner/simpleCalender/README.md b/Code/Steiner/simpleCalender/README.md new file mode 100644 index 0000000..7c03a53 --- /dev/null +++ b/Code/Steiner/simpleCalender/README.md @@ -0,0 +1,18 @@ +## 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/Code/Steiner/simpleCalender/bin/App.class b/Code/Steiner/simpleCalender/bin/App.class new file mode 100644 index 0000000000000000000000000000000000000000..f17a1efed262720dc8ad4bc8a97249ce8fe4698f GIT binary patch literal 833 zcmZuvT~8B16g^W~cDq(6EmTFs#m|;1RS_RRO$b6l(x^$XiScRLos_}-XtuLPeepNx zLrFC82l%6mXIr&4^00HiX74%o-1+hI>vsT8@W?_&U}m@9w~!Smp2&By;mfesc+ojg zT_Z62Sclp?<)vz^Es))dJmp{p`2up76_{`8P(4qAj*5?D$5#TSX4I8_TgEz#em-ZcU9l$C>&TQ36v+d{#Gn33e2^1(D&7z z^i}A|*g+ZjJTBmpg^N@3v_1@s3JO@pWzG^M9BpZgt)s?E0vp0B8SL1&BCxXi)+EaJ z)xdowO%k|C=((?sZd(@4!Kl4YsQr6%>r)WHfi>h zIf&vw8lyboQN+b+?f<_l)F|&rio|HY@$c020`A~0N0XjMovVk3wYH6hz`}R{9lBfY zk?g5(oAS%J$8D6)P@j?xrX(f3=CsJ%pVNwxxT_9yx^SC2-AGws4J5#a1!U;)eekpx zHE0EGZv7PY=TX_=nU=xt9M8h|0_}N5dCXy+O^WohtSpS$d}8wqGn?N~etpXQeLb5<^dYa#u%1=O7N3F83316hY3M&&s;x1`s0CtzL7FsTQqzQ(7^mH#U9#OZ%a(+@ z(mzT}^a8vLFU0unc9HhSp7+e0Ip;iQc7Ff;@e9BX8YWT#*E-JVv#a)`t2|oH-Q@Xfg`=k0|Lgj<2m83K)PD%3TS)2t+GgCE(aZkz+&6+)Z6i>r-Jvg z=PH3h+wV)aD_Mu@WK#==&Z$7YJqys})X! zrimrizGA&Z%tBx}hZPjb$XaBqwrZ^mt_xH)A3w3{iFs7pwziM>YJ5l{G zixMg($^uJQp_Uh_feLb1!)*ccOuA!rcr38WR#T|Sv1S%`aL>funevl4a@fEouk|<{ zS>Q!=DnA+Z!_?LUsyW>yImJQGl?((#OF$p_UO40p*z%l#p+9E87&+cJx=`a(^?lD4 z$aWa$t9>W>QOmRcq8^P)a2DZ<0aEn%i)l@+8dO2mt?$Tujl)^mC=4dd)8-}zs0&>2 zv0;%mO8&z_k=mB_4TWt>r`0~~SQ+ZBm7k|P)2w_hQr*fgL~0aP^TtoyI7(M8aI15q zm1EIMu^2@yRtyO{{WV5w=e(z literal 0 HcmV?d00001 diff --git a/Code/Steiner/simpleCalender/src/App.class b/Code/Steiner/simpleCalender/src/App.class new file mode 100644 index 0000000000000000000000000000000000000000..a7e07ef955c63f31f4b4255c867164828034d41d GIT binary patch literal 662 zcmZuuZBG+H5Pr6Ad#xuHq(zXI0~N1SZGs^rKu8EmLeeNnk%ahZ+uM}IyS>YG=O zKa@lhe*iyW|txFH%=G|`*9!{9<`O0AF`+`(__&M2`NNEX@XcOdneA)o;*-C+1X2yH#W_Mi-!yo9Tg>^+!vwLfk-)? zxpfSkVdDhLuwQCV4$SV4>;&Bw$TRZA zwF|JH6wtSkE!}_&WmGXqDVEwpo+9AwALLFikZ=D&VX8PpiF|ViPEpfwhHxxi9>Yh4 j7s07S0S>jOQanexJW}S9rgc&^b@NK=Apz4A=TN%_Nx_Tw literal 0 HcmV?d00001 diff --git a/Code/Steiner/simpleCalender/src/App.java b/Code/Steiner/simpleCalender/src/App.java new file mode 100644 index 0000000..320ed65 --- /dev/null +++ b/Code/Steiner/simpleCalender/src/App.java @@ -0,0 +1,14 @@ +public class App { + public static void main(String[] args) throws Exception { + + SimpleCalendar simpleCalendar = new SimpleCalendar(); + // Aktuelles Datum und Uhrzeit formatieren und ausgeben + System.out.println("Aktuelles Datum und Uhrzeit:"); + System.out.println(simpleCalendar.getFormattedDate()); + + // Zeit manipulieren + simpleCalendar.add(SimpleCalendar.DAY_OF_MONTH, 5); + System.out.println("Datum in 5 Tagen:"); + System.out.println(simpleCalendar.getFormattedDate()); + } +} diff --git a/Code/Steiner/simpleCalender/src/SimpleCalendar.class b/Code/Steiner/simpleCalender/src/SimpleCalendar.class new file mode 100644 index 0000000000000000000000000000000000000000..695b2d01ef40ac9cf486ab7a922ecd0be175c327 GIT binary patch literal 666 zcmY*X+fLg+6r4?LuWOvtTtZ88A-ze7RS|?Ls+N=&s-Q>_c?hb6`qB+vEF;IMtPNkn zhtQXTklGLEN1>iIfw+E{**%)GJ9E5$?{5D9_<+|A3Rvb?abRQB#u`V(!8)Efc#aK@ z7YtT6N+Pw-P;9loG8hNbKr%cXM2S3_O~x`k7UP&IUMN*>nofjLGWa4CmDXDA!MV5) zomeDcXQa|73HKPB(R7xc%3h?~R!7m~M=TFSER#T_TUzhp2^@xM);m*C+&N5TI87sw zJm_3hQDdmT-QEed=I}mf>eZ)5AXAI$hvRd3syON{8rbA$x_F6K4CVg~P)-U$Ia~d9 zpJ91%KtEA3lqmzh5b;b7&luK8luI~QP{iE5_pxb?XW4KVKDKf#^PzmpmF|u1<+SQ2}vFTrf{iFqhOK4@qB4G(-LM^?72~HgN#xE4RzDa0&|Lohu z`@XkCv}^dDtJ(Cul4fhg@T}i3Pm1*$Sfdl8mXTS_$f_6_^NN|VU9mLZfL}d2X=Ha= a