(A) Overloading is a dynamic or
runtime binding and overridden is a static or compile time binding.
(B) Overloading is a static or
compile time binding and overriding is dynamic or runtime binding.
(C) Redefining a function in a
friend class is called overloading , while redefining a function in a derived
class is called as overridden function.
(D) Redefining a function in a
derived class is called function overloading, while redefining a function in a friend
class is called function overriding.
Answer B.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.