Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is n in java?

0 Answers  


I have one Shopping cart application, i that i have selected some items, while clicking submit button by mistake i have clicked twice or trice, that time items are selected twice or trice. Actually i want only one copy of items but its selected twice or trice. So how can we avoid this problem?

2 Answers   Honeywell,


Which java collection does not allow null?

0 Answers  


What is bool mean?

0 Answers  


Java is pass by value or pass by reference? Explain

0 Answers  






Why set is used in java?

0 Answers  


Can a Byte object be cast to a double value?

3 Answers   KO,


Can we restart a thread already started in java?

0 Answers  


What is the relationship between class and object?

0 Answers  


What are unchecked exceptions in java?

0 Answers  


String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?

6 Answers   Flextronics, Keane India Ltd,


What is an array length?

0 Answers  


Categories