Skip to content

Instantly share code, notes, and snippets.

@hakaneroztekin
Last active September 10, 2019 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hakaneroztekin/4e75cd61036127d7799affaadabdc575 to your computer and use it in GitHub Desktop.
Save hakaneroztekin/4e75cd61036127d7799affaadabdc575 to your computer and use it in GitHub Desktop.
Java Variables Types
class MyClass{
private Integer instanceVariable; // Instance variable
private static Integer classVariable = 5; // Class variable
public void myMethod(){
String localVariable // Local variable
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment