|
Question |
Rating |
View Answer |
|
what is the operator overloading in c++ |
|
View Answer |
|
Say we have a class overridden in three steps, from class A to B to C. If I do like this:
B* b = new C; delete b;
Will this free the memory allocated by "new C"? |
|
View Answer |
|
Can a method be overloaded based on different return type but same argument type ? |
|
View Answer |
|
How many ways can an argument be passed to a subroutine? |
|
View Answer |
|
What is difference between overloading and overriding? |
|
View Answer |
|
What is the difference between shadow and override? |
|
View Answer |
|
What methods can be overridden in Java? |
|
View Answer |
|
In C++, what is the difference between method overloading and method overriding? |
|
View Answer |
|
You’re given a simple code for the class Bank Customer. Write the following functions: * Copy constructor * = operator overload * == operator overload * + operator overload (customers’ balances should be added up, as an example of joint account between husband and wife)
|
|
View Answer |
|
What is the difference between "overloading" and "overriding"?
|
|
View Answer |
|
What is the need /use of function overloading
|
|
View Answer |
|
What is operator overloading?what r the advantages of operator overloading?
|
|
View Answer |
|
Can destructor be private?
|
|
View Answer |
|
Can main() be overridden?
|
|
View Answer |
|
What is function overriding?
|
|
View Answer |
|
What is the difference between an interface and abstract class? |
|
View Answer |
|
What is function overloading and operator overloading? |
|
View Answer |
|
What is virtual constructors/destructors? |
|
View Answer |