Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know.  | 
  | 
|||
| 
       | ||||
| Interview Questions and Answers for 'Centurylink' - 6 question(s) found - Order By Newest | ||||
  | ||||
| Ans. https://medium.com/javarevisited/internal-working-of-hashmap-in-java-97aeac3c7beb#:~:text=HashMap%20internally%20uses%20HashTable%20implementation,the%20entries%20into%20the%20map. | ||||
  | ||||
| Ans. Hashcode is used for bucketing in Hash implementations like HashMap, HashTable, HashSet etc. | ||||
  | ||||
| Ans. http://www.buggybread.com/2014/03/java-design-pattern-singleton-interview.html | ||||
  | ||||
| Ans. Shutdown hook is a thread that is invoked implicitly by JVM just before the shut down. It is used to clean up unused resources. | ||||
  | ||||
| Ans. public class Class{ public static void main(String[] args){ String str = "xyz@123.com"; if(!str.contains("@") && !str.contains(".") && (str.indexOf('.') < str.indexOf('@'))){ System.out.println("Not a Valid Email Address"); } } }  | ||||
  | ||||