aspose file tools* The moose likes Beginning Java and the fly
likes what is super? Big Moose Saloon   Search | Java FAQ |
Recent Topics Register / Login JavaRanch » Java Forums » Java »
Beginning Java Reply Bookmark "what is super?" Watch "what is
super?" New topic  what is super?  scottie zman Ranch Hand
Joined: Aug 08, 2001 Posts: 40 Hi all, I'm waiting for amazon to
deliver the books... meanwhile, I have a java project to create!
Here is some code I found for a database access bean. Can
someone please explain what the super() call does and why there
is a method in the class with the same name as the class? Is
that a requirement in a bean? muchos thankyous, Scottie Zman
package sqlBeans; import java.sql.*; public class DbBean {
String dbURL; String dbDriver; private Connection dbConn;
public DbBean(){  public boolean connect() throws
ClassNotFoundException,SQLException { dbConn =
DriverManager.getConnection(dbURL); return true;  public void
close() throws SQLException{  public ResultSet execSQL(String
str