Are floats faster than doubles?
No Answer is Posted For this Question
Be the First to Post Answer
Is stringwriter thread safe?
What is keyword auto for?
Name few java util classes introduced with java 8 ?
Can sleep() method causes another thread to sleep?
Does variable declaration allocate memory?
What is instance means in java?
Can private class be inherited in java?
What’s meant by anonymous class?
how to create daemon thread in java?
What is an object in java?
Explain the features of java?
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?