Is this Polymorphism ?<br /> <br /> Map<String, List<String>> inventoryManagerCountMap = new HashMap<String, ArrayList<String>>();
Javasearch.buggybread.com
Share

Search Interview Questions


 3235 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. Is this Polymorphism ?

Map<String, List<String>> inventoryManagerCountMap = new HashMap<String, ArrayList<String>>();
Core Java
Admin
info@buggybread.com
Ans. No. This will result in compilation error as Polymorphism cannot be performed on Object types.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   polymorphism  object oriented programming (oops)  oops concepts


Related Questions

  What are the difference between composition and inheritance in Java?
  What is the difference between Encapsulation and Abstraction?
  What are points to consider in terms of access modifier when we are overriding any method?
 What is Polymorphism in Java ?
  Why every object constructor automatically call super() in Object before its own constructors?
 Can you give a real world example of Encapsulation and Abstraction ?
  Difference between Composition and Inheritance ?
  How compiler handles the exceptions in overriding ?
  Which of the following is tightly bound ? Inheritance or Composition ?
  What are the features of encapsulation ?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this