if i have same function with same number of argument but
defined in different files. Now i am adding these two files
in a third file and calling this function . which will get
called and wht decide the precedence?
Answer Posted / s.verma
The return type of the function and the type of arguments
passed to the function will determine which function will be
called.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is oops and why we use oops?
write string class as your own class in java without using any built-in function
• What are the desirable attributes for memory managment?
Why do we use oop?
What type of loop is a for loop?
What is polymorphism what is it for and how is it used?
Which language is not a true object oriented programming language?
Why is abstraction needed?
What is the fundamental idea of oop?
How do you answer polymorphism?
What is inheritance in oop?
What is encapsulation process?
What is an example of genetic polymorphism?
How is class defined?
Why is destructor used?