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

Different types of modifiers?

8 Answers   RoboCom,


what is abstract method with example?

6 Answers   Infosys, Virtusa,


What is the purpose of using bufferedinputstream and bufferedoutputstream classes?

0 Answers  


What is the difference between static binding and dynamic binding?

0 Answers  


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

0 Answers   Infosys, TCS,






What does 3 dots mean in java?

0 Answers  


What do you mean by Remote procedure call?

2 Answers  


What is the program development process?

0 Answers  


How is a structure different from array ?

0 Answers   Amdocs,


When we can access the static data member without creating the object what is the need of the object in java.

5 Answers   Airhub, ssinformatics,


class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....

4 Answers   Quinnox,


Can we access instance variables within static methods ?

0 Answers  


Categories