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 |
How many bits is a char?
Is arraylist ordered in java?
How do you replace all in word?
How are this() and super() used with constructors in java programming?
What is anagram number?
What is connection class in java?
What is files manifesting?
Hi Friends, I am new to java. Can u explain about thread concept.How i know one thread is locked, and how can i force or acquire another thread for lock . Finally how to know thread is released from lock. Explain types of lock(like method level and block level) in thread.
What is ph and buffers?
What is fail fast in java?
Is hashset sorted in java?
How does static modifier work?