📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Which special method is automatically called when an

    object of a class is created, typically used for initializing the object's state?
    A Destructor Correct Answer Incorrect Answer
    B Static method Correct Answer Incorrect Answer
    C Constructor Correct Answer Incorrect Answer
    D Accessor Correct Answer Incorrect Answer
    E Mutator Correct Answer Incorrect Answer

    Solution

    Constructor

    Practice Next
    More Object Oriented Programming Questions
    ask-question