Explain an algorithm to find depth of a binary tree.
No Answer is Posted For this Question
Be the First to Post Answer
Why java uses the concept of the string literal?
Does java support multiple inheritances?
Why is method overloading not possible by changing the return type in java?
Explain the concept of polymorphism with examples?
What is the properties class?
What is method Overloading in the perspective of OOPS?
How does system arraycopy work in java?
If two threads call a static method at the same point of time, what will happen?
In the below Java Program, how many objects are eligible for garbage collection?
What is the Dictionary class?
Which One is optimal to choose ? Syncronized hash map or Hash table with single thread model? How can a hash map syncronized with out using syncrozed blocks in programm?
we know that every java prog must follows OOPS Principles. Anybody can answer, HOW THE FOLLOWING PROGRAM FOLLOWS OOPS CONCEPTS i.e, Inheritance,Polymarphism,Encapsulation? class a{ public static void main(String args[]){ System.out.println("Hello World"); } }