Home

Which of the following are good reasons to use an object oriented language?

A. You can define your data types

B. Program statements are simpler than in procedural languages.

C. An OO program can be taught to correct its own errors.

D. It's easier to conceptualize an OO program.

You can do it
  1. :: is known as
  2. A pure virtual function is a virtual function that has
  3. Pick out the most appropriate statement
  4. Class is similar to a variable.
  5. In C++, the stream base class is
  6. In C++, an identifier must be initialized using constant expression.
  7. Protected data members can be accessed
  8. new operator is used
  9. A copy constructor is used to copy an object member wise to another object of the same class.
  10. The new operator always returns a void pointer.
  11. One of the major disadvantage with late binding is
  12. By using protected, one can create class members that are private to their class but
  13. Private members of a structure can be accessed directly from the outside of the structure.
  14. A destructor can have arguments like constructor.
  15. Sharing of common information are achieved by the concept of
  16. In a class, only the member function can access data, which is not accessible to outside. This feature…
  17. The exception is processed using
  18. A function that is called automatically when an object is destroyed is known as
  19. A base class is inherited by
  20. We cannot have the address of a constructor.
  21. _______ argument(s) are passed in case of unary overloaded operators.
  22. Private data members can be accessed
  23. Element double Array[7] is which element of the array?
  24. The scope resolution operator is -
  25. In C++, identifiers have to be declared at the beginning of the blocks.
  26. It is possible to allow non member function access to private members of a class by declaring it as
  27. this' is an implicit pointer.
  28. When a language has the capacity to produce new data type, it is said to be
  29. cc ___________ option is used only to create object file
  30. Class members are _______________ by default