Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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??



my method "abc" return array of interface "xyz" and "pqr" is abstrac..

Answer / 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

More Core Java Interview Questions

If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

0 Answers   CDAC,


Name four container classes.

0 Answers  


Can we overload final method in java?

0 Answers  


What are the types of methodology?

0 Answers  


What is the different types of functions?

0 Answers  


Explain the use of volatile field modifier?

0 Answers  


steps to connect with Oracle Databse using TYPE-2 Jdbc driver.

3 Answers  


What is the arguement of main method?

1 Answers  


what is the reason behind non static method cannot be referenced from a static Context?

2 Answers  


Which collection is ordered in java?

0 Answers  


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

0 Answers  


List types of storage classes in java?

0 Answers   Cyient,


Categories