How do you add an element to a hashset in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

I want to persist data of objects for later use. What’s the best approach to do so?

0 Answers  


Can you change array size in java?

0 Answers  


How the metacharacters are different from the ordinary characters?

0 Answers  


What is thread pool? How can we create thread pool in java?

0 Answers  


What is difference between static and final?

0 Answers  


What do you mean by stream pipelining in java 8?

0 Answers  


Can java list contain duplicates?

0 Answers  


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

0 Answers   HCL,


What are thread local variables?

0 Answers  


What is System class and its purpose?

2 Answers  


How applets will communicate with each other?

1 Answers  


What is the old name of java?

0 Answers  


Categories