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 Posted / guest
ur public abstract class qpr implements xyz not abc
becoz abc is method
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which collection is sorted in java?
please send me hr interview questions in it industry
What is meant by memory leak?
Explain the difference between an object-oriented programming language and object-based programming language?
What is computer compiler?
What is method in java with example?
What are the two types of java programming?
how to create constants in java?
What is the use of callablestatement?
Explain a few methods of overloading best practices in java?
Explain about static imports in java?
Explain about varargs in java?
Why declare Main() method as a static in java ?
Are generics important java?
What is a java applet? What is an interface?