Last active
September 10, 2019 11:19
-
-
Save hakaneroztekin/4e75cd61036127d7799affaadabdc575 to your computer and use it in GitHub Desktop.
Java Variables Types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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