logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • If super class ref is pointing sub class object then by using super class ref is it possible to call sub class newly defined method?


  • Correct Answer
  • yes if the method is ovreriding method no if the method is not overriding method 


  • Technology problems


    Search Results


    • 1. What is the use of super call?
    • Discuss
    • 2. What is the difference between path and classpath?
    • Discuss
    • 3. What is JAR file? what are the main uses of JAR files?
    • Discuss
    • 4. What is unwrapping?
    • Discuss
    • 5. What is wrapping?
    • Discuss
    • 6. What is the use of overriding?
    • Discuss
    • 7. What is the use of overloading ? or why overloading?
    • Discuss
    • 8. What is final method?
    • Discuss
    • 9. What is the purpose of overriding toString() method?
    • Discuss
    • 10. why overriding finalize() method?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment