Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

preparedstatement p= new preparedstatement
is it possible ?

Answer Posted / t.l.n.prasad

no becoz PraparedStatement is an interface we can't
instantiate direcly but we can instantiate like this

PreparedStatement ps=con.PreparedStatement("Query");

where "con" is an Object of Connection interface
ie
Connection con=DriverManager.getConnection();

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Result set’s index starts with 0 or 1?

1108


What is db client?

1019


Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?

1060


What is jdbc and jpa?

1066


What is an encrypted internet connection?

982


please tell me the name and url path for type-4 driver ?

3240


What do you mean by metadata and why we are using it?

1080


How we store procedure in oralce for callable statements in jdbc

2385


How do I check in my code whether a maximum limit of database connections have been reached?

1029


Is uri the same as url?

937


Explain about column name and getter method?

1131


Which is best database for java?

1037


Describe the steps needed to execute a sql query using jdbc.

1032


How do I insert an image file (or other raw data) into a database?

1013


Is jdbc secure?

1030