When we connect database, we first load driver with code like
.
Now forName() has a return of type Class or Object. But we dont keep that return type, we sure that it is in heap location.
Anyone can tell me about that return element(Class/Object)?
Or is there any use of that return element?
Please help me.
Code:
Class.forName(driverName);
Now forName() has a return of type Class or Object. But we dont keep that return type, we sure that it is in heap location.
Anyone can tell me about that return element(Class/Object)?
Or is there any use of that return element?
Please help me.
Comment