my destructor not working
in the name of god
hi to all
i place a simple code in destructor of class:
protected void finalize () throws IOException {
System.out.println("finalize******");
}
but it not working, i place another function but there are not working too
please help me
i need run specific function at the end of running of main() function
tanks a lot
how can i run a specific function at the end of main
how can i run a specific function at the end of main without calling that specific function in main body