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

How do you invoke a method?

0 Answers  


How java is similar to c?

0 Answers  


what is difference between colection and collections?

25 Answers   Amdocs, IBM, Infosys, Ipog Software, Polaris, Tech Mahindra,


What is meant by singleton class?

0 Answers  


Why Wait and notify are kept in Object class although they are used only with Thread Class

2 Answers   Global Logic, Saksoft,


how an we achive multiple inhetitance in java using interface..??

2 Answers  


Java support call by reference (pass by reference) ?

1 Answers   HCL,


What are the advantages of exception handling in java?

0 Answers  


What is the difference between the program and the process?

1 Answers  


how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?

1 Answers   Satyam,


What is string intern in java?

0 Answers  


Can you override static methods?

0 Answers  


Categories