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 class variable java?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
Can you extend main method in java?
What does mean in regex?
What are static initalizers in java ?
What is singletonlist in java?
In what circumstances, compiler will supply a default constructor for a class?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
waht You know about thread programming?
Where import statement is used in a java program?
What is a null class?
How to change the priority of thread or how to set priority of thread?