logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How to call a constructor in java?


  • Correct Answer
  • Constructor chaining is the process of calling one constructor from another constructor with respect to current object Within same class: It can be done using this() keyword for constructors in same class From base class: by using super() keyword to call constructor from the base class 

  • Tags: Analyst, Database Administrator, IT Trainer

    Technology problems


    Search Results


    • 1. When finally block is executed?
    • Discuss
    • 2. Why synchronization?
    • Discuss
    • 3. How to do MultiThreading in Java?
    • Discuss
    • 4. What is MultiThreading?
    • Discuss
    • 5. What is MultiTasking?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment