cpp-programming-oops-concepts Related Question Answers

26. Which of the following concepts is used to implement late binding?





27. Which of the following factors supports the statement that reusability is a desirable feature of a language?





28. Which of the following ways are legal to access a class data member using this pointer?




29. Which of the following is a mechanism of static polymorphism?





30. Which of the following is correct about the statements given below? All operators can be overloaded in C++. We can change the basic meaning of an operator in C++.





31. What happens if the base and derived class contains definition of a function with same prototype?





32. Which of the following are available only in the class hierarchy chain?





33. Which of the following is not a type of inheritance?





34. Which of the following operators cannot be overloaded?





35. In which of the following a virtual call is resolved at the time of compilation?





36. Which of the following statements regarding inline functions is correct?





37. Which one of the following is the correct way to declare a pure virtual function?





38. Which of the following header file includes definition of cin and cout?





39. Which of the following keyword is used to overload an operator?





40. What will happen if a class is not having any name?





41. Which inheritance type is used in the class given below? class A : public X, public Y {}





42. Which one of the following is correct about the statements given below? All function calls are resolved at compile-time in Procedure Oriented Programming. All function calls are resolved at compile-time in OOPS.





43. Which of the following is an invalid visibility label while inheriting a class?





44. Which one of the following options is correct?





45. Which of the following statements is correct in C++?





46. Which of the following is used to make an abstract class?





47. Which of the following access specifier is used as a default in a class definition?





48. What is correct about the static data member of a class?





49. Which of the following provides a reuse mechanism?





50. Which of the following type of class allows only one object of it to be created?





Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution