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 a short in java?

0 Answers  


Can you pass by reference in java?

0 Answers  


What is java and why do we need it? Explain

0 Answers  


What are the advantages of user defined functions?

0 Answers  


Is Java Class Threadsafe ????? How to make Java class Thread safe??

2 Answers   Cognizant,


There can be a abstract class without abstract methods, but what is the need to declare a class abstract if it doesn't contain abstract methods?

5 Answers   HCL,


Which is faster call by value or call by reference?

0 Answers  


What are the different access modifiers available in java?

0 Answers  


What are static methods?

0 Answers  


what is meant by abstract class?

0 Answers   Aspire,


How can we make string upper case or lower case?

0 Answers  


How is a variable stored in memory?

0 Answers  


Categories