Answer Posted / neeti
the set inteface does'nt allow duplicate
elements.therefore,the add() method return false if an
attempt is made to add duplicate elements to a set.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
List some java keywords sun like c, c + + keywords?
What’s the difference between unit, integration and functional testing?
What is meant by bytecode?
What are the two types of java?
What is jrmp?
Write a method to check if input string is palindrome?
Does java arraylist maintain insertion order?
Is it necessary for the port addresses to be unique? Explain with reason.
What type of variable is gender?
What is the protected method modifier?
I want to persist data of objects for later use. What is the best approach to do so?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What is function and its uses?
Explain runtime exceptions?