What is tree node in java?



What is tree node in java?..

Answer / Renu Kohli

"A TreeNode is an abstract class in Java used to represent a node in a tree data structure. It does not provide any concrete implementation but provides common methods such as getParent(), getChild() and isLeaf()."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the four corner stones of oop?

1 Answers  


what are the rules to use try catch finally?

1 Answers   Satyam, UJ,


Name the method of a Container that can be used to cause a container to be laid out and redisplayed?

1 Answers  


what is business delegate?

2 Answers   TCS,


How GUI component handle its own events?

1 Answers  


What is method with example?

1 Answers  


What class allows you to read objects directly from a stream?

1 Answers  


What are the 8 data types in java?

1 Answers  


Explain about strings in java?

1 Answers  


what is bmg file and how to create that files?what will it contailn?

1 Answers   HCL, Probe Services,


What are the basics of core java?

1 Answers  


What are the differences between c++ and java?

1 Answers  


Categories