Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class C{
- int x;
- void noChange(){ }
- void change(){ x = 0; }
- }
- public class Test{
- public static void main(String args[]){
- C obj = null;
- obj.noChange();
- obj.change();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement