I have a class A in constructor of class A i have instantiated Connection class as below..
public class A()
Connection con = DriverManager.getConnection(url, "Fernanda", "J8");
and i have another package BB and class B is defined in it,i imported package AA into package B and i want use Connection object which i have created in Class A constructor.
Can anybody tell me how to use that connection object in class B
thanks in advance.
[ January 10, 2008: Message edited by: chandraiah chintakayalu ]