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 yup
  1. Constructor returns void type value.
  2. Operator overloading is
  3. A destructor can have arguments like constructor.
  4. cc ___________ option is used only to create object file
  5. The new operator always returns a void pointer.
  6. A member function can always access the data
  7. A direct access file is:
  8. In C++, an identifier must be initialized using constant expression.
  9. Organizing data with methods that operate on the data and creating a new data type is called encapsulation.
  10. The members of a class by default are private.
  11. The declaration int **var1; shows that
  12. Class members are _______________ by default
  13. When one object initializes another object the following function is invoked
  14. In a class, only the member function can access data, which is not accessible to outside. This feature…
  15. In C++, the exception handler is invoked with a-
  16. Private members of a structure can be accessed directly from the outside of the structure.
  17. The && and || operators
  18. A pure virtual function is a virtual function that has
  19. In C++, the stream base class is
  20. Which of the following can legitimately be passed to a function?
  21. When you overload an arithmetic assignment operator, the result
  22. The signature of a function is
  23. The getch() library function
  24. The binding that binds a function call at run time is called
  25. :: is known as
  26. In a for loop with a multi-statement loop body, semicolons should appear following
  27. Overloaded functions
  28. Pick out the most appropriate statement
  29. A variable defined within a block is visible
  30. Private data members can be accessed