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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about different OOPS concepts.

957


Explain differences between checked and unchecked exceptions in java?

1019


What is meant by overloading?

1007


Are global variables initialized to zero?

912


What is formatted output in java?

899


Is math an abstract class in java?

952


Why pointers are not used in java?

1053


What is keyword auto for?

1106


Name few "optional" classes introduced with java 8 ?

1069


What are the steps involved to create a bean?

1097


What is method overriding in java ?

1124


What do you mean by stack?

1091


What is the difference between yielding and sleeping in java programming?

1075


How large is a boolean?

953


How to create packages in java?

893