Which class has no duplicate elements?

Answer Posted / venkatesh

Which one will not allow duplicates, is it HashMap or
HashTable? Please explain the corect answer with an
example. Thanks in advance

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you tell me range of byte?

745


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1874


What is the difference between call by reference and call by pointer?

716


What is the difference between delete and delete[]

905


What is the java reflection api? Why it’s so important to have?

751


What is the use of string and stringbuffer?

753


How do you convert string to int in java?

750


What are the benefits of operations?

698


Explain notifyall() method of object class ?

859


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1779


What is the use of 'super' keyword inside a constructor?

735


What is the difference between method overriding and overloading?

805


What are some characteristics of interference class?

751


How do you sort a string in alphabetical order in java?

734


Why do we need data structure in java?

805