my method "abc" return array of interface "xyz"
and "pqr" is abstract class implements abc
and class "jkl" extends pqr
My problem
1) when i call abc it retrun array xyz how can i do this
hint
xyz refer_xyz = new jkl();
but i can't create array.
2)I want to access method of jkl using reference of xyz??
Answer / guest
ur public abstract class qpr implements xyz not abc
becoz abc is method
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the impact of declaring a method as final?
What is a method declaration?
Is 64bit faster than 32 bit?
Explain java coding standards for methods?
Explain the importance of finalize() method.
Explain about GridBag Layout?
Is array passed by reference in java?
What is the difference between throw and throws keywords?
List any five features of java?
What is the difference between multitasking and multithreading in Java
0 Answers Sans Pareil IT Services,
Explain what pure virtual function is?
What happens when a class is made static like if a field or member is made static it becomes class variable and is shared by all the object of the class?