posted 24 years ago
Hi All,
I have tried to answer the following Q's... please correct me if I am wrong.
1. Which of the following is true.
a. An interface can contain a top level nested inner class.
b. An interface can contain a member inner class. - T
c. A member inner class can implement an interface. - T
d. A static method can contain a local class.
e. A static method can contain a nested top level local class.
2. FilterInputStream chaining is defined as -
a. Ability to sequentially open a collection of streams.
b. Ability to redirect the output of one stream to the input of another - T
c. Ability to open a high level inputstream on a lower level input stream.
d. Ability to the constructor of one stream to call that of another.
In the above Q, all the options seems right..... but I think b is only true... Kindly help.
Thx in advance.
Aruna