I have 3 classes A,B,C in which B and C are abstract classes and i have 2 interfaces IBiz ,IBizLayout . Which of the following class instantiations will throw an system exception. A. IBizlayout iBizLayout = new IBiz(); B. IBiz iBiz = new A(); C. IBizlayout iBizLayout = new B(); D. C oC = new A();
Select Answer:
A,B,C
D
None of them will throw an system exception.
All of them will throw an system exception.
|