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
What is polymorphism oop?
is there any choice in opting subjects like 4 out of 7
What is abstract class in oops?
What is difference between pop and oop?
Why is polymorphism important in oop?
What are classes oop?
What is coupling in oop?
how to get the oracle certification? send me the answer
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is encapsulation example?
Why do we use inheritance?
Why is abstraction needed?
What are the benefits of oop?
What is abstraction oop?
What exactly is polymorphism?