Hello People
Please suggest me the use of passing class reference in a method
Here is the sample code from class A
public Integer[] getReport(Class classname, String sql) {
And, then when it is called inside class C, it is referred to as ,
new A().getReport(B.class, "select * from Table A")
where B is another class
Please give your suggestions on this
Thanks
Nek