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 |
Is assembly language a low level language?
What is the purpose of the file class in java programming?
What modifiers are used with an inner class which is a member of an outerclass?
How many times finalize method will be invoked? Who invokes finalize() method in java?
How do you use equal in java?
Is multiple inheritance allowed in Java? Why ?
How do you calculate square roots?
Is char * a string?
What is the immediate parent class of the Applet class?
Which is better 64 bit or 32 bit?
What is parsing a sentence?
When do you create an index?