logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Explain Overriding Polymorphism.?


  • Correct Answer
  • Overriding means changing behavior of methods of base class in derive class by overriding the base class methods If class A is a base class with method ?calculate? and class B inherits class A, thus derives method ?calculate? of class A The behavior of ?calculate? in class B can be changed by overriding it 


  • Technology problems


    Search Results


    • 1. When do you use :: Operator in C++?
    • Discuss
    • 2. What is polymorphism?
    • Discuss
    • 3. What is JAR file?
    • Discuss
    • 4. In RDBMS, what is the efficient data structure used in the internal storage representation?

    • Options
    • A. Stack
    • B. Queue
    • C. B+ tree structure
    • D. AVL tree Structure
    • Discuss
    • 5. What is Overloading Polymorphism?
    • Discuss
    • 6. When should I use abstract classes and when should I use interfaces?
    • Discuss
    • 7. How do you traverse through a collection using its Iterator?
    • Discuss
    • 8. How do you decide when to use ArrayList and When to use LinkedList?
    • Discuss
    • 9. What is the Set interface ?
    • Discuss
    • 10. What is the SimpleTimeZone class?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment