Interview Questions and Answers for 'Opencrowd' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers for 'Opencrowd' - 2 question(s) found - Order By Rating

Usually asked with Questions related to Generics.
 Q1. What are Type Erasures in Java ?Core Java
Ans. Type erasure applies to the use of generics. When generics are used, they're pre compiled into compile time checks and execution-time casts.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     type erasures  generics     Asked in 2 Companies      intermediate        rare


Related Questions

  What are concepts introduced with Java 5 ?
 Is this a valid initialization ? Explain.

Collection<Collection> collection = new LinkedList<LinkedList>();
  Which of the following syntax is correct ?import static java.lang.System.*;or static import java.lang.System.*;
  Is it legal to initialize List like this ?
  Which of the following syntax are correct ?a. LinkedList<Integer> l=new LinkedList<int>();b. List<Integer> l=new LinkedList<int>();c. LinkedList<Integer> l=new LinkedList<Integer>();d. List<Integer> l = new LinkedList<Integer>();
  Which of the following was not introduced with Java 5 ?
 Explain Generics in Java ?
 In case of generic class declared like following , What can T hold

class MyClass<T>{
T element;
}
 Can we use generics with arrays in Java ?


Very Frequently asked. Favorite question in walkins and telephonic interviews. Usually among first few questions. Asked in different variants. Must know for intermediate and expert professionals.Among Top 10 frequently asked questions.
  Q2. What is rule regarding overriding equals and hashCode method ?Core Java
Ans. A Class must override the hashCode method if its overriding the equals method.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   collections   hashcode  hash code   equals   collections     Asked in 44 Companies      intermediate        frequent

Try 1 Question(s) Test


Related Questions

  Which String class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
 Write a class and override the equals and hashcode method ?
 How many threads can access a concurrent hashmap when the hashcode is overridden and always returns a zero.



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: