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