App Logo

No.1 PSC Learning App

1M+ Downloads
Which access specifier is used for constructors in C++?

Aprivate

Bpublic

Cprotected

Dall the above

Answer:

B. public

Read Explanation:

  • The public keyword is used to create public members (data and functions).
  • The public members are accessible from any part of the program.

Related Questions:

In C++, variables that hold memory addresses are called :
Which of the following is used to Manage DataBase?
ഹൈ ലെവൽ ലാംഗ്വേജിൽ നിന്ന് മെഷീൻ ലെവൽ ലാംഗ്വേജിലേക്ക് വിവർത്തനം ചെയ്യുന്നു.
With the help of assembler the source programme converts into :
..... is the process of carrying out commands .