Q:
The default argument get bound during declaration ________________
belongs to collection: OBJECT ORIENTED PROGRAMMING - OVERLOADING MCQ
OBJECT ORIENTED PROGRAMMING - OVERLOADING MCQ
- What are default arguments?
- Which is correct condition for the default arguments?
- If a member function have to be made both zero argument and parameterized constructor, which among the following can be the best option?
- Which among the following function can be called without arguments?
- If a function have all the default arguments but still some values are passed to the function then ______________
- What function will be called with the independent syntax “test(5,6,7);”?
- Which among the following is wrong call to the function void test(int x, int y=0, int z=0)?
- Default arguments are _________________________
- Which among the following is false for default arguments?
- The non-template functions can be added with default arguments to already declared functions ____________________
- The using declaration __________
- The names given to the default arguments are only looked up and ________________. And are bound during declaration
- The default argument get bound during declaration ________________
- The virtual function overrides ____________
- Which among the following is true for constructors overloading?
- If a constructors should be capable of creating objects without argument and with arguments, which is a good alternative for this purpose?
- The Constructors with all the default arguments are similar as default constructors. State true or false
- Which among the following is true?
- Which among the following can be used in place of default constructor?
- Can a class have more than one function with all the default arguments?
- Which is the correct syntax for using default arguments with the constructor?
- How many parameters must be passed if only the following prototype is given to a constructor?
- If the constructors are overloaded by using the default arguments, which problem may arise?
- Which among the following is true ?
- Which constructor among the following will be called if a call is made like className(5,’a’);?
- Which constructor definition will produce a compile time error?
- If there is a constructor with all the default arguments and arguments are not passed then _________________
- Which is the correct statement for default constructors?
- Which is a good alternative instead of having one zero argument constructor and one single argument constructor with default argument?
- What is upcasting?
- Which among the following is true for upcasting in inheritance?
- Which among the following is safe?
- Which among the following is best situation to use upcasting?
- Which property is shown most when upcasting is used?
- Upcasting and downcasting objects is same as casting primitive types
- Which casting among the following is allowed for the code given below?
- If multiple inheritance is implemented, which upcasting will be correct?
- If class C inherits class B and class B inherits class A ________________
- Upcasting is _____________________ without an explicit type cast
- Which concept is needed because of implicit type casting use?
- When are the pointer types known for upcasting the objects?
- When are the object type known for upcasting the objects?
- If two classes are defined “Parent” and “Child” then which is the correct type upcast syntax in C++?
- What is downcasting?
- Which among the following is a mandatory condition for downcasting?
- Downcasting is _______________________
- Downcasting ____________________
- What should be used for safe downcast?
- What does dynamic_cast return after successful type casting?
- If dynamic_cast fails, which value is returned?
- Which is the proper syntax of dynamic_cast?
- Which is the exception handler for the exceptions of downcasting?
- How to prevent the ClassCastExceptions?
- Java supports direct downcasting
- Which way the downcasting is possible with respect to inheritance?
- What happens when downcasting is done but not explicitly defined in syntax?
- When is downcating used?
- Why is downcasting possible in any language?
- How many types of member functions are possible in general?
(d).But are executed during function call
need an explanation for this answer? contact us directly to get an explanation for this answer