Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why Set interface contains unique elements, what internally
implemented for this so that it contains unique elements?

Answer Posted / jayakumar

because it implement hashcode and equals method implicitly

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of inner classes?

1005


How does map works in java?

972


What type of language is java?

981


What is wrapper class html?

916


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1238


What is an class?

1014


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.

1997


How to find the index of the largest number in an arraylist java?

1009


Does string is thread-safe in java?

1067


What is the synchronized method modifier?

1185


Can you explain the usages of class.forname()?

1053


How do you check if a string contains only numeric digits?

1107


Can I override protected method in java?

1059


What is difference between fail-fast and fail-safe?

1216


What is gc()?

1039