I have an application which has last statement System.out.println("Done");, it is written but after that the program is still running. How can I check why is it running?
Is it ok to use System.exit(0)?
The app is using only one (main) thread. Everything after Done is:
System.out.println("Done.");
} catch (ClassNotFoundException | SQLException e) {
e.printStackTrace();
}
}
}
Could it be database connection?