Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Object;
- public class Object {
- public void finalize(){
- }
- public static void main(String[] args) {
- new Pierwsza();
- System.gc();
- // TODO Auto-generated method stub
- }
- }
- //-------------------------------
- package Object;
- public class Pierwsza
- {
- public void finalize()
- {
- System.out.println("Finalize");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement