How to print nodes of a Binary tree?
Answer / nirmala nambikai mary
In java by using non recursive sub routine we can print
nodes of a binarytree using queue
| Is This Answer Correct ? | 4 Yes | 1 No |
Can java hashmap have duplicate keys?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
Explain illegalmonitorstateexception and when it will be thrown?
Does a class inherit the constructors of its superclass in java programming?
explain the classification of exception and hoew to handle the exceptions
What is __ init __ functions?
For class CFoo { }; what default methods will the compiler generate for you>?
How would you use Bubble Sort to sort the number of elements?
What does sizeof return?
What is an 8 bit word?
What are desktop procedures?
finalize() method?