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

What are 3 data types?

994


how we can create packages in java?

960


What is binary search in java?

995


What ide should I use for java?

1028


What are Normalization Rules? Define Normalization?

1054


Can keyword be used as identifier?

957


Is singleton a bad practice?

1047


what is anonymous class in java?

1034


What are the different access modifiers available in java?

1044


Why stringbuilder is not thread safe in java?

1011


What is a pattern what is an anti pattern?

972


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1189


Explain methods specific to list interface?

976


What is difference between wait and notify in java?

1134


Is null == null in java?

1105