What is tree in java?



What is tree in java?..

Answer / Preeti Sagar

A tree in Java is a data structure that simulates a hierarchical tree structure, with a root value and subtrees of children with a parent node. In Java, trees are typically implemented using classes like the Binary Tree or AVL Tree.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is multiple inheritance? Is it supported by java?

1 Answers  


what is platform native code

2 Answers   i3 Solutions,


What is the difference between array list and vector in java?

1 Answers  


How do you identify if jvm is 32-bit or 64-bit from java program?

1 Answers  


What is a key in java?

1 Answers  


What is the difference between interface & abstract class?

1 Answers  


how can i take the inputs from users in java program?

7 Answers   Wipro,


How do you remove all elements from an arraylist in java?

1 Answers  


What is meant by method overriding?

1 Answers  


Does a class inherit the constructors of its superclass in java programming?

1 Answers  


How to connect to a remote database using Applet?

1 Answers  


1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))

1 Answers  


Categories