Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7944375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:32:04+00:00 2026-06-04T00:32:04+00:00

I am using the Java Tree from collection but what will be the actual

  • 0

I am using the Java Tree from collection but what will be the actual use of Tree.
As in CS language, a B-tree can have a max of 2 childs , leaf , height of the tree and other.
But in java how these interpretation can be observed and what is the implementation of Tree in java.

I am talking about TreeMap and TreeSet only

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:32:05+00:00Added an answer on June 4, 2026 at 12:32 am

    If you are talking about the TreeSet and TreeMap classes, they are implementing the Set and Map interfaces respectively with an internal representation of a Tree structure. So the tree inside is not accessible to users (you cannot access the children directly)

    Note: there is no standard Tree interface in java

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My project is to implement minimum spanning tree using java. I aim to use
We need to get tree like structure from a given text document using Java.
(Using Java) I am implementing a generic class which is a B-Tree. When the
I'm looking to build a tree-like structure for my Java application. I've tried using
By using java reflection, we can easily know if an object is an array.
I tried to switch from Java 5 to Java 6 using the update-java-alternatives command
I have to consume a .NET hosted web service from a Java application. Interoperability
this is a noobie question regarding tree maps. I have read through the Java
I have a Java class: BinaryTree< t > that I am filling from a
I want to write a translator from a DSL to Java using ANTLR. So,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.