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. A function that is called automatically when an object is destroyed is known as
  2. If class A is friend of class B and if class B is friend of class C, which of the following is…
  3. Inline function specifier reduces the overheads associated with a normal function call.
  4. The value of 'this' pointer can be changed.
  5. ios containes a pointer to streambuf.
  6. Data objects can be initialized when allocating memory using 'new'.
  7. Protected data members can be accessed
  8. Class members are _______________ by default
  9. An object is an allocated space in memory.
  10. When a language has the capacity to produce new data type, it is said to be
  11. Inline functions_____________ call overload.
  12. Overloaded functions
  13. Static data member can be declared as const too.
  14. Protected members cannot be inherited.
  15. In C++, an identifier must be initialized using constant expression.
  16. In C++, the keyword auto can be used for
  17. A constructor cannot be explicitly called.
  18. When one object initializes another object the following function is invoked
  19. Objects get destroyed in the reverse order as they are created.
  20. You can read input that consists of multiple lines of text using
  21. Reference to an object behaves like a constant pointer.
  22. The ?: can be used to replace
  23. In C++, identifiers have to be declared at the beginning of the blocks.
  24. By using protected, one can create class members that are private to their class but
  25. What is the output of the following program segment - for(i = 1, j = 0; i < 10; i++) j += i; cout…
  26. Dynamic memory can be allocated by the following declaration
  27. Organizing data with methods that operate on the data and creating a new data type is called encapsulation.
  28. _______ argument(s) are passed in case of unary overloaded operators.
  29. Member function cannot be called from within a constructor.
  30. A direct access file is: