Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is the root interface of Collection hierarchy in Java?

Pragya Keshap answered on February 4, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers


What is the root interface of Collection hierarchy in Java?

0

The root interface of Collection hierarchy in Java is Collection

interface.

But the Collection interface extends Iterable interface. Due to this

some people consider Iterable interface as the root interface.

Iterable interface is present in java.lang package but Collection

interface is present in java.util package. Oracle Java API docs

mention that Collection interface is a member of the Java

Collections framework.

Whereas, Iterable interface is not stated as a part of Java

Collections framework in Java docs.

Due to this Collection interface is the root of Collections

Framework

https://www.digitalocean.com/community/tutorials/collections-in-java-tutorial

Popularity 3/10 Helpfulness 1/10 Language java
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Feb 04 2023
Pragya Keshap
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.