Pregunta de entrevista de Abhishek Industries

Question 1 Q: Explain the difference between fail-fast and fail-safe iterators in Java. Answer (optional): I explained that fail-fast throws ConcurrentModificationException when the structure is modified while iterating (like ArrayList), whereas fail-safe works on a copy and avoids exceptions (like CopyOnWriteArrayList). Question 2 Q: Can you explain normalization in databases? Answer (optional): I described 1NF, 2NF, and 3NF with simple examples, explaining how normalization reduces redundancy and improves data integrity. Question 3 Q: Write a program to find the most repeated word in a string. Answer (optional): I explained the logic using HashMap in Java and wrote a code snippet to count frequency and return the word with the maximum count.