• Home
  • Interview Questions
  • Online Quiz Tests
  • Blog
  • Contact Us

Global Guideline - Interviewer and Interviewee Guide.

Links
  • Home
  • Interview Questions
  • Online Quiz Tests
  • Blog
  • Contact Us
  1. Interviews
  2. C++ Language
  3. C++ Constructors

C++ Constructors Question:

Can a class have virtual destructor?

A. Yes
B. No

C++ Constructors Interview Question
C++ Constructors Interview Question

Answer:

Option A
Yes


Previous QuestionNext Question
What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?

A. Compile-time error.
B. Preprocessing error.
C. Runtime error.
D. Runtime exception.
Destructor has the same name as the constructor and it is preceded by ______ .

A. !
B. ?
C. ~
D. $

Interview Categories:

    • Basic C++ Syntax
    • C++ Access Control
    • C++ COM ActiveX
    • C++ Constructors
    • C++ Containers
    • C++ Exception Handling
    • C++ Friend
    • C++ Inheritance
    • C++ Inline Function
    • C++ New And Delete
    • C++ Operator Overloading
    • C++ Pointers and Functions
    • C++ Programmer
    • C++ References
    • C++ Static Data
    • C++ Template
    • C++ Type Checking
    • C++ Virtual Functions

Most Popular Quiz Categories:

Java AWT And SwingHTMLSQLSAT (Scholastic Aptitude Test) Sentence CorrectionBiology Aptitude TestStatistics Aptitude TestOOAD (Object Oriented Analysis and Design)NetworkingChemistry Aptitude TestManagement

Most Popular Interviews

  • Business and Economy
  • Networking
  • Computer Programming
  • Operating System
  • Computer Hardware

Most Popular Quizzes

  • Information Technology
  • Networking
  • Engineering
  • Java
  • Accounting

Keep in touch with us

 

Copyright © 2007 - globalguideline.com

all rights reserved.
  • About Us
  • Contact Us
  • Blog
  • Terms of use
  • Privacy Policy