logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Does not overriding hashcode() method has any performance implication ?


  • Correct Answer
  • A poor Hashcode() function will result in frequent collision in HashMap which eventually increase time for adding an object into Hash Map 

  • Tags: Analyst, IT Trainer

    Technology problems


    Search Results


    • 1. What is an error-first callback ?
    • Discuss
    • 2. I don't want my class to be inherited by any other class. What should i do?
    • Discuss
    • 3. main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }

    • Options
    • A. 1
    • B. 2
    • C. 3
    • D. 4
    • Discuss
    • 4. The keyword which indicates that a method can be accessed by only one thread at a time is

    • Options
    • A. Strictfp
    • B. Synchronized
    • C. New
    • D. None
    • Discuss
    • 5. What are the advantages of LINQ ?
    • Discuss
    • 6. Which of the following is not a keyword?

    • Options
    • A. assert
    • B. pass
    • C. eval
    • D. nonlocal
    • Discuss
    • 7. Which of the following statements about inheritance is false?

    • Options
    • A. Inheritance allows you to minimize the amount of duplicate code in an application by sharing common code among several subclasses.
    • B. A subclass inherits all the members (fields, methods, and nested classes) from its superclass.
    • C. Through inheritance, a parent class is a more specialized form of the child class.
    • D. Inheritance allows you to reuse the fields and methods of the super class without having to write them yourself.
    • Discuss
    • 8. What is latest iOS version?
    • Discuss
    • 9. What are the features is IOS 6?
    • Discuss
    • 10. Does iOS support multitasking?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment