Last active
January 26, 2021 09:37
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
public static void main() | |
{ | |
JavaClass obj = new JavaClass(); | |
System.out.println(obj.getX()); | |
obj.setX(3); | |
System.out.println(obj.getX()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment