Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22384

how to access object of one class in another class

Newsgroups comp.lang.java.programmer
Date 2013-02-20 00:04 -0800
Message-ID <13ede5d6-5aa5-41b6-834e-330e5ae94000@googlegroups.com> (permalink)
Subject how to access object of one class in another class
From xodepp shrestha <xodepp@gmail.com>

Show all headers | View raw


i am having problem in JDBC.there are two different class within same package name.one class is dbconnect and another is login. I need to call the dbconnect class within login class and i need to call the connection object from the dbconnect class in the login class.
Please help me 

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

how to access object of one class in another class xodepp shrestha <xodepp@gmail.com> - 2013-02-20 00:04 -0800
  Re: how to access object of one class in another class Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-20 05:27 -0400
    Re: how to access object of one class in another class Gene Wirchenko <genew@telus.net> - 2013-02-21 09:45 -0800
  Re: how to access object of one class in another class Lew <lewbloch@gmail.com> - 2013-02-20 08:09 -0800

csiph-web