Skip to content

Instantly share code, notes, and snippets.

@matiit
Created July 24, 2017 08:41
Show Gist options
  • Save matiit/65971211e5781dc4873e248c6b558b04 to your computer and use it in GitHub Desktop.
Save matiit/65971211e5781dc4873e248c6b558b04 to your computer and use it in GitHub Desktop.
package com.matiit.learn;
public class Variables {
public static void main() {
int a;
int b;
a = 10;
b = 10;
int c;
c = a+b;
int d;
d = c*b;
System.out.println(c);
System.out.println(d);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment