diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:15 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:15 -0700 |
| commit | 3813621611945a0be23384c0c4d395b4c4a614ad (patch) | |
| tree | 1812fd440839272e7dd16f5635e180769a66f5f1 /java/variables.java | |
Diffstat (limited to 'java/variables.java')
| -rw-r--r-- | java/variables.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/variables.java b/java/variables.java new file mode 100644 index 0000000..5c1803c --- /dev/null +++ b/java/variables.java @@ -0,0 +1,10 @@ +public class variables { + public static void main(String[] args) { + int x = 8; + int xy = 16; + int y = 32; + System.out.println((x+3)*200); + System.out.println(xy); + System.out.println(y); + } +}
\ No newline at end of file |
