Help coderanch get a
new server
by contributing to the fundraiser

ashwini allamsetti

Greenhorn
+ Follow
since Oct 26, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ashwini allamsetti

Thanks Ankit, that helps..!!
hi,
Its simple basically..
check the syntax out : Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
is not it?
So over there forName() is a static method available in the class called Class and the String argument shows the path where the drivers are available..
and the answer for your question is here..
since forName() is a static method otherwise a class method..what all we don't need is to create an object...object creation essentially requires heap area to be allocated and this case object creation is meaningless for a static method.

Comments for my answer are most welcome..
can anyone teme how much the scjp1.5 and scjp1.6 voucher costs in hyderabad, india..
there have been rumours as such different institutes offering different voucher costs...n is the voucher valid for one year.....
somebody help me in this matter.....!!