object oriented programming is much more safer concept ,it comes with JDBC .its makes much more secure websites.