Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AddressofObject{
- AddressofObject(){
- System.out.println(this);
- }
- public static void main(String args[]){
- AddressofObject obj = new AddressofObject();
- AddressofObject obj1 = new AddressofObject();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment