What is heterogeneous in java?



What is heterogeneous in java?..

Answer / Arpit

In Java, a heterogeneous collection allows for the storage of multiple data types within the same container. The ArrayList class is an example of a heterogeneous collection as it can store any type of object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is the purpose of stub and skeleton?

1 Answers  


What is string and its types?

1 Answers  


Which characters are allowed to use as the second character of an identifier, and which characters are not allowed?

2 Answers  


What type of value does sizeof return?

1 Answers  


What are the legal operands of the instanceof operator?

1 Answers  


What is collection class in java? List down its methods and interfaces.

1 Answers  


Program to print 1 1 2 1 2 3 1 2 3 4 like that

8 Answers   Huawei,


wht is customised exception?

1 Answers   Logica CMG, Novell, Prudential,


What is an escape character in java?

1 Answers  


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

1 Answers  


Can we create our own wrapper class in java?

1 Answers  


What are constants and how to create constants in java?

1 Answers  


Categories