Is it compulsory for a try block to be followed by a catch block in java for exception handling?
No Answer is Posted For this Question
Be the First to Post Answer
Is 0 true or is 1 true?
What is the inheritance?
7) Suppose there is Student class like class student { int age; string name; } We want to store these objects in a HashMap. Do we need to override any methods in Student class? If any which ones and why? what if i just override equals or just hashcode? what will be the results in both the cases?
Is singleton thread safe in java?
How does the java compiler work?
How do you achieve polymorphism in java?
How many wrapper classes are there in java?
Tell me a few examples of final classes defined in Java API?
Can static methods be overridden?
What is the benefit of inner classes in java?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
Why volatile is used in java?