summaryrefslogtreecommitdiff
path: root/variables.java
diff options
context:
space:
mode:
Diffstat (limited to 'variables.java')
-rw-r--r--variables.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/variables.java b/variables.java
new file mode 100644
index 0000000..5c1803c
--- /dev/null
+++ b/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