Alternative way is by creating Driver object
Driver d=new foo.bar.MyDriver();
//here "foo.bar" is an third party that may be mysql or orcale.
Connection con=d.Connect();
The best way is...
Type: Posts; User: anveth; Keyword(s):
Alternative way is by creating Driver object
Driver d=new foo.bar.MyDriver();
//here "foo.bar" is an third party that may be mysql or orcale.
Connection con=d.Connect();
The best way is...
str.intern() is used to convert normal string class to canonical class
String s=new String("string");
String s1=s.intern();
interfaces are good to use because we can use multiple inhertiance in it.
we cannot instantiate Abstract classes until all the methods are implemented.
since strings are immutable and due to its cannonical representation ,we use strings
any where in java.while coming to stringbuffer we have to instantiate for every time we are using.
for ex,...