Can a vector contain heterogenous objects?

Short Answer
Views 595

Answer:

Yes a Vector can contain heterogenous objects. Because a Vector stores everything in terms of Object.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.