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 |
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
Name four container classes.
Can we overload final method in java?
What are the types of methodology?
What is the different types of functions?
Explain the use of volatile field modifier?
steps to connect with Oracle Databse using TYPE-2 Jdbc driver.
What is the arguement of main method?
what is the reason behind non static method cannot be referenced from a static Context?
Which collection is ordered in java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
List types of storage classes in java?