Why hashcode is used in java?
No Answer is Posted For this Question
Be the First to Post Answer
What are the important methods of java exception class?
Explain about map interface in java?
Do you know thread pools?
how to make a un-checked exception as a checked exception one.
using equals method overriding which objects are compared?i.e same class objects or other class objects?Explain me.
What is the purpose of final keyword and when to use it?
Difference between interface and abstract class with ex.
4 Answers Cognizant, Tech Mahindra,
what is custom tags with example?
what is polymorhism what is inheritance? what is Abstract n Interface? what if two interfaces have same method and a concrete class is implementing both the interfaces. Will there be a compilation error? What are mutable and immutable classes? How can u make a class mutable? when will u use dem ...explain with example? what is overriding and overloading? what is garbage collection? what is Thread? how do dey communicate? what are the different ways of implementing ? have u used any messaging technologies? what is synchronization? what are some additions in java 1.5? what are generics? whst is advanced for loop? what is finally block? can u have a try in finally? yes!! can u have a finally in finally? how do you write junits? when is a object eligible for garbage collection?explain? a = null and b has ref to a will b be eligible to be garbage collected? sql questions like diff joins? how do dey work? exception handling? what is marker interface? what is the need??
What are kinds of processors?
Can a class have 2 constructors?
public class Base { public void myMethod(int a,intb) {} } // Uses myMethod and then hides it. public class DerivedOne extends Base { private void myMethod(int a,int b); } will this compile or not .yes or no. why