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

What is the impact of declaring a method as final?

0 Answers  


What is a method declaration?

0 Answers  


Is 64bit faster than 32 bit?

0 Answers  


Explain java coding standards for methods?

0 Answers  


Explain the importance of finalize() method.

0 Answers  


Explain about GridBag Layout?

1 Answers  


Is array passed by reference in java?

0 Answers  


What is the difference between throw and throws keywords?

0 Answers  


List any five features of java?

0 Answers  


What is the difference between multitasking and multithreading in Java

0 Answers   Sans Pareil IT Services,


Explain what pure virtual function is?

0 Answers   Aricent,


What happens when a class is made static like if a field or member is made static it becomes class variable and is shared by all the object of the class?

1 Answers  


Categories