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 |
Why vector class is used?
Tell me the latest versions in java related areas?
What is string in java?
Is java pass by value or pass by reference?
Iterator in the HashMap is fail-safe means what?
Realized?
Is null a string?
What means public static?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What is the USE of Null interfaces ??...if thers nothing inside these interfaces how are they used and WHy are they used ???? No 1 has given a proper description yet
What is percentage in java?
In Java, what types of classes perform inheritance?