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 the protected method modifier?

0 Answers  


class A { public void disp(int a,int b) { System.out.println("hai"); } } class B { public void disp(int a,int b,int c) { System.out.println("hai"); } } above program is overloading or overriding?

9 Answers   Infosys, Wipro,


How to write custom exception in java?

0 Answers   Cyient,


How many bytes is a string java?

0 Answers  


Can we create more than one object singleton class?

0 Answers  






What is %02d?

0 Answers  


why HashTable not allow null key and value

2 Answers   Crimson Logic,


What is meant by packages?

4 Answers  


How big is a pointer?

0 Answers  


What is method in java ?

0 Answers  


Can we overload the constructors?

0 Answers  


Is java supports multiple inheritance? explain?

12 Answers   BUET, Inforica,


Categories