Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Class.forName() -- doubt  RSS feed

 
newgen pras
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ..

If we want to establish a jdbc connection ... at first we will load the driver for the corresponding database like
..My doubt
is why can't we import the corresponding driver class directly using import keyword..
I mean to ask is there any other thing particular there in using Class.forName() function ..
Thanks in advance ..

Regards
Prasanna
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question is bein asked about once every two dsays at the moment

One answer is here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!