permaculture playing cards*
The moose likes JDBC and the fly likes how to use the passed  parameters, the type of the object and the Connection outside the constructor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to use the passed  parameters, the type of the object and the Connection outside the constructor" Watch "how to use the passed  parameters, the type of the object and the Connection outside the constructor" New topic
Author

how to use the passed parameters, the type of the object and the Connection outside the constructor

Albert Robert
Greenhorn

Joined: Dec 02, 2011
Posts: 4
how to use the parameters passed to the class,
parameters of type object and the Connection

outside the constructor of the class

with the completion of the constructor are perishing,


but inside it is visible and available for functions called from the constructor
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to use the passed parameters, the type of the object and the Connection outside the constructor