Answer Posted / rabih
two functions with same but different signature
example let take function name test return int and take a
parameter of type int (int test(int x))
let take same function of name test with different
signature void test(int x) or int test(bool n) or
int test(int x,string y)
all these functions can written in same class without any
error this means same function name(test)
different signature is deffernet return type or different
paraemeter type
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is the difference between procedural programming and oops?
What is object in oops?
What is byval and byref? What are differences between them?
What is the point of polymorphism?
What is polymorphism in oops with example?
which feature are not hold visual basic of oop?
What is abstraction in oops?
What is abstraction with example?
Can a destructor be called directly?
#include
Why is polymorphism important in oop?
Can static class have constructor?
What is inheritance write a program to show use of inheritance?
What are the advantages of polymorphism?